Optimize isReferenceTo() when searching for PsiMethod usages
Avoid resolving references when we know from context that a reference at given location can't resolve to a PsiMethod.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiMethod
|
||||
// OPTIONS: usages
|
||||
public class UnaryNot {
|
||||
public UnaryNot <caret>not() {
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user