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:
Nikolay Krasko
2017-04-29 15:51:17 +03:00
parent 7ee58be515
commit 2d51d72708
11 changed files with 180 additions and 22 deletions
@@ -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 {}
}