String (@NotNull PsiModifierListOwner owner) { NullableNotNullManager manager = NullableNotNullManager.getInstance(owner.getProject()); NullabilityAnnotationInfo info = manager.findEffectiveNullabilityInfo(owner); String name = info == null ? null : info.getAnnotation().getQualifiedName(); if (name == null) { return "???"; } return StringUtil.getShortName(name); }