private static void checkAnnotationList(AnnotationHolder holder,
                                          @NotNull GrModifierList modifierList,
                                          @NotNull @InspectionMessage String message) {
    final PsiElement[] modifiers = modifierList.getModifiers();
    for (PsiElement modifier : modifiers) {
      if (!(modifier instanceof PsiAnnotation)) {
        holder.newAnnotation(HighlightSeverity.ERROR, message).range(modifier).create();
      }
    }
  }
private static void checkAnnotationList(AnnotationHolder holder,
                                          @NotNull GrModifierList modifierList,
                                          @NotNull @InspectionMessage String message)