Lines 44-50
Link Here
|
44 |
this.annotationsNumber = length; |
44 |
this.annotationsNumber = length; |
45 |
if (length != 0) { |
45 |
if (length != 0) { |
46 |
this.annotations = new IAnnotation[length]; |
46 |
this.annotations = new IAnnotation[length]; |
47 |
for (int i = 0; i < length; i++) { |
47 |
for (int i = 0; i < length;) { |
48 |
Annotation annotation = new Annotation(classFileBytes, constantPool, offset + readOffset); |
48 |
Annotation annotation = new Annotation(classFileBytes, constantPool, offset + readOffset); |
49 |
this.annotations[i++] = annotation; |
49 |
this.annotations[i++] = annotation; |
50 |
this.readOffset += annotation.sizeInBytes(); |
50 |
this.readOffset += annotation.sizeInBytes(); |