boolean () { String message = JavaRefactoringBundle.message("do.you.want.to.process.overriding.methods.with.covariant.return.type"); return Messages.showYesNoDialog(myProject, message, RefactoringBundle.message("changeSignature.refactoring.name"), Messages.getQuestionIcon()) == Messages.YES; }