void () { doTest(() -> { GlobalSearchScope scope = GlobalSearchScope.allScope(getProject()); PsiClass superClass = myFixture.getJavaFacade().findClass("Super", scope); if (superClass == null) superClass = myFixture.getJavaFacade().findClass("p1.Super", scope); assertNotNull("Class Super not found", superClass); new InlineSuperClassRefactoringProcessor(getProject(), null, superClass, DocCommentPolicy.ASIS).run(); }); }