ScalaOptionBinder

net.codingwell.scalaguice.ScalaOptionBinder$
See theScalaOptionBinder companion trait

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

inline def newOptionBinder[T](binder: Binder): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of T in a scala.Option.

Returns a new optionbinder that binds an instance of T in a scala.Option.

Attributes

inline def newOptionBinder[T, Ann <: Annotation : ClassTag](binder: Binder): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of T in a scala.Option that is itself bound with a binding annotation Ann.

Returns a new optionbinder that binds an instance of T in a scala.Option that is itself bound with a binding annotation Ann.

Attributes

inline def newOptionBinder[T](binder: Binder, annotation: Annotation): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of T in a scala.Option that is itself bound with a binding annotation.

Returns a new optionbinder that binds an instance of T in a scala.Option that is itself bound with a binding annotation.

Attributes

inline def newOptionBinder[T](binder: Binder, typ: Class[T]): ScalaOptionBinder[T]

Returns a new optionbinder that binds typ in a scala.Option. Note that typ is ignored in favor of using the TypeTag to capture type arguments.

Returns a new optionbinder that binds typ in a scala.Option. Note that typ is ignored in favor of using the TypeTag to capture type arguments.

Attributes

def newOptionBinder[T](binder: Binder, typeLiteral: TypeLiteral[T]): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of the type represented by typeLiteral in a scala.Option.

Returns a new optionbinder that binds an instance of the type represented by typeLiteral in a scala.Option.

Attributes

def newOptionBinder[T](parentBinder: Binder, key: Key[T]): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of the type represented by key in a scala.Option. It may or may not be bound with a binding annotation (depending on the key).

Returns a new optionbinder that binds an instance of the type represented by key in a scala.Option. It may or may not be bound with a binding annotation (depending on the key).

Attributes

inline def newOptionalBinder[T](binder: Binder, typ: Class[T]): ScalaOptionBinder[T]

Returns a new optionbinder that binds typ in a scala.Option. Note that typ is ignored in favor of using the TypeTag to capture type arguments.

Returns a new optionbinder that binds typ in a scala.Option. Note that typ is ignored in favor of using the TypeTag to capture type arguments.

Attributes

def newOptionalBinder[T](binder: Binder, typeLiteral: TypeLiteral[T]): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of the type represented by typeLiteral in a scala.Option.

Returns a new optionbinder that binds an instance of the type represented by typeLiteral in a scala.Option.

Attributes

def newOptionalBinder[T](parentBinder: Binder, key: Key[T]): ScalaOptionBinder[T]

Returns a new optionbinder that binds an instance of the type represented by key in a scala.Option. It may or may not be bound with a binding annotation (depending on the key).

Returns a new optionbinder that binds an instance of the type represented by key in a scala.Option. It may or may not be bound with a binding annotation (depending on the key).

Attributes