Class Reference

    • Constructor Detail

      • Reference

        public Reference()
        Constructor.
      • Reference

        public Reference​(AstNode object)
        Constructor.
        Parameters:
        object - Object for which reference is created.
      • Reference

        public Reference​(AtomicReference<AstNode> ref)
        Constructor.
        Parameters:
        ref - Object reference.
    • Method Detail

      • link

        public void link​(AstNode node)
        Link this reference with the given object.
        Parameters:
        node - Object to link with.
      • object

        public AstNode object()
        Get the object.
        Returns:
        Object.
      • 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.