void () { final PsiType rootType = getRootType(); final PsiType migrationType = getMigrationType(); if (migrationType == null || CommonJavaRefactoringUtil.deepTypeEqual(rootType, migrationType)) { close(DialogWrapper.OK_EXIT_CODE); return; } super.doAction(); }