getBindConstructor
open fun getBindConstructor(type: Class<out Any>, isNestedConstructorBinding: Boolean): Constructor<out Any>
Return the bind constructor to use for the given type, or null
if constructor binding is not supported.
Return
the bind constructor or null
Since
3.0.0
Parameters
type
the type to check
isNestedConstructorBinding
if this binding is nested within a constructorbinding
abstract fun getBindConstructor(bindable: Bindable<out Any>, isNestedConstructorBinding: Boolean): Constructor<out Any>
Return the bind constructor to use for the given bindable, or null
if constructor binding is not supported.
Return
the bind constructor or null
Parameters
bindable
the bindable to check
isNestedConstructorBinding
if this binding is nested within a constructorbinding