@Nonnull
	public static <T> ToStringConverter<T> from(@Nonnull Function<T, String> func) {
		return new ToStringConverter<>() {
			@Override
			public String toString(T t) {
				return func.apply(t);
			}
		};
	}
@param func
		Conversion func.
@param <T>
		Type to convert.

@return Converter from function.
recaf-ui/src/main/java/software/coley/recaf/util/ToStringConverter.java