Class SignatureReader
java.lang.Object
com.ibm.wala.shrike.shrikeCT.AttributeReader
com.ibm.wala.shrike.shrikeCT.SignatureReader
This class reads Signature attributes.
-
Field Summary
Fields inherited from class AttributeReader
attr, cr, lengthModifier and TypeFieldDescriptionprotected final intprotected final ClassReaderprotected final int -
Constructor Summary
ConstructorsConstructorDescriptionBuild a reader for the attribute 'iter'. -
Method Summary
Methods inherited from class AttributeReader
checkSize, checkSizeEquals, getClassReader, getRawOffset, getRawSizeModifier and TypeMethodDescriptionprotected final voidcheckSize(int offset, int len) Ensure that the len bytes starting at offset fall within the attribute data.protected final voidcheckSizeEquals(int offset, int len) Ensure that the len bytes starting at offset end at the end of the attribute data.final ClassReaderfinal intfinal int
-
Constructor Details
-
SignatureReader
Build a reader for the attribute 'iter'.- Throws:
InvalidClassFileException
-
-
Method Details
-
getSignatureCPIndex
public int getSignatureCPIndex()- Returns:
- the index of the constant pool item holding the value
-
getSignature
- Throws:
InvalidClassFileException
-