Class Signature

java.lang.Object
org.apache.bcel.classfile.Attribute
org.apache.bcel.classfile.Signature
All Implemented Interfaces:
Cloneable, Node

public final class Signature extends Attribute
This class is derived from Attribute and represents a reference to a GJ attribute.
See Also:
  • Constructor Details

    • Signature

      public Signature(int nameIndex, int length, int signatureIndex, ConstantPool constantPool)
      Parameters:
      nameIndex - Index in constant pool to CONSTANT_Utf8
      length - Content length in bytes
      signatureIndex - Index in constant pool to CONSTANT_Utf8
      constantPool - Array of constants
    • Signature

      public Signature(Signature c)
      Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.
      Parameters:
      c - Source to copy.
  • Method Details