private static void registerProblems(@NotNull List<PsiEnumConstant> enums,
                                           @NotNull PsiExpression expression,
                                           @NotNull ProblemsHolder holder) {
        StringJoiner joiner = new StringJoiner(", ");
        enums.forEach(enumName -> joiner.add("'" + enumName.getName() + "'"));
        String description = enums.size() == 1 ?
                             InspectionGadgetsBundle.message("inspection.unsupported.chrono.value.message", joiner.toString()) :
                             InspectionGadgetsBundle.message("inspection.unsupported.chrono.values.message", joiner.toString());
        holder.registerProblem(expression, description);
      }
private static void registerProblems(@NotNull List<PsiEnumConstant> enums,
                                           @NotNull PsiExpression expression,
                                           @NotNull ProblemsHolder holder)