Package | Description |
---|---|
com.google.inject.internal |
Guice (sounds like "juice")
|
Modifier and Type | Method | Description |
---|---|---|
static void |
Annotations.checkForMisplacedScopeAnnotations(Class<?> type,
Object source,
Errors errors) |
Adds an error if there is a misplaced annotations on
type . |
protected abstract V |
FailableCache.create(K key,
Errors errors) |
|
static Annotation |
Annotations.findBindingAnnotation(Errors errors,
Member member,
Annotation[] annotations) |
Returns the binding annotation on
member , or null if there isn't one. |
static Class<? extends Annotation> |
Annotations.findScopeAnnotation(Errors errors,
Annotation[] annotations) |
Returns the scoping annotation, or null if there isn't one.
|
static Class<? extends Annotation> |
Annotations.findScopeAnnotation(Errors errors,
Class<?> implementation) |
Returns the scope annotation on
type , or null if none is specified. |
V |
FailableCache.get(K key,
Errors errors) |
|
static Key<?> |
Annotations.getKey(TypeLiteral<?> type,
Member member,
Annotation[] annotations,
Errors errors) |
Gets a key for the given type, member and annotations.
|
Errors |
Errors.merge(Errors moreErrors) |
Constructor | Description |
---|---|
ErrorsException(Errors errors) |
Copyright © 2006–2018 Google, Inc.. All rights reserved.