Methods in org.elasticsearch.common.inject.internal that return Errors |
Errors |
Errors.addMessage(Message message)
|
Errors |
Errors.addMessage(String messageFormat,
Object... arguments)
|
Errors |
Errors.ambiguousTypeConversion(String stringValue,
Object source,
TypeLiteral<?> type,
MatcherAndConverter a,
MatcherAndConverter b)
|
Errors |
Errors.bindingAlreadySet(Key<?> key,
Object source)
|
Errors |
Errors.bindingToProvider()
|
Errors |
Errors.cannotBindToGuiceType(String simpleName)
|
Errors |
Errors.cannotInjectInnerClass(Class<?> type)
|
Errors |
Errors.cannotInjectRawMembersInjector()
|
Errors |
Errors.cannotInjectRawProvider()
|
Errors |
Errors.cannotInjectRawTypeLiteral()
|
Errors |
Errors.cannotInjectTypeLiteralOf(Type unsupportedType)
|
Errors |
Errors.cannotSatisfyCircularDependency(Class<?> expectedType)
|
Errors |
Errors.childBindingAlreadySet(Key<?> key)
|
Errors |
Errors.conversionError(String stringValue,
Object source,
TypeLiteral<?> type,
MatcherAndConverter matchingConverter,
RuntimeException cause)
|
Errors |
Errors.conversionTypeError(String stringValue,
Object source,
TypeLiteral<?> type,
MatcherAndConverter matchingConverter,
Object converted)
|
Errors |
Errors.converterReturnedNull(String stringValue,
Object source,
TypeLiteral<?> type,
MatcherAndConverter matchingConverter)
|
Errors |
Errors.duplicateBindingAnnotations(Member member,
Class<? extends Annotation> a,
Class<? extends Annotation> b)
|
Errors |
Errors.duplicateScopeAnnotations(Class<? extends Annotation> a,
Class<? extends Annotation> b)
|
Errors |
Errors.duplicateScopes(Scope existing,
Class<? extends Annotation> annotationType,
Scope scope)
|
Errors |
Errors.errorInjectingConstructor(Throwable cause)
|
Errors |
Errors.errorInjectingMethod(Throwable cause)
|
Errors |
Errors.errorInProvider(RuntimeException runtimeException)
|
Errors |
Errors.errorInUserCode(Throwable cause,
String messageFormat,
Object... arguments)
|
Errors |
Errors.errorInUserInjector(MembersInjector<?> listener,
TypeLiteral<?> type,
RuntimeException cause)
|
Errors |
Errors.errorNotifyingInjectionListener(InjectionListener<?> listener,
TypeLiteral<?> type,
RuntimeException cause)
|
Errors |
Errors.errorNotifyingTypeListener(TypeListenerBinding listener,
TypeLiteral<?> type,
Throwable cause)
|
Errors |
ErrorsException.getErrors()
|
Errors |
Errors.merge(Collection<Message> messages)
|
Errors |
Errors.merge(Errors moreErrors)
|
Errors |
Errors.misplacedBindingAnnotation(Member member,
Annotation bindingAnnotation)
|
Errors |
Errors.missingConstantValues()
|
Errors |
Errors.missingConstructor(Class<?> implementation)
|
Errors |
Errors.missingImplementation(Key key)
We use a fairly generic error message here. |
Errors |
Errors.missingRuntimeRetention(Object source)
|
Errors |
Errors.missingScopeAnnotation()
|
Errors |
Errors.notASubtype(Class<?> implementationType,
Class<?> type)
|
Errors |
Errors.optionalConstructor(Constructor constructor)
|
Errors |
Errors.recursiveBinding()
|
Errors |
Errors.recursiveImplementationType()
|
Errors |
Errors.recursiveProviderType()
|
Errors |
Errors.scopeAnnotationOnAbstractType(Class<? extends Annotation> scopeAnnotation,
Class<?> type,
Object source)
|
Errors |
Errors.scopeNotFound(Class<? extends Annotation> scopeAnnotation)
|
Errors |
Errors.subtypeNotProvided(Class<? extends Provider<?>> providerType,
Class<?> type)
|
Errors |
Errors.tooManyConstructors(Class<?> implementation)
|
Errors |
Errors.voidProviderMethod()
|
Errors |
Errors.withSource(Object source)
Returns an instance that uses source as a reference point for newly added errors. |
Methods in org.elasticsearch.common.inject.internal with parameters of type Errors |
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. |
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)
|