MoveInnerRefactoring (PsiClass innerClass, String newName, boolean passOuterClass, String parameterName) { final PsiElement targetContainer = MoveInnerImpl.getTargetContainer(innerClass, false); if (targetContainer == null) return null; return new MoveInnerRefactoringImpl(myProject, innerClass, newName, passOuterClass, parameterName, targetContainer); }