Binding

class Binding(val type: TypeToken<*>, val tag: Any? = null) : SearchDSL.Spec

A binding return type constrained spec.

Constructors

Link copied to clipboard
constructor(type: TypeToken<*>, tag: Any? = null)

Properties

Link copied to clipboard
val tag: Any? = null

An optional tag constraint.

Link copied to clipboard
val type: TypeToken<*>

The type constraint.

Functions

Link copied to clipboard
open override fun apply(specs: SearchSpecs)

Apply the function.