public static @NotNull Element setLocation(@NotNull Element element, @NotNull String x, @NotNull String y, @NotNull Point location) {
    return element
      .setAttribute(x, Integer.toString(location.x))
      .setAttribute(y, Integer.toString(location.y));
  }
public static @NotNull Element setLocation(@NotNull Element element, @NotNull String x, @NotNull String y, @NotNull Point location)