public synchronized void setLocation(@NotNull String key, Point point, @Nullable Project project) {
    getWindowStateService(project).putLocation(key, point);
    Pair<String, Float> pair = keyPair(key, project);
    if (point != null) {
      point = (Point)point.clone();
      float scale = pair.second;
      point.setLocation(point.x * scale, point.y * scale);
      myKeyToLocation.put(pair.first, point);
    }
    else {
      myKeyToLocation.remove(key);
    }
    incModificationCount();
  }
public synchronized void setLocation(@NotNull String key, Point point, @Nullable Project project)