void () { setupLoadingFilter(); PsiClass aClass = myJavaFacade.findClass("pack.MyClass2", GlobalSearchScope.allScope(myProject)); PsiMethod method1 = aClass.getMethods()[0]; assertFalse(method1.isConstructor()); teardownLoadingFilter(); }