public static <T> boolean put(@NotNull Window window, @NotNull Key<T> key, @Nullable T value) {
    return put(window, (Object)key, value);
  }
public static <T> boolean put(@NotNull Window window, @NotNull Key<T> key, @Nullable T value)