winter-java / io.jentz.winter.java / JWinter / providerOrNull

providerOrNull

@JvmStatic @JvmOverloads fun <R : Any> providerOrNull(graph: Graph, type: Class<R>, qualifier: Any? = null): Provider<R>?
@JvmStatic @JvmOverloads fun <A, R : Any> providerOrNull(graph: Graph, argumentType: Class<A>, returnType: Class<R>, qualifier: Any? = null, argument: A): Provider<R>?

See Also

Graph.providerOrNull