TextAnnotationPresentation (@NotNull Editor editor) { List<ActiveAnnotationGutter> annotations = getVcsAnnotations(editor); for (TextAnnotationGutterProvider annotation : annotations) { if (annotation instanceof AnnotationGutterLineConvertorProxy) { annotation = ((AnnotationGutterLineConvertorProxy)annotation).getDelegate(); } if (annotation instanceof AnnotationFieldGutter) { return ((AnnotationFieldGutter)annotation).getPresentation(); } } return null; }