Class StaticInvocation

    • Constructor Detail

      • StaticInvocation

        public StaticInvocation​(String owner,
                                String name,
                                String descriptor,
                                AstNode... arguments)
        Constructor.
        Parameters:
        owner - Owner class name
        name - Method name
        descriptor - Method descriptor
        arguments - Arguments
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • StaticInvocation

        public StaticInvocation​(String owner,
                                String name,
                                String descriptor,
                                List<AstNode> arguments)
        Constructor.
        Parameters:
        owner - Owner class name
        name - Method name
        descriptor - Method descriptor
        arguments - Arguments
        Suppressed Checkstyle violations:
        ParameterNumberCheck (5 lines)
      • StaticInvocation

        public StaticInvocation​(org.eolang.jeo.representation.xmir.XmlNode node,
                                Parser parser)
        Constructor.
        Parameters:
        node - XML node
        parser - Parser that will be used to parse the child nodes of the invocation.
      • StaticInvocation

        public StaticInvocation​(org.eolang.jeo.representation.xmir.XmlNode node,
                                List<AstNode> arguments)
        Constructor.
        Parameters:
        node - XML node
        arguments - Arguments
      • StaticInvocation

        public StaticInvocation​(org.eolang.jeo.representation.xmir.XmlNode node,
                                AstNode... arguments)
        Constructor.
        Parameters:
        node - XML node
        arguments - Arguments
      • StaticInvocation

        public StaticInvocation​(Attributes attributes,
                                Owner owner,
                                AstNode... arguments)
        Constructor.
        Parameters:
        attributes - Method attributes
        owner - Owner class name
        arguments - Arguments
      • StaticInvocation

        public StaticInvocation​(Attributes attributes,
                                Owner owner,
                                List<AstNode> arguments)
        Constructor.
        Parameters:
        attributes - Method attributes
        owner - Owner class name
        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.