default <T> @Nullable Inlay<? extends T> getElementAt(@NotNull Point point, @NotNull Class<T> type) {
    //noinspection unchecked
    Inlay<? extends T> inlay = getElementAt(point);
    return inlay != null && type.isInstance(inlay.getRenderer()) ? inlay : null;
  }
default <T> @Nullable Inlay<? extends T> getElementAt(@NotNull Point point, @NotNull Class<T> type)