List<PsiAnnotation> (@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); }