Skip to content

Commit 1e09f36

Browse files
committed
Do not match methodInvocations without bindings
1 parent c15e107 commit 1e09f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/core/search/matching/DOMMethodLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ protected int resolveLevelForNodeWithMethodBinding(ASTNode messageSend,
673673
IMethodBinding invocationOrDeclarationBinding = invocationBinding;
674674
IMethodBinding declarationBinding = null;
675675
if (invocationOrDeclarationBinding == null) {
676-
return INACCURATE_MATCH;
676+
return IMPOSSIBLE_MATCH;
677677
}
678678

679679
int invocationLevel = matchMethod(messageSend, invocationBinding, skipVerif, false);

0 commit comments

Comments
 (0)