private boolean isCorrectName(String name) {
    return name != null && ClsParsingUtil.isJavaIdentifier(name, ((PsiJavaFile)getContainingFile()).getLanguageLevel());
  }
private boolean isCorrectName(String name)