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

instanceOrNull

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

See Also

Graph.instanceOrNull