@Override
        public void onUpdated(@NotNull Inlay<?> inlay, int changeFlags) {
          if ((changeFlags & InlayModel.ChangeFlags.HEIGHT_CHANGED) != 0 && inlay.getRenderer() instanceof MyRenderer component) {
            // This method can be called while validating the same component. Prevent resetting parent validation flags.
            if (component.isValid()) {
              component.revalidate();
            }
          }
        }
@Override
        public void onUpdated(@NotNull Inlay<?> inlay, int changeFlags)