@SuppressWarnings("checkstyle:MethodName")
  default <T> @UnknownNullability T getOrDefaultFrom(final @NotNull Pointer<T> pointer, final @NotNull Supplier<? extends T> defaultValue) {
    return this.get(pointer).orElseGet(defaultValue);
  }
Gets the value of {@code pointer}.

<p>If a value for {@code pointer} is unable to be provided, the value supplied by {@code defaultValue} will be returned.</p>

@param pointer the pointer
@param defaultValue the default value supplier
@param <T> the type
@return the value
@since 4.8.0
api/src/main/java/net/kyori/adventure/pointer/Pointers.java