Uses of Class
com.google.inject.internal.ErrorsException
Packages that use ErrorsException
Package
Description
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar.Guice (sounds like "juice")
-
Uses of ErrorsException in com.google.inject.assistedinject
Methods in com.google.inject.assistedinject that throw ErrorsExceptionModifier and TypeMethodDescriptionprivate <T> Key<T> Returns a key similar tokey, but with an @Assisted binding annotation.private booleanFactoryProvider2.constructorHasMatchingParams(TypeLiteral<?> type, Constructor<?> constructor, List<Key<?>> paramList, Errors errors) Matching logic for constructors annotated with AssistedInject.private <T> InjectionPointFactoryProvider2.findMatchingConstructorInjectionPoint(Method method, Key<?> returnType, TypeLiteral<T> implementation, List<Key<?>> paramList) Finds a constructor suitable for the method. -
Uses of ErrorsException in com.google.inject.internal
Methods in com.google.inject.internal that return ErrorsExceptionMethods in com.google.inject.internal that throw ErrorsExceptionModifier and TypeMethodDescriptionprivate <T> BindingImpl<T> InjectorImpl.convertConstantStringBinding(Key<T> key, Errors errors) Converts a constant string binding to the required type.ConstructionProxyFactory.create()Gets a construction proxy for the given constructor.(package private) static <T> ConstructorBindingImpl<T> ConstructorBindingImpl.create(InjectorImpl injector, Key<T> key, InjectionPoint constructorInjector, Object source, Scoping scoping, Errors errors, boolean failIfNotLinked, boolean atInjectRequired) protected abstract VProxyFactory.create()private <T> ConstructorInjector<T> ConstructorInjectorStore.createConstructor(InjectionPoint injectionPoint, Errors errors) private <T> BindingImpl<T> InjectorImpl.createImplementedByBinding(Key<T> key, Scoping scoping, ImplementedBy implementedBy, Errors errors) Creates a binding for a type annotated with @ImplementedBy.private <T> BindingImpl<T> InjectorImpl.createJustInTimeBinding(Key<T> key, Errors errors, boolean jitDisabled, InjectorImpl.JitLimitation jitType) Returns a new just-in-time binding created by resolvingkey.private <T> BindingImpl<T> InjectorImpl.createJustInTimeBindingRecursive(Key<T> key, Errors errors, boolean jitDisabled, InjectorImpl.JitLimitation jitType) Attempts to create a just-in-time binding forkeyin the root injector, falling back to other ancestor injectors until this injector is tried.private <T> BindingImpl<MembersInjector<T>> InjectorImpl.createMembersInjectorBinding(Key<MembersInjector<T>> key, Errors errors) (package private) <T> SingleParameterInjector<T> InjectorImpl.createParameterInjector(Dependency<T> dependency, Errors errors) (package private) <T> BindingImpl<T> InjectorImpl.createProvidedByBinding(Key<T> key, Scoping scoping, ProvidedBy providedBy, Errors errors) Creates a binding for a type annotated with @ProvidedBy.private <T> BindingImpl<Provider<T>> InjectorImpl.createSyntheticProviderBinding(Key<Provider<T>> key, Errors errors) Creates a synthetic binding toProvider<T>, i.e.private <T> BindingImpl<TypeLiteral<T>> InjectorImpl.createTypeLiteralBinding(Key<TypeLiteral<T>> key, Errors errors) Converts a binding for aKey<TypeLiteral<T>>to the valueTypeLiteral<T>.(package private) <T> BindingImpl<T> InjectorImpl.createUninitializedBinding(Key<T> key, Scoping scoping, Object source, Errors errors, boolean jitBinding) Creates a binding for an injectable type with the given scope.private <T> MembersInjectorImpl<T> MembersInjectorStore.createWithListeners(TypeLiteral<T> type, Errors errors) Creates a new members injector and attaches both injection listeners and method aspects.protected voidRealMapBinder.ExtensionRealMapProvider.doInitialize(InjectorImpl injector, Errors errors) protected voidRealMapBinder.MultimapBinder.RealMultimapProvider.doInitialize(InjectorImpl injector, Errors errors) protected abstract voidRealMapBinder.RealMapBinderProviderWithDependencies.doInitialize(InjectorImpl injector, Errors errors) Initialize the factory.protected voidRealMapBinder.RealMapProvider.doInitialize(InjectorImpl injector, Errors errors) (package private) abstract voidRealMapBinder.RealMultimapBinderProviderWithDependencies.doInitialize(InjectorImpl injector, Errors errors) Initialize the factory.ConstructorInjectorStore.get(InjectionPoint constructorInjector, Errors errors) Returns a new complete constructor injector with injection listeners registered.<T> MembersInjectorImpl<T> MembersInjectorStore.get(TypeLiteral<T> key, Errors errors) Returns a new complete members injector with injection listeners registered.(package private) <T> BindingImpl<T> InjectorImpl.getBindingOrThrow(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType) Gets a binding implementation.(package private) <T> InternalFactory<? extends T> InjectorImpl.getInternalFactory(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType) private <T> BindingImpl<T> InjectorImpl.getJustInTimeBinding(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType) Returns a just-in-time binding forkey, creating it if necessary.static Key<?> Annotations.getKey(TypeLiteral<?> type, Member member, Annotation[] annotations, Errors errors) Gets a key for the given type, member and annotations.(package private) SingleParameterInjector<?>[]InjectorImpl.getParametersInjectors(List<Dependency<?>> parameters, Errors errors) Returns parameter injectors, ornullif there are no parameters.private static <T> Key<T> InjectorImpl.getProvidedKey(Key<Provider<T>> key, Errors errors) (package private) <T> Provider<T> InjectorImpl.getProviderOrThrow(Dependency<T> dependency, Errors errors) voidConstructorBindingImpl.initialize(InjectorImpl injector, Errors errors) voidDelayedInitialize.initialize(InjectorImpl injector, Errors errors) Initializes this binding, throwing any errors if necessary.(package private) abstract voidInternalProviderInstanceBindingImpl.Factory.initialize(InjectorImpl injector, Errors errors) A callback that allows for implementations to fetch dependencies on other bindings.voidInternalProviderInstanceBindingImpl.initialize(InjectorImpl injector, Errors errors) voidLinkedProviderBindingImpl.initialize(InjectorImpl injector, Errors errors) voidProvidedByInternalFactory.initialize(InjectorImpl injector, Errors errors) (package private) voidProviderMethod.initialize(InjectorImpl injector, Errors errors) (package private) final voidRealMapBinder.RealMapBinderProviderWithDependencies.initialize(InjectorImpl injector, Errors errors) (package private) final voidRealMapBinder.RealMultimapBinderProviderWithDependencies.initialize(InjectorImpl injector, Errors errors) This will get the authoritativeRealMapBinder.BindingSelectionfrom the map provider.(package private) voidRealMultibinder.BaseFactory.initialize(InjectorImpl injector, Errors errors) (package private) voidRealMultibinder.BindingSelection.initialize(InjectorImpl injector, Errors errors) (package private) final voidRealOptionalBinder.RealOptionalBinderProviderWithDependencies.initialize(InjectorImpl injector, Errors errors) (package private) <T> voidInjectorImpl.initializeBinding(BindingImpl<T> binding, Errors errors) (package private) <T> voidInjectorImpl.initializeJitBinding(BindingImpl<T> binding, Errors errors) voidErrors.throwIfNewErrors(int expectedSize) voidConstructors in com.google.inject.internal that throw ErrorsExceptionModifierConstructorDescription(package private)ProxyFactory(InjectionPoint injectionPoint, Iterable<MethodAspect> methodAspects) SingleFieldInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors) (package private)SingleMethodInjector(InjectorImpl injector, InjectionPoint injectionPoint, Errors errors)