Class VerificationInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.VerificationInfo
- All Implemented Interfaces:
IVerificationTypeInfo
-
Field Summary
Fields inherited from interface org.aspectj.org.eclipse.jdt.core.util.IVerificationTypeInfo
ITEM_DOUBLE, ITEM_FLOAT, ITEM_INTEGER, ITEM_LONG, ITEM_NULL, ITEM_OBJECT, ITEM_TOP, ITEM_UNINITIALIZED, ITEM_UNINITIALIZED_THIS -
Constructor Summary
ConstructorsConstructorDescriptionVerificationInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) -
Method Summary
Modifier and TypeMethodDescriptionchar[]Answer back the name of the class type referenced by the index in the constant pool as described in the JVM specifications.intAnswer back the constant pool index of this verification type info as described in the JVM specifications.intAnswer back the offset of this verification type info as described in the JVM specifications.intgetTag()Answer back the tag of this verification type info as described in the JVM specifications.int
-
Constructor Details
-
VerificationInfo
public VerificationInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException - Throws:
ClassFormatException
-
-
Method Details
-
getTag
public int getTag()Description copied from interface:IVerificationTypeInfoAnswer back the tag of this verification type info as described in the JVM specifications.- 0 for the top type
- 1 for the int type
- 2 for the float type
- 3 for the double type
- 4 for the long type
- 5 for the null type
- 6 for the uninitialized this type
- 7 for the object type
- 8 for the uninitialized offset type
- Specified by:
getTagin interfaceIVerificationTypeInfo- Returns:
- the tag of this verification type info as described in the JVM specifications
-
getOffset
public int getOffset()Description copied from interface:IVerificationTypeInfoAnswer back the offset of this verification type info as described in the JVM specifications. This makes sense only if the tag is 8.- Specified by:
getOffsetin interfaceIVerificationTypeInfo- Returns:
- the offset of this verification type info as described in the JVM specifications
-
getConstantPoolIndex
public int getConstantPoolIndex()Description copied from interface:IVerificationTypeInfoAnswer back the constant pool index of this verification type info as described in the JVM specifications. This makes sense only if the tag is 7.- Specified by:
getConstantPoolIndexin interfaceIVerificationTypeInfo- Returns:
- the constant pool index of this verification type info as described in the JVM specifications
-
getClassTypeName
public char[] getClassTypeName()Description copied from interface:IVerificationTypeInfoAnswer back the name of the class type referenced by the index in the constant pool as described in the JVM specifications. This makes sense only if the tag is 7.- Specified by:
getClassTypeNamein interfaceIVerificationTypeInfo- Returns:
- the name of the class type referenced by the index in the constant pool as described in the JVM specifications
-
sizeInBytes
public int sizeInBytes()
-