boolean (String newName, PsiElement element, ProcessingContext context) { return newName != null && newName.length() > 0 && newName.indexOf('\\') < 0 && newName.indexOf('/') < 0 && newName.indexOf('\n') < 0; }