SearchSpecs

open class SearchSpecs(    var contextType: TypeToken<*>? = null,     var argType: TypeToken<*>? = null,     var type: TypeToken<*>? = null,     var tag: Any? = NoDefinedTag)

Defines the specs to search bindings from (in)complete data with CopySpecs or DITree.find.

Constructors

Link copied to clipboard
fun SearchSpecs(    contextType: TypeToken<*>? = null,     argType: TypeToken<*>? = null,     type: TypeToken<*>? = null,     tag: Any? = NoDefinedTag)

Properties

Link copied to clipboard
var argType: TypeToken<*>? = null

The type of argument the bindings must take.

Link copied to clipboard
var contextType: TypeToken<*>? = null

The type of context the bindings must take.

Link copied to clipboard
var tag: Any?

The tag the bindings must be associated with.

Link copied to clipboard
var type: TypeToken<*>? = null

The type the bindings must return.

Inheritors

Link copied to clipboard