Class FieldRetrieval

    • Constructor Detail

      • FieldRetrieval

        public FieldRetrieval​(org.eolang.jeo.representation.xmir.XmlNode node,
                              Parser parser)
        Constructor.
        Parameters:
        node - XML node
        parser - Parser
      • FieldRetrieval

        public FieldRetrieval​(AstNode instance,
                              String name)
        Constructor.
        Parameters:
        instance - Object reference from which the field is accessed
        name - Field name
      • FieldRetrieval

        public FieldRetrieval​(AstNode instance,
                              String name,
                              String descriptor)
        Constructor.
        Parameters:
        instance - Object reference from which the field is accessed
        name - Field name
        descriptor - Field descriptor
      • FieldRetrieval

        public FieldRetrieval​(AstNode instance,
                              Attributes attributes)
        Constructor.
        Parameters:
        instance - Object reference from which the field is accessed
        attributes - Field attributes
      • FieldRetrieval

        public FieldRetrieval​(Field field)
        Constructor.
        Parameters:
        field - The field to access
    • Method Detail

      • toXmir

        public Iterable<org.xembly.Directive> toXmir()
        Description copied from interface: Xmir
        Convert node to XMIR.
        Specified by:
        toXmir in interface Xmir
        Returns:
        XMIR XML.
      • opcodes

        public List<AstNode> opcodes()
        Description copied from interface: AstNode
        Bytecode instructions.
        Specified by:
        opcodes in interface AstNode
        Returns:
        List of opcodes.
      • type

        public org.objectweb.asm.Type type()
        Description copied from interface: Typed
        Node type.
        Specified by:
        type in interface Typed
        Returns:
        Type.