void (String qClassName, String newName) { PsiClass aClass = myFixture.findClass(qClassName); assertNotNull("Class " + qClassName + " not found", aClass); new RenameProcessor(getProject(), aClass, newName, true, true).run(); }