boolean (@NotNull String builderClassName, @NotNull Project project, @NotNull ProblemSink builder) { final PsiNameHelper psiNameHelper = PsiNameHelper.getInstance(project); if (!psiNameHelper.isIdentifier(builderClassName)) { builder.addErrorMessage("inspection.message.s.not.valid.identifier", builderClassName); return false; } return true; }