PsiClass (String className) { PsiClass psiClass = JavaPsiFacade.getInstance(getProject()).findClass(className, getGlobalScope()); assertNotNull("Couldn't find a psiClass: " + className, psiClass); return psiClass; }