Package org.eolang.opeo.ast
Class FieldRetrieval
- java.lang.Object
-
- org.eolang.opeo.ast.FieldRetrieval
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eolang.opeo.ast.AstNode
AstNode.Empty
-
-
Constructor Summary
Constructors Constructor Description FieldRetrieval(org.eolang.jeo.representation.xmir.XmlNode node, Parser parser)
Constructor.FieldRetrieval(AstNode instance, String name)
Constructor.FieldRetrieval(AstNode instance, String name, String descriptor)
Constructor.FieldRetrieval(AstNode instance, Attributes attributes)
Constructor.FieldRetrieval(Field field)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AstNode>
opcodes()
Bytecode instructions.Iterable<org.xembly.Directive>
toXmir()
Convert node to XMIR.org.objectweb.asm.Type
type()
Node type.
-
-
-
Constructor Detail
-
FieldRetrieval
public FieldRetrieval(org.eolang.jeo.representation.xmir.XmlNode node, Parser parser)
Constructor.- Parameters:
node
- XML nodeparser
- Parser
-
FieldRetrieval
public FieldRetrieval(AstNode instance, String name)
Constructor.- Parameters:
instance
- Object reference from which the field is accessedname
- Field name
-
FieldRetrieval
public FieldRetrieval(AstNode instance, String name, String descriptor)
Constructor.- Parameters:
instance
- Object reference from which the field is accessedname
- Field namedescriptor
- Field descriptor
-
FieldRetrieval
public FieldRetrieval(AstNode instance, Attributes attributes)
Constructor.- Parameters:
instance
- Object reference from which the field is accessedattributes
- Field attributes
-
FieldRetrieval
public FieldRetrieval(Field field)
Constructor.- Parameters:
field
- The field to access
-
-