@Deprecated
  public static <T> T getClientProperty(Object component, @NotNull Key<T> key) {
    return component instanceof Component ? ClientProperty.get((Component)component, key) : null;
  }
@Deprecated
  public static <T> T getClientProperty(Object component, @NotNull Key<T> key)