NewSubClassData (PsiElement sourceClass, @DialogTitle String conflictDialogTitle) { final String message = RefactoringBundle.message("class.0.does.not.have.inheritors", DescriptiveNameUtil.getDescriptiveName(sourceClass)) + "\n" + RefactoringBundle.message("push.down.will.delete.members"); if (!MessageDialogBuilder.yesNo(conflictDialogTitle, message) .icon(Messages.getWarningIcon()) .ask(sourceClass.getProject())) { return NewSubClassData.ABORT_REFACTORING; } return null; }