@Override
  public Rectangle getBoundsFor(Object object, @NotNull String key) {
    return getFor(object, key, Rectangle.class);
  }
@Override
  public Rectangle getBoundsFor(Object object, @NotNull String key)