public static boolean checkIfFieldNameIsValidAndWarn(@NotNull PsiAnnotation psiAnnotation,
                                                       @NotNull PsiField psiField,
                                                       @NotNull ProblemSink builder) {
    final boolean isValid = isValidFieldNameConstant(psiAnnotation, psiField);
    if (!isValid) {
      builder.addWarningMessage("inspection.message.not.generating.constant");
    }
    return isValid;
  }
public static boolean checkIfFieldNameIsValidAndWarn(@NotNull PsiAnnotation psiAnnotation,
                                                       @NotNull PsiField psiField,
                                                       @NotNull ProblemSink builder)