public final WindowState getState(@NotNull String key, @NotNull Window window) {
    return getStateFor(project, key, window);
  }
public final WindowState getState(@NotNull String key, @NotNull Window window)