mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show non-documented external annotations in the gutter (IDEA-168443)
except for @Flow that confuses people
This commit is contained in:
+1
-5
@@ -143,11 +143,7 @@ public class ExternalAnnotationsLineMarkerProvider extends LineMarkerProviderDes
|
||||
}
|
||||
|
||||
private static boolean isVisibleAnnotation(@NotNull PsiAnnotation annotation) {
|
||||
PsiJavaCodeReferenceElement ref = annotation.getNameReferenceElement();
|
||||
if (ref == null) return true;
|
||||
|
||||
PsiElement target = ref.resolve();
|
||||
return !(target instanceof PsiClass) || JavaDocInfoGenerator.isDocumentedAnnotationType(target);
|
||||
return !"org.intellij.lang.annotations.Flow".equals(annotation.getQualifiedName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user