String (String newName, Project project) { if (FileTypeManager.getInstance().isFileIgnored(newName)) { return RefactoringBundle.message("dialog.message.new.directory.with.ignored.name.warning"); } return null; }