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

Collapse All | Expand All

(-)search/org/eclipse/jdt/internal/core/search/matching/AndLocator.java (+3 lines)
Lines 228-233 Link Here
228
	}
228
	}
229
	weakestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator);
229
	weakestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator);
230
}
230
}
231
protected void matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) throws CoreException {
232
	matchReportReference(reference, element, null, null, elementBinding, accuracy, locator);
233
}
231
public int resolveLevel(ASTNode node) {
234
public int resolveLevel(ASTNode node) {
232
	int level = ACCURATE_MATCH;
235
	int level = ACCURATE_MATCH;
233
	for (int i = 0, length = this.patternLocators.length; i < length; i++) {
236
	for (int i = 0, length = this.patternLocators.length; i < length; i++) {
(-)search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java (+3 lines)
Lines 264-269 Link Here
264
	if (closestPattern != null)
264
	if (closestPattern != null)
265
		closestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator);
265
		closestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator);
266
}
266
}
267
protected void matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) throws CoreException {
268
	matchReportReference(reference, element, null, null, elementBinding, accuracy, locator);
269
}
267
public SearchMatch newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) {
270
public SearchMatch newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) {
268
	PatternLocator closestPattern = null;
271
	PatternLocator closestPattern = null;
269
	int level = IMPOSSIBLE_MATCH;
272
	int level = IMPOSSIBLE_MATCH;

Return to bug 237123