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
ConstructorDescriptionVerificationInfo(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.int
Answer back the constant pool index of this verification type info as described in the JVM specifications.int
Answer back the offset of this verification type info as described in the JVM specifications.int
getTag()
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:IVerificationTypeInfo
Answer 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:
getTag
in interfaceIVerificationTypeInfo
- Returns:
- the tag of this verification type info as described in the JVM specifications
-
getOffset
public int getOffset()Description copied from interface:IVerificationTypeInfo
Answer 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:
getOffset
in interfaceIVerificationTypeInfo
- Returns:
- the offset of this verification type info as described in the JVM specifications
-
getConstantPoolIndex
public int getConstantPoolIndex()Description copied from interface:IVerificationTypeInfo
Answer 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:
getConstantPoolIndex
in 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:IVerificationTypeInfo
Answer 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:
getClassTypeName
in 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()
-