Uses of Class
com.google.inject.internal.Errors
Packages that use Errors
-
Uses of Errors in com.google.inject.internal
Methods in com.google.inject.internal that return ErrorsModifier and TypeMethodDescriptionErrors.addMessage
(ErrorId errorId, String messageFormat, Object... arguments) Errors.addMessage
(Message message) Errors.addMessage
(String messageFormat, Object... arguments) Errors.ambiguousTypeConversion
(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding a, TypeConverterBinding b) Errors.aopDisabled
(InterceptorBinding binding) Errors.atInjectRequired
(TypeLiteral<?> type) Errors.atTargetIsMissingParameter
(Annotation bindingAnnotation, String parameterName, Class<?> clazz) Errors.bindingAlreadySet
(Key<?> key, Object source) Errors.bindingToProvider()
Errors.cannotBindToGuiceType
(String simpleName) Errors.cannotInjectAbstractMethod
(Method method) Errors.cannotInjectFinalField
(Field field) Errors.cannotInjectInnerClass
(Class<?> type) Errors.cannotInjectLocalClass
(Class<?> type) Errors.cannotInjectMethodWithTypeParameters
(Method method) Errors.cannotInjectRawMembersInjector()
Errors.cannotInjectRawProvider()
Errors.cannotInjectRawTypeLiteral()
Errors.cannotInjectTypeLiteralOf
(Type unsupportedType) Errors.childBindingAlreadySet
(Key<?> key, Set<Object> sources) Errors.constructorNotDefinedByType
(Constructor<?> constructor, TypeLiteral<?> type) Errors.conversionError
(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding typeConverterBinding, RuntimeException cause) Errors.conversionTypeError
(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding typeConverterBinding, Object converted) Errors.converterReturnedNull
(String stringValue, Object source, TypeLiteral<?> type, TypeConverterBinding typeConverterBinding) Errors.duplicateBindingAnnotations
(Member member, Class<? extends Annotation> a, Class<? extends Annotation> b) <K,
V> Errors Errors.duplicateMapKey
(Key<Map<K, V>> mapKey, com.google.common.collect.Multimap<K, Binding<V>> duplicates) Errors.duplicateScopeAnnotations
(Class<? extends Annotation> a, Class<? extends Annotation> b) Errors.duplicateScopes
(ScopeBinding existing, Class<? extends Annotation> annotationType, Scope scope) Errors.errorCheckingDuplicateBinding
(Key<?> key, Object source, Throwable t) Errors.errorEnhancingClass
(Class<?> clazz, Throwable cause) Errors.errorInUserCode
(Throwable cause, String messageFormat, Object... arguments) Errors.errorNotifyingTypeListener
(TypeListenerBinding listener, TypeLiteral<?> type, Throwable cause) Errors.exposedButNotBound
(Key<?> key) ErrorsException.getErrors()
Errors.jitBindingAlreadySet
(Key<?> key) Errors.jitDisabled
(Key<?> key) Errors.jitDisabledInParent
(Key<?> key) Errors.keyNotFullySpecified
(TypeLiteral<?> typeLiteral) Errors.merge
(InternalProvisionException ipe) Errors.merge
(Collection<Message> messages) Errors.misplacedBindingAnnotation
(Member member, Annotation bindingAnnotation) Errors.missingConstantValues()
Errors.missingConstructor
(TypeLiteral<?> type) Errors.missingImplementation
(Key<?> key) We use a fairly generic error message here.Errors.missingRuntimeRetention
(Class<? extends Annotation> annotation) Errors.missingScopeAnnotation
(Class<? extends Annotation> annotation) Errors.notASubtype
(Class<?> implementationType, Class<?> type) Errors.optionalConstructor
(Constructor<?> constructor) Errors.recursiveBinding
(Key<?> key, Key<?> linkedKey) Errors.recursiveImplementationType()
Errors.recursiveProviderType()
Errors.scopeAnnotationOnAbstractType
(Class<? extends Annotation> scopeAnnotation, Class<?> type, Object source) Errors.scopeNotFound
(Class<? extends Annotation> scopeAnnotation) Errors.staticInjectionOnInterface
(Class<?> clazz) Errors.tooManyConstructors
(Class<?> implementation) Errors.voidProviderMethod()
Errors.withSource
(Object source) Returns an instance that usessource
as a reference point for newly added errors.Methods in com.google.inject.internal with parameters of type ErrorsModifier and TypeMethodDescriptionvoid
KotlinSupportInterface.checkConstructorParameterAnnotations
(Constructor<?> constructor, Errors errors) Checks for any errors on the constructor's parameters's annotations.static void
Annotations.checkForMisplacedScopeAnnotations
(Class<?> type, Object source, Errors errors) Adds an error if there is a misplaced annotations ontype
.protected abstract V
static Annotation
Annotations.findBindingAnnotation
(Errors errors, Member member, Annotation[] annotations) Returns the binding annotation onmember
, 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 ontype
, or null if none is specified.static Key
<?> Annotations.getKey
(TypeLiteral<?> type, Member member, Annotation[] annotations, Errors errors) Gets a key for the given type, member and annotations.Constructors in com.google.inject.internal with parameters of type Errors