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

(-)model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java (-1 / +3 lines)
Lines 677-683 Link Here
677
					if (containsLocalType) { // NB: no-op if method bodies have been already parsed
677
					if (containsLocalType) { // NB: no-op if method bodies have been already parsed
678
						parser.getMethodBodies(parsedUnit);
678
						parser.getMethodBodies(parsedUnit);
679
					}
679
					}
680
					this.lookupEnvironment.completeTypeBindings(parsedUnit, true/*build constructor only*/);
680
					// complete type bindings and build fields and methods only for local types
681
					// the constructor is needed when resolving local types (see 
682
					this.lookupEnvironment.completeTypeBindings(parsedUnit, containsLocalType);
681
				} catch (AbortCompilation e) {
683
				} catch (AbortCompilation e) {
682
					// classpath problem for this type: don't try to resolve (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=49809)
684
					// classpath problem for this type: don't try to resolve (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=49809)
683
					hasLocalType[i] = false;
685
					hasLocalType[i] = false;

Return to bug 145333