void (@NotNull JComponent component) { SyncHeightComponent syncComponent = UIUtil.getParentOfType(SyncHeightComponent.class, component); if (syncComponent == null) return; SyncHeightLayout syncHeightLayout = ObjectUtils.tryCast(syncComponent.getLayout(), SyncHeightLayout.class); if (syncHeightLayout == null) return; syncHeightLayout.getSyncHeightHolder().revalidateAll(); }