Class XmirRepresentation


  • public final class XmirRepresentation
    extends Object
    Intermediate representation of a class files from XMIR.
    Since:
    0.1.0
    • Constructor Detail

      • XmirRepresentation

        public XmirRepresentation​(Path path)
        Constructor.
        Parameters:
        path - Path to XML file.
      • XmirRepresentation

        public XmirRepresentation​(com.jcabi.xml.XML xml)
        Constructor.
        Parameters:
        xml - XML.
    • Method Detail

      • name

        public String name()
        Retrieves class name from XMIR.
        Returns:
        Class name.
      • toBytecode

        public Bytecode toBytecode()
        Convert to bytecode.
        Returns:
        Array of bytes.