View | Details | Raw Unified | Return to bug 99662 | Differences between
and this patch

Collapse All | Expand All

(-)model/org/eclipse/jdt/internal/compiler/SourceElementParser.java (+1 lines)
Lines 1132-1137 Link Here
1132
}
1132
}
1133
public void notifySourceElementRequestor(TypeDeclaration typeDeclaration, boolean notifyTypePresence, TypeDeclaration declaringType) {
1133
public void notifySourceElementRequestor(TypeDeclaration typeDeclaration, boolean notifyTypePresence, TypeDeclaration declaringType) {
1134
	
1134
	
1135
	if (CharOperation.equals(TypeConstants.PACKAGE_INFO_NAME, typeDeclaration.name)) return;
1135
	// range check
1136
	// range check
1136
	boolean isInRange = 
1137
	boolean isInRange = 
1137
		scanner.initialPosition <= typeDeclaration.declarationSourceStart
1138
		scanner.initialPosition <= typeDeclaration.declarationSourceStart

Return to bug 99662