final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);
this.fields = new FieldInfo[this.fieldsCount]; for (int i = 0; i < this.fieldsCount; i++) { field = new FieldInfo(classFileBytes, this.constantPool, readOffset); this.fields[i] = field; readOffset += field.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { this.isSynthetic = true; this.nameIndex = u2At(classFileBytes, 2, offset); IConstantPoolEntry constantPoolEntry = constantPool.decodeEntry(this.nameIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.descriptorIndex = u2At(classFileBytes, 4, offset); constantPoolEntry = constantPool.decodeEntry(this.descriptorIndex); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { this.attributesCount = u2At(classFileBytes, 6, offset); this.attributes = ClassFileAttribute.NO_ATTRIBUTES; int readOffset = 8; constantPoolEntry = constantPool.decodeEntry(u2At(classFileBytes, readOffset, offset)); if (constantPoolEntry.getKind() != IConstantPoolConstant.CONSTANT_Utf8) { throw new ClassFormatException(ClassFormatException.INVALID_CONSTANT_POOL_ENTRY); if (equals(attributeName, IAttributeNamesConstants.DEPRECATED)) { this.isDeprecated = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.SYNTHETIC)) { this.isSynthetic = true; this.attributes[attributesIndex++] = new ClassFileAttribute(classFileBytes, constantPool, offset + readOffset); } else if (equals(attributeName, IAttributeNamesConstants.CONSTANT_VALUE)) { this.constantValueAttribute = new ConstantValueAttribute(classFileBytes, constantPool, offset + readOffset);