org.aspectj.org.eclipse.jdt.internal.core.util
Class VerificationInfo

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
      extended by org.aspectj.org.eclipse.jdt.internal.core.util.VerificationInfo
All Implemented Interfaces:
IVerificationTypeInfo

public class VerificationInfo
extends ClassFileStruct
implements 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
VerificationInfo(byte[] classFileBytes, IConstantPool constantPool, int offset)
           
 
Method Summary
 char[] getClassTypeName()
          Answer back the name of the class type referenced by the index in the constant pool as described in the JVM specifications.
 int getConstantPoolIndex()
          Answer back the constant pool index of this verification type info as described in the JVM specifications.
 int getOffset()
          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 sizeInBytes()
           
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerificationInfo

public VerificationInfo(byte[] classFileBytes,
                        IConstantPool constantPool,
                        int offset)
                 throws ClassFormatException
Throws:
ClassFormatException
Method Detail

getTag

public int getTag()
Description copied from interface: IVerificationTypeInfo
Answer back the tag of this verification type info as described in the JVM specifications.

Specified by:
getTag in interface IVerificationTypeInfo
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 interface IVerificationTypeInfo
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 interface IVerificationTypeInfo
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 interface IVerificationTypeInfo
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()