Package | Description |
---|---|
org.elasticsearch.common.inject.internal |
Guice (sounds like like "juice")
|
Modifier and Type | Method and 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) |
Object |
ConstructionContext.createProxy(Errors errors,
Class<?> expectedType) |
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. |
T |
InternalFactory.get(Errors errors,
InternalContext context,
Dependency<?> dependency)
Creates an object to be injected.
|
T |
InternalFactory.Instance.get(Errors errors,
InternalContext context,
Dependency<?> dependency) |
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.
|
void |
ErrorHandler.handle(Object source,
Errors errors)
Handles an error.
|
Errors |
Errors.merge(Errors moreErrors) |
Constructor and Description |
---|
ErrorsException(Errors errors) |
Copyright © 2009–2015. All rights reserved.