| Package | Description |
|---|---|
| com.google.inject |
Google Guice (pronounced "juice") is an ultra-lightweight dependency
injection framework.
|
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
Key.AnnotationInstanceStrategy |
(package private) static class |
Key.AnnotationTypeStrategy |
(package private) static class |
Key.NullAnnotationStrategy |
| Modifier and Type | Field and Description |
|---|---|
private Key.AnnotationStrategy |
Key.annotationStrategy |
| Modifier and Type | Method and Description |
|---|---|
(package private) static Key.AnnotationStrategy |
Key.strategyFor(java.lang.annotation.Annotation annotation)
Gets the strategy for an annotation.
|
(package private) static Key.AnnotationStrategy |
Key.strategyFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Gets the strategy for an annotation type.
|
Key.AnnotationStrategy |
Key.AnnotationStrategy.withoutAttributes() |
Key.AnnotationStrategy |
Key.NullAnnotationStrategy.withoutAttributes() |
Key.AnnotationStrategy |
Key.AnnotationInstanceStrategy.withoutAttributes() |
Key.AnnotationStrategy |
Key.AnnotationTypeStrategy.withoutAttributes() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <T> Key<T> |
Key.get(java.lang.Class<T> type,
Key.AnnotationStrategy annotationStrategy)
Gets a key for an injection type and an annotation strategy.
|
| Constructor and Description |
|---|
Key(java.lang.reflect.Type type,
Key.AnnotationStrategy annotationStrategy)
Unsafe.
|
Key(TypeLiteral<T> typeLiteral,
Key.AnnotationStrategy annotationStrategy)
Constructs a key from a manually specified type.
|