Class Invocation

    • Constructor Detail

      • Invocation

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

        public Invocation​(AstNode source,
                          String method,
                          AstNode... args)
        Constructor.
        Parameters:
        source - Source or target on which the invocation is performed
        method - Method name
        args - Arguments
      • Invocation

        public Invocation​(AstNode source,
                          Attributes attributes,
                          AstNode... args)
        Constructor.
        Parameters:
        source - Source or target on which the invocation is performed
        attributes - Method attributes
        args - Arguments
      • Invocation

        public Invocation​(AstNode source,
                          String method,
                          List<AstNode> arguments)
        Constructor.
        Parameters:
        source - Source or target on which the invocation is performed
        method - Method name
        arguments - Arguments
      • Invocation

        public Invocation​(AstNode source,
                          String method,
                          List<AstNode> arguments,
                          String descriptor)
        Constructor.
        Parameters:
        source - Source or target on which the invocation is performed
        method - Method name
        arguments - Arguments
        descriptor - Descriptor
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • Invocation

        public Invocation​(AstNode source,
                          Attributes attributes,
                          List<AstNode> arguments)
        Constructor.
        Parameters:
        source - Source or target on which the invocation is performed
        attributes - Method attributes
        arguments - Arguments
    • 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.