void (@NotNull T viewer) { boolean[] annotationsShown = viewer.getRequest().getUserData(Holder.ANNOTATIONS_SHOWN_KEY); if (annotationsShown == null || annotationsShown.length != 3) return; if (annotationsShown[0]) { ViewerAnnotator annotator = createAnnotator(viewer, ThreeSide.LEFT); if (annotator != null) doAnnotate(annotator); } if (annotationsShown[1]) { ViewerAnnotator annotator = createAnnotator(viewer, ThreeSide.BASE); if (annotator != null) doAnnotate(annotator); } if (annotationsShown[2]) { ViewerAnnotator annotator = createAnnotator(viewer, ThreeSide.RIGHT); if (annotator != null) doAnnotate(annotator); } }