buildAny

inline fun <T : Any> buildAny(factory: Factory): Result<T>

Provided a JIRF factory, builds an instance of the requested type T or fails gracefully, returning a Result.


fun <T : Any> buildAny(type: Class<out T>, factory: Factory): Result<T>

Provided a JIRF factory, builds an instance of the requested type T or fails gracefully, returning a Result.