void (@Nullable Component component) { if (component == null) return; if (component instanceof JBLabel) { if (component.isShowing()) { onLabelShowing((JBLabel)component); } else { onLabelHidden((JBLabel)component); } } }