private void checkFor(String deprecatedFQN, String newFQN, PsiAnnotation psiAnnotation) {
      if (psiAnnotation.hasQualifiedName(deprecatedFQN)) {
        final PsiModifierListOwner listOwner = PsiTreeUtil.getParentOfType(psiAnnotation, PsiModifierListOwner.class, false);
        if (null != listOwner) {
          String message = LombokBundle.message("inspection.message.lombok.annotation.deprecated.not.supported", deprecatedFQN, newFQN);
          holder.registerProblem(psiAnnotation, message, ProblemHighlightType.ERROR,
                                 new AddAnnotationFix(newFQN, listOwner,
                                                      psiAnnotation.getParameterList().getAttributes(),
                                                      deprecatedFQN));
        }
      }
    }
private void checkFor(String deprecatedFQN, String newFQN, PsiAnnotation psiAnnotation)