private @NotNull List<PsiAnnotation> getAnnotationsToAdd(@NotNull PsiModifierListOwner owner) {
    List<PsiAnnotation> allAnnotations = StreamEx.of(InferredAnnotationsManager.getInstance(owner.getProject()).findInferredAnnotations(owner))
      .remove(DefaultInferredAnnotationProvider::isExperimentalInferredAnnotation)
      .map(MakeInferredAnnotationExplicit::correctAnnotation)
      .toList();
    return filterAnnotations(owner.getContainingFile(), allAnnotations);
  }
private @NotNull List<PsiAnnotation> getAnnotationsToAdd(@NotNull PsiModifierListOwner owner)