public static boolean isAnnotatedWith(@NotNull PsiModifierListOwner psiModifierListOwner, @NotNull String annotationFQN) {
    if (DumbIncompleteModeUtil.isDumbOrIncompleteMode(psiModifierListOwner)) {
      return DumbIncompleteModeUtil.findAnnotationInDumbOrIncompleteMode(psiModifierListOwner, annotationFQN) != null;
    }
    return psiModifierListOwner.hasAnnotation(annotationFQN);
  }
public static boolean isAnnotatedWith(@NotNull PsiModifierListOwner psiModifierListOwner, @NotNull String annotationFQN)