public abstract class ModuleAssertor extends Object
| Constructor and Description |
|---|
ModuleAssertor() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> AnnotatedBindingBuilder<T> |
assertBind(Class<T> clss) |
protected <T> LinkedBindingBuilder<T> |
assertBind(com.google.inject.Key<T> key)
DSL Grammar.
|
protected TimedScopedBindingBuilder |
assertBind(Wildcard wildcard) |
ElementMap<? extends ElementAssertor<? extends com.google.inject.spi.Element>> |
assertions() |
abstract void |
configure() |
List<GlobalHolder> |
globalHolders() |
public ElementMap<? extends ElementAssertor<? extends com.google.inject.spi.Element>> assertions()
protected <T> LinkedBindingBuilder<T> assertBind(com.google.inject.Key<T> key)
::= ( assertBind(Key [T] ) | assertBind(TypeLiteral [T]) ) | assertBind (Class [T]) | ( assertBind(WildcardKey) | assertBind(WildcardTypeLiteral) ) | assertBind (WildcardClass) ; ======================================= Linked Binding Builder ================================================ ::= ( to(WildcardClass | to(WildcardTypeLiteral) | to (WildcardKey)) ) | toInstance(WildCardInstance) ; ::= ( to(Class[? extends T]) | to(TypeLiteral [T]) | to (Key[T]) ) | toInstance(T) | ; ::= ( to(Class[? extends T]) | to(TypeLiteral [T]) | to (Key[T]) ) | toInstance(T) | | ; ======================================= Annotated Binding Builder ================================================ ::= annotatedWith ( WildcardClass ) | annotatedWith ( WildCardAnnotation ) ; ::= annotatedWith ( Class extends Annotation> ) | annotatedWith ( Annotation ) | ; ::= // | annotatedWith ( Class extends Annotation> ) | annotatedWith ( Annotation ) | ; ======================================= Scoped Binding Builder ================================================ ::= in ( WildcardClass ) | in ( WildcardScope ) | asEagerSingletonWildcard () ; ::= in ( Class extends Annotation> ) | in ( Scope ) | asEagerSingleton () | ::= ( in ( Class extends Annotation> ) | in ( Scope ) | asEagerSingleton () ) | ; // ======================================= // Timed Builder // ================================================ // ::= once() | twice () | times(int) ; ;
protected <T> AnnotatedBindingBuilder<T> assertBind(Class<T> clss)
protected TimedScopedBindingBuilder assertBind(Wildcard wildcard)
public List<GlobalHolder> globalHolders()
public abstract void configure()
Copyright © 2014. All Rights Reserved.