object ScalaOptionBinder
- Alphabetic
- By Inheritance
- ScalaOptionBinder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- 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.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). - 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. - def newOptionBinder[T](binder: Binder, typ: Class[T])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ScalaOptionBinder[T]
Returns a new optionbinder that binds
typ
in a scala.Option.Returns a new optionbinder that binds
typ
in a scala.Option. Note thattyp
is ignored in favor of using the TypeTag to capture type arguments. - def newOptionBinder[T](binder: Binder, annotation: Annotation)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ScalaOptionBinder[T]
Returns a new optionbinder that binds an instance of
T
in a scala.Option that is itself bound with a binding annotation. - def newOptionBinder[T, Ann <: Annotation](binder: Binder)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[Ann]): ScalaOptionBinder[T]
Returns a new optionbinder that binds an instance of
T
in a scala.Option that is itself bound with a binding annotationAnn
. - def newOptionBinder[T](binder: Binder)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ScalaOptionBinder[T]
Returns a new optionbinder that binds an instance of
T
in a scala.Option. - 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.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). - 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. - def newOptionalBinder[T](binder: Binder, typ: Class[T])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ScalaOptionBinder[T]
Returns a new optionbinder that binds
typ
in a scala.Option.Returns a new optionbinder that binds
typ
in a scala.Option. Note thattyp
is ignored in favor of using the TypeTag to capture type arguments.