PsiClass (final @NotNull String name) { final PsiClass aClass = myJavaFacade.findClass(name, ProjectScope.getProjectScope(getProject())); assertNotNull("Class " + name + " not found", aClass); return aClass; }