Class Field

  • All Implemented Interfaces:
    Typed, Xmir

    public final class Field
    extends Object
    implements Xmir, Typed
    Access to a field.
    Since:
    0.1
    • Constructor Detail

      • Field

        public Field​(AstNode instance,
                     Attributes attributes)
        Constructor.
        Parameters:
        instance - Object reference from which the field is accessed
        attributes - Field attributes
    • 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.
      • type

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