object JWinter
fun <R : Any> instance(graph: Graph, type: Class<R>, qualifier: Any? = null): R |
|
fun <R : Any> instanceOrNull(graph: Graph, type: Class<R>, qualifier: Any? = null): R? |
|
fun <R : Any> key(type: Class<R>, qualifier: Any? = null): TypeKey<R>
Creates a TypeKey with argument type Unit and return type R from a Java class. |
|
fun <R : Any> provider(graph: Graph, type: Class<R>, qualifier: Any? = null): Provider<R> |
|
fun <R : Any> providerOrNull(graph: Graph, type: Class<R>, qualifier: Any? = null): Provider<R>? |