public class Key<T> extends Object
Key
is constructed by the Assembler
internally from the
@Inject
-annotated constructor's parameters and field that the dependent
component to be injected.Constructor and Description |
---|
Key(Class<T> type,
Set<Annotation> bindings)
Constructs a new
Key instance from the specified type and binding
annotations. |
public Key(Class<T> type, Set<Annotation> bindings)
Key
instance from the specified type and binding
annotations.type
- The class to qualify the component to be injected.bindings
- The binding annotations to qualify the component to be injected.public Class<T> type()
public Set<Annotation> bindings()
Copyright © 2011-2014 Eiichiro Uchiumi. All Rights Reserved.