String (String inputString) { if (inputString.length() > 0 && !PsiNameHelper.getInstance(project).isQualifiedName(inputString)) { return JavaErrorBundle.message("create.class.action.this.not.valid.java.qualified.name"); } String shortName = StringUtil.getShortName(inputString); if (HighlightClassUtil.isRestrictedIdentifier(shortName, level)) { return JavaErrorBundle.message("restricted.identifier", shortName); } return null; }