Index: model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java,v --- model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java 3 May 2006 16:55:02 -0000 1.66 +++ model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java 5 Jun 2006 15:56:48 -0000 @@ -677,7 +677,9 @@ if (containsLocalType) { // NB: no-op if method bodies have been already parsed parser.getMethodBodies(parsedUnit); } - this.lookupEnvironment.completeTypeBindings(parsedUnit, true/*build constructor only*/); + // complete type bindings and build fields and methods only for local types + // the constructor is needed when resolving local types (see + this.lookupEnvironment.completeTypeBindings(parsedUnit, containsLocalType); } catch (AbortCompilation e) { // classpath problem for this type: don't try to resolve (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=49809) hasLocalType[i] = false;