Use classes to increase search pattern for static declarations
Static common names like 'INSTANCE', 'create' can give many irrelevant references in the project. #KT-17000 Fixed #KT-14974 Fixed
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// PSI_ELEMENT: com.intellij.psi.PsiMethod
|
||||
// OPTIONS: usages
|
||||
|
||||
public class JavaClassWI {
|
||||
public void <caret>invoke() {
|
||||
}
|
||||
|
||||
public static JavaClassWI INSTANCE = new JavaClass();
|
||||
|
||||
public static class Other extends JavaClassWI {}
|
||||
}
|
||||
Reference in New Issue
Block a user