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

(-)model/org/eclipse/jdt/internal/core/hierarchy/HierarchyBuilder.java (-8 / +10 lines)
Lines 77-90 Link Here
77
		} else {
77
		} else {
78
			unitsToLookInside = workingCopies;
78
			unitsToLookInside = workingCopies;
79
		}
79
		}
80
		SearchableEnvironment searchableEnvironment = project.newSearchableNameEnvironment(unitsToLookInside);
80
		if (project != null) {
81
		this.nameLookup = searchableEnvironment.nameLookup;
81
			SearchableEnvironment searchableEnvironment = project.newSearchableNameEnvironment(unitsToLookInside);
82
		this.hierarchyResolver =
82
			this.nameLookup = searchableEnvironment.nameLookup;
83
			new HierarchyResolver(
83
			this.hierarchyResolver =
84
				searchableEnvironment,
84
				new HierarchyResolver(
85
				project.getOptions(true),
85
					searchableEnvironment,
86
				this,
86
					project.getOptions(true),
87
				new DefaultProblemFactory());
87
					this,
88
					new DefaultProblemFactory());
89
		}
88
		this.infoToHandle = new HashMap(5);
90
		this.infoToHandle = new HashMap(5);
89
		this.focusQualifiedName = focusType == null ? null : focusType.getFullyQualifiedName();
91
		this.focusQualifiedName = focusType == null ? null : focusType.getFullyQualifiedName();
90
	}
92
	}

Return to bug 150289