final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {
MethodInfo method; for (int i = 0; i < this.methodsCount; i++) { method = new MethodInfo(classFileBytes, this.constantPool, readOffset, decodingFlags); this.methods[i] = method; readOffset += method.sizeInBytes();
final int flags = u2At(classFileBytes, 0, offset); this.accessFlags = flags; if ((flags & IModifierConstants.ACC_SYNTHETIC) != 0) { 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; if (this.attributesCount != 0) { if (no_code_attribute && !isAbstract() && !isNative()) { if (this.attributesCount != 1) { this.attributes = new IClassFileAttribute[this.attributesCount - 1]; int readOffset = 8; for (int i = 0; i < this.attributesCount; i++) { 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)) {