Annotated (@NotNull PsiModifierListOwner owner) { NullableNotNullManager manager = NullableNotNullManager.getInstance(owner.getProject()); return new Annotated(manager.findExplicitNullabilityAnnotation(owner, Collections.singleton(Nullability.NOT_NULL)), manager.findExplicitNullabilityAnnotation(owner, Collections.singleton(Nullability.NULLABLE))); }