Class XmlMethod
- java.lang.Object
-
- org.eolang.jeo.representation.xmir.XmlMethod
-
public final class XmlMethod extends Object
XML method.- Since:
- 0.1
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
access()
Method access modifiers.String
descriptor()
Method descriptor.List<XmlInstruction>
instructions()
Method instructions.boolean
isConstructor()
Checks if method is a constructor.String
name()
Method name.Node
node()
XML node.
-
-
-
Constructor Detail
-
XmlMethod
public XmlMethod(Node node)
Constructor.- Parameters:
node
- Method node.
-
-
Method Detail
-
name
public String name()
Method name.- Returns:
- Name.
-
access
public int access()
Method access modifiers.- Returns:
- Access modifiers.
-
descriptor
public String descriptor()
Method descriptor.- Returns:
- Descriptor.
-
node
public Node node()
XML node.- Returns:
- XML node.
-
isConstructor
public boolean isConstructor()
Checks if method is a constructor.- Returns:
- True if method is a constructor.
-
instructions
public List<XmlInstruction> instructions()
Method instructions.- Returns:
- Instructions.
-
-