ApplicationManager.getApplication().runWriteAction(action);
}
}, REFACTORING_NAME, null);
}
public boolean checkConflicts(ExtractSuperclassDialog dialog) {
<BUG>final MemberInfo[] infos = dialog.getSelectedMemberInfos();
final PsiDirectory targetDirectory = dialog.getTargetDirectory();</BUG>
final PsiPackage targetPackage;
if (targetDirectory != null) {
targetPackage = JavaDirectoryService.getInstance().getPackage(targetDirectory);

ApplicationManager.getApplication().runWriteAction(action);
}
}, REFACTORING_NAME, null);
}
public boolean checkConflicts(ExtractSuperclassDialog dialog) {
final MemberInfo[] infos = ArrayUtil.toObjectArray(dialog.getSelectedMemberInfos(), MemberInfo.class);
final PsiDirectory targetDirectory = dialog.getTargetDirectory();
final PsiPackage targetPackage;
if (targetDirectory != null) {
targetPackage = JavaDirectoryService.getInstance().getPackage(targetDirectory);
