View | Details | Raw Unified | Return to bug 320841
Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/compiler/SourceElementNotifier.java (-2 / +2 lines)
Lines 551-557 Link Here
551
			importReference.modifiers);
551
			importReference.modifiers);
552
	}
552
	}
553
}
553
}
554
protected void notifySourceElementRequestor(TypeDeclaration typeDeclaration, boolean notifyTypePresence, TypeDeclaration declaringType, ImportReference currentPackage) {
554
protected void notifySourceElementRequestor(TypeDeclaration typeDeclaration, boolean notifyTypePresence, TypeDeclaration declaringTypeOfLocalType, ImportReference currentPackage) {
555
555
556
	if (CharOperation.equals(TypeConstants.PACKAGE_INFO_NAME, typeDeclaration.name)) return;
556
	if (CharOperation.equals(TypeConstants.PACKAGE_INFO_NAME, typeDeclaration.name)) return;
557
557
Lines 584-590 Link Here
584
			char[] superclassName;
584
			char[] superclassName;
585
			if (isEnumInit) {
585
			if (isEnumInit) {
586
				currentModifiers |= ClassFileConstants.AccEnum;
586
				currentModifiers |= ClassFileConstants.AccEnum;
587
				superclassName = declaringType.name;
587
				superclassName = declaringTypeOfLocalType.name;
588
			} else {
588
			} else {
589
				superclassName = getSuperclassName(typeDeclaration);
589
				superclassName = getSuperclassName(typeDeclaration);
590
			}
590
			}
(-)model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java (+1 lines)
Lines 495-500 Link Here
495
			type.memberTypes = new TypeDeclaration[sourceMemberTypeCount];
495
			type.memberTypes = new TypeDeclaration[sourceMemberTypeCount];
496
			for (int i = 0; i < sourceMemberTypeCount; i++) {
496
			for (int i = 0; i < sourceMemberTypeCount; i++) {
497
				type.memberTypes[i] = convert(sourceMemberTypes[i], compilationResult);
497
				type.memberTypes[i] = convert(sourceMemberTypes[i], compilationResult);
498
				type.memberTypes[i].enclosingType = type;
498
			}
499
			}
499
		}
500
		}
500
501
(-)model/org/eclipse/jdt/internal/core/BinaryTypeConverter.java (+1 lines)
Lines 282-287 Link Here
282
			} else {
282
			} else {
283
				typeDeclaration.memberTypes[i] = convert(memberTypes[i], null, null);
283
				typeDeclaration.memberTypes[i] = convert(memberTypes[i], null, null);
284
			}
284
			}
285
			typeDeclaration.memberTypes[i].enclosingType = typeDeclaration;
285
		}
286
		}
286
287
287
		/* convert fields */
288
		/* convert fields */

Return to bug 320841