public static @Nullable Icon getHintIcon(JComponent hintComponent) {
    return hintComponent instanceof HintLabel ? ((HintLabel)hintComponent).getIcon() : null;
  }
public static @Nullable Icon getHintIcon(JComponent hintComponent)