Lines 345-351
Link Here
|
345 |
if (closestPattern != null) |
345 |
if (closestPattern != null) |
346 |
closestPattern.matchReportImportRef(importRef, binding, element, accuracy, locator); |
346 |
closestPattern.matchReportImportRef(importRef, binding, element, accuracy, locator); |
347 |
} |
347 |
} |
348 |
protected void matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) throws CoreException { |
348 |
protected void matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) throws CoreException { |
349 |
PatternLocator closestPattern = null; |
349 |
PatternLocator closestPattern = null; |
350 |
int level = IMPOSSIBLE_MATCH; |
350 |
int level = IMPOSSIBLE_MATCH; |
351 |
for (int i = 0, length = this.patternLocators.length; i < length; i++) { |
351 |
for (int i = 0, length = this.patternLocators.length; i < length; i++) { |
Lines 358-364
Link Here
|
358 |
} |
358 |
} |
359 |
} |
359 |
} |
360 |
if (closestPattern != null) |
360 |
if (closestPattern != null) |
361 |
closestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator); |
361 |
closestPattern.matchReportReference(reference, element, elementBinding, accuracy, locator); |
362 |
} |
362 |
} |
363 |
public SearchMatch newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) { |
363 |
public SearchMatch newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) { |
364 |
PatternLocator closestPattern = null; |
364 |
PatternLocator closestPattern = null; |