Class NameSignatureInstruction

    • Constructor Detail

      • NameSignatureInstruction

        public NameSignatureInstruction​(short opcode,
                                        int index)
        Constructs a NameSignatureInstruction.
        Parameters:
        opcode - The opcode.
        index - index into constant pool.
    • Method Detail

      • getName

        public java.lang.String getName​(ConstantPoolGen cpg)
        Gets the name of the referenced method or field.
        Parameters:
        cpg - constant pool generator.
        Returns:
        name of referenced method/field.
      • getSignature

        public java.lang.String getSignature​(ConstantPoolGen cpg)
        Gets the signature of the referenced method or field.
        Parameters:
        cpg - constant pool generator.
        Returns:
        signature of referenced method/field.