private void reportIncorrectLocation(ProblemsHolder holder, PsiAnnotation annotation,
                                              @Nullable PsiModifierListOwner listOwner,
                                              @NotNull @PropertyKey(resourceBundle = JavaAnalysisBundle.BUNDLE) String messageKey,
                                              @NotNull LocalQuickFix @NotNull ... additionalFixes) {
    RemoveAnnotationQuickFix removeFix = new RemoveAnnotationQuickFix(annotation, listOwner, true);
    MoveAnnotationToBoundFix moveToBoundFix = MoveAnnotationToBoundFix.create(annotation);
    LocalQuickFix[] fixes = moveToBoundFix == null ? new LocalQuickFix[]{removeFix} : new LocalQuickFix[]{moveToBoundFix, removeFix};
    reportProblem(holder, !annotation.isPhysical() && listOwner != null ? listOwner.getNavigationElement() : annotation,
                  ArrayUtil.mergeArrays(additionalFixes, fixes), messageKey);
  }
private void reportIncorrectLocation(ProblemsHolder holder, PsiAnnotation annotation,
                                              @Nullable PsiModifierListOwner listOwner,
                                              @NotNull @PropertyKey(resourceBundle = JavaAnalysisBundle.BUNDLE) String messageKey,
                                              @NotNull LocalQuickFix @NotNull ... additionalFixes)