Internal Binding Marker
annotation class InternalBindingMarker(val originClass: KClass<*>, val isMultibinding: Boolean, val rank: Int = Int.MIN_VALUE, val qualifierKey: String = "")
An internal Anvil API used to propagate binding metadata from contributed bindings. Should not be used directly.
Note the reader of this should also check the single binds function in the annotated module to read the bound type, possible qualifier, and possible @MapKey/@IntoSet annotations.
Parameters
origin Class
the origin class that contributed the binding. This is important to include because the contributed binding may be an object and cannot be specified as a binding parameter.
is Multibinding
Whether this is a multibinding.
rank
The rank of the contributed binding. Corresponds to a ContributesBinding.rank.
qualifier Key
The computed key of the qualifier annotation if present. Empty otherwise.