void (@NotNull T viewer) { boolean[] annotationsShown = new boolean[3]; annotationsShown[0] = isAnnotationShown(viewer, ThreeSide.LEFT); annotationsShown[1] = isAnnotationShown(viewer, ThreeSide.BASE); annotationsShown[2] = isAnnotationShown(viewer, ThreeSide.RIGHT); viewer.getRequest().putUserData(Holder.ANNOTATIONS_SHOWN_KEY, annotationsShown); }