Package org.eolang.jeo.representation
Class XmirRepresentation
java.lang.Object
org.eolang.jeo.representation.XmirRepresentation
Intermediate representation of a class files from XMIR.
- Since:
- 0.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionXmirRepresentation
(com.jcabi.xml.XML xml) Constructor.XmirRepresentation
(Path path) Constructor. -
Method Summary
-
Constructor Details
-
XmirRepresentation
Constructor.- Parameters:
path
- Path to XML file.
-
XmirRepresentation
public XmirRepresentation(com.jcabi.xml.XML xml) Constructor.- Parameters:
xml
- XML.
-
-
Method Details
-
name
Retrieves class name from XMIR. This method intentionally uses classes from `org.w3c.dom` instead of `com.jcabi.xml` by performance reasons.- Returns:
- Class name.
-
toBytecode
Convert to bytecode.- Returns:
- Array of bytes.
-