static <V> PathValue<V> of(final Path path, final V value) {
		record SimplePathValue<V>(Path path, V value) implements PathValue<V> {
			SimplePathValue {
				requireNonNull(path);
			}
		}

		return new SimplePathValue<>(path, value);
	}
Create a new path value from the given {@code path} and {@code value}.
The path {@code value} may be {@code null}.

@param path the path
@param value the path {@code value}, may be {@code null}
@return a new path value object
@param <V> the path value type
@throws NullPointerException if the given {@code path} is {@code null}
jenetics.incubator/src/main/java/io/jenetics/incubator/beans/PathValue.java