Package com.episode6.mockspresso2.reflect
Types
Link copied to clipboard
data class DependencyKey<T>(val token: TypeToken<T>, val qualifier: Annotation? = null)
Content copied to clipboard
A representation of a binding "key" for Mockspresso's dependency Map. Every dependency in mockspresso is bound by a TypeToken and an optional qualifier Annotation.
Link copied to clipboard
Functions
Link copied to clipboard
inline fun <T> dependencyKey(qualifier: Annotation? = null): DependencyKey<T>
Content copied to clipboard
Creates a DependencyKey of type T + qualifier