private void warnOrFix(
      @NotNull PsiClass psiClass,
      @NotNull List<Pair<PsiField, PsiMethod>> fieldsAndMethods,
      @NotNull List<PsiField> annotatedFields
    ) {
      if (myHolder != null) {
        String className = psiClass.getName();
        if(StringUtil.isNotEmpty(className)) {
          final PsiIdentifier psiClassNameIdentifier = psiClass.getNameIdentifier();
          final LocalQuickFix fix = new LombokGetterOrSetterMayBeUsedFix(className);
          myHolder.registerProblem(psiClass,
                                   getClassErrorMessage(className),
                                   ProblemHighlightType.GENERIC_ERROR_OR_WARNING,
                                   psiClassNameIdentifier != null ? psiClassNameIdentifier.getTextRangeInParent() : psiClass.getTextRange(),
                                   fix);
        }
      }
      else if (myLombokGetterOrSetterMayBeUsedFix != null) {
        myLombokGetterOrSetterMayBeUsedFix.effectivelyDoFix(psiClass, fieldsAndMethods, annotatedFields);
      }
    }
private void warnOrFix(
      @NotNull PsiClass psiClass,
      @NotNull List<Pair<PsiField, PsiMethod>> fieldsAndMethods,
      @NotNull List<PsiField> annotatedFields
    )