void () { PsiClass aClass = myJavaFacade.findClass("A", GlobalSearchScope.allScope(myProject)); PsiField field = aClass.findFieldByName("FIELD", false); doTest(field, new String[]{"A.java"}, new int[]{}, new int[]{}); }