/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }
char[] attributeName = utf8At(classFileBytes, utf8Offset + 3, 0, u2At(classFileBytes, utf8Offset + 1, 0)); if (equals(attributeName, IAttributeNamesConstants.INNER_CLASSES)) { this.innerClassesAttribute = new InnerClassesAttribute(classFileBytes, this.constantPool, readOffset); this.attributes[attributesIndex++] = this.innerClassesAttribute; } else if (equals(attributeName, IAttributeNamesConstants.SOURCE)) {
/** * Constructor for InnerClassesAttribute. * @param classFileBytes * @param constantPool * @param offset * @throws ClassFormatException */ public InnerClassesAttribute( byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException { super(classFileBytes, constantPool, offset); this.numberOfClasses = u2At(classFileBytes, 6, offset); final int length = this.numberOfClasses; if (length != 0) { int readOffset = 8; this.entries = new IInnerClassesAttributeEntry[length]; for (int i = 0; i < length; i++) { this.entries[i] = new InnerClassesAttributeEntry(classFileBytes, constantPool, offset + readOffset); readOffset += 8; } } else { this.entries = NO_ENTRIES; } }