void (@NotNull PsiElement element, @NotNull String newName, @NotNull MultiMap<PsiElement, String> conflicts) { final String scriptName = FileUtilRt.getNameWithoutExtension(newName); if (!StringUtil.isJavaIdentifier(scriptName)) { final PsiClass script = ((GroovyFile)element).getScriptClass(); conflicts.putValue(script, GroovyRefactoringBundle.message("cannot.rename.script.class.to.0", script.getName(), scriptName)); } }