jef.dna.attributes
Interface SignatureAttribute

All Superinterfaces:
Attribute, BytesCountable, java.lang.Cloneable
All Known Implementing Classes:
Signature

public interface SignatureAttribute
extends Attribute

The Signature attribute is an optional fixed-length attribute in the attributes table of the ClassFile (�4.2), field_info (�4.6) and method_info (�4.7)structures.

Author:
frusso

Method Summary
 int getSignatureIndex()
          The value of thesignature_index item must be a valid index into the constant_pool table.
 void setSignatureIndex(int index)
          The value of thesignature_index item must be a valid index into the constant_pool table.
 
Methods inherited from interface jef.dna.attributes.Attribute
clone, fromStream, getDna, getLength, getNameIndex, setDna, setNameIndex, toStream, updateRefs, validate
 
Methods inherited from interface jef.dna.util.BytesCountable
getBytesCount
 

Method Detail

getSignatureIndex

int getSignatureIndex()
The value of thesignature_index item must be a valid index into the constant_pool table. The constant pool entry at that index must be a CONSTANT_Utf8_info (�4.5.7) structure representing either a class signature, if this signature attribute is an attribute of a ClassFile structure, a method type signature, if this signature is an attribuute of amethod_info structure, or a field type signature otherwise.


setSignatureIndex

void setSignatureIndex(int index)
The value of thesignature_index item must be a valid index into the constant_pool table. The constant pool entry at that index must be a CONSTANT_Utf8_info (�4.5.7) structure representing either a class signature, if this signature attribute is an attribute of a ClassFile structure, a method type signature, if this signature is an attribuute of amethod_info structure, or a field type signature otherwise.