public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }
public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }
public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }
public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }
public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }
public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }
public VerificationInfo( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { final int t = u1At(classFileBytes, 0, offset); this.tag = t; this.readOffset = 1; switch(t) { case IVerificationTypeInfo.ITEM_OBJECT : final int constantIndex = u2At(classFileBytes, 1, offset); this.constantPoolIndex = constantIndex; if (constantIndex != 0) { IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(constantIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Class) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); } this.classTypeName = constantPoolEntry.getClassInfoName(); } this.readOffset += 2; break; case IVerificationTypeInfo.ITEM_UNINITIALIZED : this.offset = u2At(classFileBytes, 1, offset); this.readOffset += 2; } }