Uses of Class
com.google.inject.Key
-
Packages that use Key Package Description com.google.inject Google Guice (pronounced "juice") is an ultra-lightweight dependency injection framework.com.google.inject.assistedinject Extension for combining factory interfaces with injection; this extension requiresguice-assistedinject.jar.com.google.inject.binder Interfaces which make upBinder's expression language.com.google.inject.grapher com.google.inject.internal Guice (sounds like "juice")com.google.inject.multibindings Extension for binding multiple instances in a collection; this extension requiresguice-multibindings.jar.com.google.inject.servlet Servlet API scopes, bindings and registration; this extension requiresguice-servlet.jar.com.google.inject.spi Guice service provider interfacecom.google.inject.throwingproviders Extension for injecting objects that may throw at provision time; this extension requiresguice-throwingproviders.jar. -
-
Uses of Key in com.google.inject
Methods in com.google.inject that return Key Modifier and Type Method Description static <T> Key<T>Key. get(TypeLiteral<T> typeLiteral)Gets a key for an injection type.static <T> Key<T>Key. get(TypeLiteral<T> typeLiteral, java.lang.annotation.Annotation annotation)Gets a key for an injection type and an annotation.static <T> Key<T>Key. get(TypeLiteral<T> typeLiteral, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Gets a key for an injection type and an annotation type.static <T> Key<T>Key. get(java.lang.Class<T> type)Gets a key for an injection type.(package private) static <T> Key<T>Key. get(java.lang.Class<T> type, Key.AnnotationStrategy annotationStrategy)Gets a key for an injection type and an annotation strategy.static <T> Key<T>Key. get(java.lang.Class<T> type, java.lang.annotation.Annotation annotation)Gets a key for an injection type and an annotation.static <T> Key<T>Key. get(java.lang.Class<T> type, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Gets a key for an injection type and an annotation type.static Key<?>Key. get(java.lang.reflect.Type type)Gets a key for an injection type.static Key<?>Key. get(java.lang.reflect.Type type, java.lang.annotation.Annotation annotation)Gets a key for an injection type and an annotation.static Key<?>Key. get(java.lang.reflect.Type type, java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)Gets a key for an injection type and an annotation type.Key<T>Binding. getKey()Returns the key for this binding.<T> Key<T>Key. ofType(TypeLiteral<T> type)Returns a new key of the specified type with the same annotation as this key.<T> Key<T>Key. ofType(java.lang.Class<T> type)Returns a new key of the specified type with the same annotation as this key.Key<?>Key. ofType(java.lang.reflect.Type type)Returns a new key of the specified type with the same annotation as this key.(package private) Key<Provider<T>>Key. providerKey()Gets the key of this key's provider.Key<T>Key. withoutAttributes()Returns this key without annotation attributes, i.e.Methods in com.google.inject that return types with arguments of type Key Modifier and Type Method Description java.util.Map<Key<?>,Binding<?>>Injector. getAllBindings()Returns a snapshot of this injector's bindings, both explicit and just-in-time.java.util.Map<Key<?>,Binding<?>>Injector. getBindings()Returns this injector's explicit bindings.Methods in com.google.inject with parameters of type Key Modifier and Type Method Description protected <T> LinkedBindingBuilder<T>AbstractModule. bind(Key<T> key)<T> LinkedBindingBuilder<T>Binder. bind(Key<T> key)See the EDSL examples atBinder.protected <T> LinkedBindingBuilder<T>PrivateModule. bind(Key<T> key)voidPrivateBinder. expose(Key<?> key)Makes the binding forkeyavailable to the enclosing environmentprotected <T> voidPrivateModule. expose(Key<T> key)Makes the binding forkeyavailable to other modules and the injector.<T> Binding<T>Injector. getBinding(Key<T> key)Returns the binding for the given injection key.<T> Binding<T>Injector. getExistingBinding(Key<T> key)Returns the binding if it already exists, or null if does not exist.<T> TInjector. getInstance(Key<T> key)Returns the appropriate instance for the given injection key; equivalent togetProvider(key).get().protected <T> Provider<T>AbstractModule. getProvider(Key<T> key)<T> Provider<T>Binder. getProvider(Key<T> key)Returns the provider used to obtain instances for the given injection key.<T> Provider<T>Injector. getProvider(Key<T> key)Returns the provider used to obtain instances for the given injection key.protected <T> Provider<T>PrivateModule. getProvider(Key<T> key)protected voidAbstractModule. requireBinding(Key<?> key)Adds a dependency from this module tokey.protected voidPrivateModule. requireBinding(Key<?> key)Instructs Guice to require a binding to the given key.<T> Provider<T>Scope. scope(Key<T> key, Provider<T> unscoped)Scopes a provider. -
Uses of Key in com.google.inject.assistedinject
Fields in com.google.inject.assistedinject declared as Key Modifier and Type Field Description private Key<F>FactoryProvider2. factoryKeyThe key that this is bound to.(package private) Key<?>FactoryProvider2.AssistData. returnTypethe return type in the factory method that the constructor is bound to.Fields in com.google.inject.assistedinject with type parameters of type Key Modifier and Type Field Description private java.util.Map<Key<?>,TypeLiteral<?>>BindingCollector. bindings(package private) com.google.common.collect.ImmutableList<Key<?>>FactoryProvider2.AssistData. paramTypesthe parameters in the factory method associated with this data.Methods in com.google.inject.assistedinject that return Key Modifier and Type Method Description private <T> Key<T>FactoryProvider2. assistKey(java.lang.reflect.Method method, Key<T> key, Errors errors)Returns a key similar tokey, but with an @Assisted binding annotation.Key<?>Parameter. fixAnnotations(Key<?> key)Replace annotation instances with annotation types, this is only appropriate for testing if a key is bound and not for injecting.private Key<?>Parameter. getBindingForType(java.lang.reflect.Type type)Key<T>AssistedInjectBinding. getKey()Returns theKeyfor the factory binding.Key<F>FactoryProvider2. getKey()(package private) Key<?>Parameter. getPrimaryBindingKey()Methods in com.google.inject.assistedinject that return types with arguments of type Key Modifier and Type Method Description java.util.Map<Key<?>,TypeLiteral<?>>BindingCollector. getBindings()Methods in com.google.inject.assistedinject with parameters of type Key Modifier and Type Method Description BindingCollectorBindingCollector. addBinding(Key<?> key, TypeLiteral<?> target)private <T> Key<T>FactoryProvider2. assistKey(java.lang.reflect.Method method, Key<T> key, Errors errors)Returns a key similar tokey, but with an @Assisted binding annotation.<F> ModuleFactoryModuleBuilder. build(Key<F> factoryInterface)private <T> InjectionPointFactoryProvider2. findMatchingConstructorInjectionPoint(java.lang.reflect.Method method, Key<?> returnType, TypeLiteral<T> implementation, java.util.List<Key<?>> paramList)Finds a constructor suitable for the method.Key<?>Parameter. fixAnnotations(Key<?> key)Replace annotation instances with annotation types, this is only appropriate for testing if a key is bound and not for injecting.<T> FactoryModuleBuilderFactoryModuleBuilder. implement(Key<T> source, TypeLiteral<? extends T> target)See the factory configuration examples atFactoryModuleBuilder.<T> FactoryModuleBuilderFactoryModuleBuilder. implement(Key<T> source, java.lang.Class<? extends T> target)See the factory configuration examples atFactoryModuleBuilder.private booleanParameter. isBound(Injector injector, Key<?> key)Method parameters in com.google.inject.assistedinject with type arguments of type Key Modifier and Type Method Description private booleanFactoryProvider2. constructorHasMatchingParams(TypeLiteral<?> type, java.lang.reflect.Constructor<?> constructor, java.util.List<Key<?>> paramList, Errors errors)Matching logic for constructors annotated with AssistedInject.private <T> InjectionPointFactoryProvider2. findMatchingConstructorInjectionPoint(java.lang.reflect.Method method, Key<?> returnType, TypeLiteral<T> implementation, java.util.List<Key<?>> paramList)Finds a constructor suitable for the method.Constructors in com.google.inject.assistedinject with parameters of type Key Constructor Description AssistData(java.lang.reflect.Constructor<?> constructor, Key<?> returnType, com.google.common.collect.ImmutableList<Key<?>> paramTypes, TypeLiteral<?> implementationType, java.lang.reflect.Method factoryMethod, java.util.Set<Dependency<?>> dependencies, boolean optimized, java.util.List<FactoryProvider2.ThreadLocalProvider> providers)FactoryProvider2(Key<F> factoryKey, BindingCollector collector)Constructor parameters in com.google.inject.assistedinject with type arguments of type Key Constructor Description AssistData(java.lang.reflect.Constructor<?> constructor, Key<?> returnType, com.google.common.collect.ImmutableList<Key<?>> paramTypes, TypeLiteral<?> implementationType, java.lang.reflect.Method factoryMethod, java.util.Set<Dependency<?>> dependencies, boolean optimized, java.util.List<FactoryProvider2.ThreadLocalProvider> providers) -
Uses of Key in com.google.inject.binder
Methods in com.google.inject.binder with parameters of type Key Modifier and Type Method Description ScopedBindingBuilderLinkedBindingBuilder. to(Key<? extends T> targetKey)See the EDSL examples atBinder.ScopedBindingBuilderLinkedBindingBuilder. toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey)See the EDSL examples atBinder. -
Uses of Key in com.google.inject.grapher
Fields in com.google.inject.grapher declared as Key Modifier and Type Field Description private Key<?>NodeId. keyprivate static Key<java.util.logging.Logger>DefaultRootKeySetCreator. loggerKeyMethods in com.google.inject.grapher that return Key Modifier and Type Method Description Key<?>NodeId. getKey()Methods in com.google.inject.grapher that return types with arguments of type Key Modifier and Type Method Description java.util.Set<Key<?>>DefaultRootKeySetCreator. getRootKeys(Injector injector)java.util.Set<Key<?>>RootKeySetCreator. getRootKeys(Injector injector)Returns the set of starting keys to graph.java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(ConstructorBinding<?> binding)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(ConvertedConstantBinding<?> binding)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(InstanceBinding<?> binding)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(LinkedKeyBinding<?> binding)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(ProviderBinding<?> binding)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(ProviderInstanceBinding<?> binding)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visit(ProviderKeyBinding<?> binding)private java.util.Collection<Key<?>>TransitiveDependencyVisitor. visitHasDependencies(HasDependencies hasDependencies)java.util.Collection<Key<?>>TransitiveDependencyVisitor. visitOther(Binding<?> binding)Methods in com.google.inject.grapher with parameters of type Key Modifier and Type Method Description java.lang.StringNameFactory. getAnnotationName(Key<?> key)java.lang.StringShortNameFactory. getAnnotationName(Key<?> key)java.lang.StringNameFactory. getClassName(Key<?> key)java.lang.StringShortNameFactory. getClassName(Key<?> key)static NodeIdNodeId. newInstanceId(Key<?> key)static NodeIdNodeId. newTypeId(Key<?> key)Method parameters in com.google.inject.grapher with type arguments of type Key Modifier and Type Method Description private java.lang.Iterable<Binding<?>>AbstractInjectorGrapher. getBindings(Injector injector, java.util.Set<Key<?>> root)Returns the bindings for the root keys and their transitive dependencies.voidAbstractInjectorGrapher. graph(Injector injector, java.util.Set<Key<?>> root)voidInjectorGrapher. graph(Injector injector, java.util.Set<Key<?>> root)Graphs the guice dependency graph for the given injector using the given starting keys and their transitive dependencies.Constructors in com.google.inject.grapher with parameters of type Key Constructor Description NodeId(Key<?> key, NodeId.NodeType nodeType) -
Uses of Key in com.google.inject.internal
Fields in com.google.inject.internal declared as Key Modifier and Type Field Description private Key<T>RealOptionalBinder.BindingSelection. actualBindingKeylazily allocated, byRealOptionalBinder.BindingSelection.getKeyForActualBinding().private Key<java.util.Collection<javax.inject.Provider<T>>>RealMultibinder.BindingSelection. collectionOfJavaxProvidersKeyprivate Key<java.util.Collection<Provider<T>>>RealMultibinder.BindingSelection. collectionOfProvidersKeyprivate Key<T>RealOptionalBinder.BindingSelection. defaultBindingKeylazily allocated, byRealOptionalBinder.BindingSelection.getKeyForDefaultBinding().private Key<java.util.Set<java.util.Map.Entry<K,javax.inject.Provider<V>>>>RealMapBinder.BindingSelection. entrySetJavaxProviderKeyprivate Key<java.util.Map<K,java.util.Collection<javax.inject.Provider<V>>>>RealMapBinder.BindingSelection. javaxProviderCollectionMultimapKeyprivate Key<java.util.Map<K,javax.inject.Provider<V>>>RealMapBinder.BindingSelection. javaxProviderMapKeyprivate Key<java.util.Map<K,java.util.Set<javax.inject.Provider<V>>>>RealMapBinder.BindingSelection. javaxProviderSetMultimapKey(package private) Key<T>AbstractBindingProcessor.Processor. keyprivate Key<T>BindingImpl. keyprivate Key<?>ConstructorBindingImpl.Factory. keyprivate Key<T>ExposedKeyFactory. keyprivate Key<T>ExposureBuilder. keyprivate Key<T>FactoryProxy. keyprivate Key<T>Initializer.InjectableReference. keyprivate Key<T>ProviderMethod. key(package private) Key<?>ProvisionListenerCallbackStore.KeyBinding. keyprivate Key<java.lang.Boolean>RealMultibinder.PermitDuplicatesModule. keyprivate Key<T>RealOptionalBinder.BindingSelection. key(package private) Key<?>WeakKeySet.KeyAndSource. keyprivate Key<java.util.Map<K,V>>RealMapBinder.BindingSelection. mapKey(package private) Key<java.util.Map<K,V>>RealMapBinder.RealMultimapBinderProviderWithDependencies. mapKeyprivate Key<java.util.Map<K,java.util.Set<V>>>RealMapBinder.BindingSelection. multimapKeyprotected static Key<?>AbstractBindingBuilder. NULL_KEYprivate Key<java.util.Optional<T>>RealOptionalBinder.JavaOptionalProvider. optionalKeyprivate Key<com.google.common.base.Optional<T>>RealOptionalBinder.RealOptionalKeyProvider. optionalKeyprivate Key<java.lang.Boolean>RealMultibinder.BindingSelection. permitDuplicatesKeyprivate Key<java.util.Map<K,java.util.Collection<Provider<V>>>>RealMapBinder.BindingSelection. providerCollectionMultimapKey(package private) Key<? extends javax.inject.Provider<? extends T>>BoundProviderFactory. providerKey(package private) Key<? extends javax.inject.Provider<? extends T>>LinkedProviderBindingImpl. providerKeyprivate Key<? extends javax.inject.Provider<T>>ProvidedByInternalFactory. providerKeyprivate Key<java.util.Map<K,Provider<V>>>RealMapBinder.BindingSelection. providerMapKeyprivate Key<java.util.Map<K,java.util.Set<Provider<V>>>>RealMapBinder.BindingSelection. providerSetMultimapKeyprivate Key<java.util.Set<T>>RealMultibinder.BindingSelection. setKeyprivate Key<? extends T>FactoryProxy. targetKey(package private) Key<? extends T>LinkedBindingImpl. targetKeyprivate Key<? extends T>RealOptionalBinder.RealDirectTypeProvider. targetKeyprivate Key<V>RealMapBinder.ProviderMapEntry. valueKeyFields in com.google.inject.internal with type parameters of type Key Modifier and Type Field Description private java.util.Map<Key<?>,com.google.common.collect.Multiset<java.lang.Object>>WeakKeySet. backingMapprivate static CycleDetectingLock.CycleDetectingLockFactory<Key<?>>SingletonScope. cycleDetectingLockFactoryAllows us to detect when circular proxies are necessary.private java.util.Map<Key<?>,Binding<?>>InheritingState. explicitBindingsprivate java.util.Map<Key<?>,Binding<?>>InheritingState. explicitBindingsMutableprivate com.google.common.collect.ImmutableMap<Key<?>,java.lang.Object>PrivateElementsImpl. exposedKeysToSourceslazily instantiated(package private) java.util.Set<Key<?>>InjectorImpl. failedJitBindingsCache of Keys that we were unable to create JIT bindings for, so we don't keep trying.private static com.google.common.collect.ImmutableSet<Key<?>>ProvisionListenerCallbackStore. INTERNAL_BINDINGS(package private) java.util.Map<Key<?>,BindingImpl<?>>InjectorImpl. jitBindingsJust-in-time binding cache.Methods in com.google.inject.internal that return Key Modifier and Type Method Description static <T> Key<T>MoreTypes. canonicalizeKey(Key<T> key)Returns a key that doesn't hold any references to parent classes.(package private) Key<java.util.Collection<javax.inject.Provider<T>>>RealMultibinder.BindingSelection. getCollectionOfJavaxProvidersKey()(package private) Key<java.util.Collection<Provider<T>>>RealMultibinder.BindingSelection. getCollectionOfProvidersKey()(package private) Key<T>RealOptionalBinder.BindingSelection. getDirectKey()private Key<java.util.Set<java.util.Map.Entry<K,javax.inject.Provider<V>>>>RealMapBinder.BindingSelection. getEntrySetJavaxProviderKey()private Key<java.util.Map<K,java.util.Collection<javax.inject.Provider<V>>>>RealMapBinder.BindingSelection. getJavaxProviderCollectionMultimapKey()private Key<java.util.Map<K,javax.inject.Provider<V>>>RealMapBinder.BindingSelection. getJavaxProviderMapKey()private Key<java.util.Map<K,java.util.Set<javax.inject.Provider<V>>>>RealMapBinder.BindingSelection. getJavaxProviderSetMultimapKey()static Key<?>Annotations. getKey(TypeLiteral<?> type, java.lang.reflect.Member member, java.lang.annotation.Annotation[] annotations, Errors errors)Gets a key for the given type, member and annotations.Key<T>BindingImpl. getKey()Key<?>ExposureBuilder. getKey()Key<T>ProviderMethod. getKey()(package private) <T> Key<T>ProviderMethodsModule. getKey(Errors errors, TypeLiteral<T> type, java.lang.reflect.Member member, java.lang.annotation.Annotation[] annotations)Key<java.util.Optional<T>>RealOptionalBinder.JavaOptionalProvider. getKey()Key<com.google.common.base.Optional<T>>RealOptionalBinder.RealOptionalKeyProvider. getKey()(package private) Key<T>RealOptionalBinder.BindingSelection. getKeyForActualBinding()(package private) Key<T>RealOptionalBinder. getKeyForActualBinding()Returns the key to use for the actual binding, overrides the default if set.(package private) Key<T>RealOptionalBinder.BindingSelection. getKeyForDefaultBinding()(package private) Key<T>RealOptionalBinder. getKeyForDefaultBinding()Returns the key to use for the default binding.(package private) Key<T>RealMultibinder. getKeyForNewItem()Adds a new entry to the set and returns the key for it.(package private) Key<V>RealMapBinder. getKeyForNewValue(K key)Adds a binding to the map for the given key.private static <T> Key<Provider<T>>RealMapBinder. getKeyOfProvider(Key<T> valueKey)Given a Keywill return a Key > Key<? extends T>LinkedBindingImpl. getLinkedKey()private Key<java.util.Map<K,V>>RealMapBinder.BindingSelection. getMapKey()Key<java.util.Map<K,V>>RealMapBinder.RealMapProvider. getMapKey()private Key<java.util.Map<K,java.util.Set<V>>>RealMapBinder.BindingSelection. getMultimapKey()(package private) Key<java.lang.Boolean>RealMultibinder.BindingSelection. getPermitDuplicatesKey()private static <T> Key<T>InjectorImpl. getProvidedKey(Key<Provider<T>> key, Errors errors)Key<? extends T>InjectorImpl.SyntheticProviderBindingImpl. getProvidedKey()private Key<java.util.Map<K,java.util.Collection<Provider<V>>>>RealMapBinder.BindingSelection. getProviderCollectionMultimapKey()Key<? extends javax.inject.Provider<? extends T>>LinkedProviderBindingImpl. getProviderKey()private Key<java.util.Map<K,Provider<V>>>RealMapBinder.BindingSelection. getProviderMapKey()private Key<java.util.Map<K,java.util.Set<Provider<V>>>>RealMapBinder.BindingSelection. getProviderSetMultimapKey()(package private) Key<java.util.Set<T>>RealMultibinder.BindingSelection. getSetKey()(package private) Key<java.util.Set<T>>RealMultibinder. getSetKey()Key<java.util.Set<T>>RealMultibinder.RealMultibinderProvider. getSetKey()Key<java.lang.String>InjectorImpl.ConvertedConstantBindingImpl. getSourceKey()(package private) Key<V>RealMapBinder.ProviderMapEntry. getValueKey()<T> Key<T>ProvidesMethodScanner. prepareMethod(Binder binder, java.lang.annotation.Annotation annotation, Key<T> key, InjectionPoint injectionPoint)(package private) static <T> Key<Provider<T>>RealOptionalBinder. providerOf(Key<T> key)Methods in com.google.inject.internal that return types with arguments of type Key Modifier and Type Method Description java.util.Map<Key<?>,Binding<?>>InjectorImpl. getAllBindings()java.util.Map<Key<?>,Binding<?>>InternalInjectorCreator.ToolStageInjector. getAllBindings()java.util.Set<Key<?>>RealOptionalBinder.JavaOptionalProvider. getAlternateKeys()java.util.Set<Key<?>>RealOptionalBinder.RealOptionalKeyProvider. getAlternateKeys()java.util.Set<Key<?>>RealMapBinder.RealMapProvider. getAlternateMapKeys()java.util.Set<Key<?>>RealMultibinder.RealMultibinderProvider. getAlternateSetKeys()java.util.Map<Key<?>,Binding<?>>InjectorImpl. getBindings()java.util.Map<Key<?>,Binding<?>>InternalInjectorCreator.ToolStageInjector. getBindings()java.util.Map<Key<?>,Binding<?>>InheritingState. getExplicitBindingsThisLevel()java.util.Map<Key<?>,Binding<?>>State. getExplicitBindingsThisLevel()Returns the explicit bindings at this level only.java.util.Set<Key<?>>PrivateElementsImpl. getExposedKeys()Methods in com.google.inject.internal with parameters of type Key Modifier and Type Method Description voidWeakKeySet. add(Key<?> key, State state, java.lang.Object source)private <T> voidBindingProcessor. bindExposed(PrivateElements privateElements, Key<T> key)ErrorsErrors. bindingAlreadySet(Key<?> key, java.lang.Object source)voidInheritingState. blacklist(Key<?> key, State state, java.lang.Object source)voidState. blacklist(Key<?> key, State state, java.lang.Object source)Forbids the corresponding injector from creating a binding tokey.static <T> Key<T>MoreTypes. canonicalizeKey(Key<T> key)Returns a key that doesn't hold any references to parent classes.ErrorsErrors. childBindingAlreadySet(Key<?> key, java.util.Set<java.lang.Object> sources)booleanWeakKeySet. contains(Key<?> key)private <T> BindingImpl<T>InjectorImpl. convertConstantStringBinding(Key<T> key, Errors errors)Converts a constant string binding to the required type.(package private) static <T> ConstructorBindingImpl<T>ConstructorBindingImpl. create(InjectorImpl injector, Key<T> key, InjectionPoint constructorInjector, java.lang.Object source, Scoping scoping, Errors errors, boolean failIfNotLinked, boolean failIfNotExplicit)(package private) static <T> ProviderMethod<T>ProviderMethod. create(Key<T> key, java.lang.reflect.Method method, java.lang.Object instance, com.google.common.collect.ImmutableSet<Dependency<?>> dependencies, java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation, boolean skipFastClassGeneration, java.lang.annotation.Annotation annotation)Creates aProviderMethod.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> 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, java.lang.Object source, Errors errors, boolean jitBinding)Creates a binding for an injectable type with the given scope.(package private) static <T> LinkedProviderBindingImpl<T>LinkedProviderBindingImpl. createWithInitializer(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey, DelayedInitialize delayedInitializer)ErrorsErrors. errorCheckingDuplicateBinding(Key<?> key, java.lang.Object source, java.lang.Throwable t)ErrorsErrors. exposedButNotBound(Key<?> key)<T> BindingImpl<T>InjectorImpl. getBinding(Key<T> key)Returns the binding forkey<T> Binding<T>InternalInjectorCreator.ToolStageInjector. getBinding(Key<T> key)(package private) <T> BindingImpl<T>InjectorImpl. getBindingOrThrow(Key<T> key, Errors errors, InjectorImpl.JitLimitation jitType)Gets a binding implementation.<T> BindingImpl<T>InjectorImpl. getExistingBinding(Key<T> key)<T> Binding<T>InternalInjectorCreator.ToolStageInjector. getExistingBinding(Key<T> key)<T> BindingImpl<T>InheritingState. getExplicitBinding(Key<T> key)<T> BindingImpl<T>State. getExplicitBinding(Key<T> key)Gets a binding which was specified explicitly in a module, or null.java.lang.ObjectPrivateElementsImpl. getExposedSource(Key<?> key)<T> TInjectorImpl. getInstance(Key<T> key)<T> TInternalInjectorCreator.ToolStageInjector. getInstance(Key<T> key)(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.private static <T> Key<Provider<T>>RealMapBinder. getKeyOfProvider(Key<T> valueKey)Given a Keywill return a Key > private static <T> Key<T>InjectorImpl. getProvidedKey(Key<Provider<T>> key, Errors errors)<T> Provider<T>DeferredLookups. getProvider(Key<T> key)<T> Provider<T>EncounterImpl. getProvider(Key<T> key)<T> Provider<T>InjectorImpl. getProvider(Key<T> key)<T> Provider<T>InternalInjectorCreator.ToolStageInjector. getProvider(Key<T> key)<T> Provider<T>Lookups. getProvider(Key<T> key)java.util.Set<java.lang.Object>WeakKeySet. getSources(Key<?> key)java.util.Set<java.lang.Object>InheritingState. getSourcesForBlacklistedKey(Key<?> key)java.util.Set<java.lang.Object>State. getSourcesForBlacklistedKey(Key<?> key)Returns the source of a blacklisted key.(package private) voidMembersInjectorImpl. injectAndNotify(T instance, Key<T> key, ProvisionListenerStackCallback<T> provisionCallback, java.lang.Object source, boolean toolableOnly)protected <T> UntargettedBindingImpl<T>AbstractBindingProcessor. invalidBinding(InjectorImpl injector, Key<T> key, java.lang.Object source)booleanInheritingState. isBlacklisted(Key<?> key)booleanState. isBlacklisted(Key<?> key)Returns true ifkeyis forbidden from being bound in this injector.private static booleanInjectorImpl. isMembersInjector(Key<?> key)Returns true if the key type is MembersInjector (but not a subclass of MembersInjector).private static booleanInjectorImpl. isProvider(Key<?> key)Returns true if the key type is Provider (but not a subclass of Provider).private static booleanInjectorImpl. isTypeLiteral(Key<?> key)ErrorsErrors. jitBindingAlreadySet(Key<?> key)ErrorsErrors. jitDisabled(Key<?> key)static InternalProvisionExceptionInternalProvisionException. jitDisabled(Key<?> key)ErrorsErrors. jitDisabledInParent(Key<?> key)private booleanRealMultibinder.BindingSelection. keyMatches(Key<?> key)private booleanRealMapBinder.BindingSelection. matchesValueKey(Key<?> key)Returns true if the key indicates this is a value in the map.ErrorsErrors. missingImplementation(Key key)We use a fairly generic error message here.(package private) <T> ErrorsErrors. missingImplementationWithHint(Key<T> key, Injector injector)Within guice's core, allow for better missing binding messagesstatic java.lang.StringAnnotations. nameOf(Key<?> key)Returns the name the binding should use.(package private) static <K,V>
RealMapBinder<K,V>RealMapBinder. newRealMapBinder(Binder binder, TypeLiteral<K> keyType, Key<V> valueTypeAndAnnotation)private static <K,V>
RealMapBinder<K,V>RealMapBinder. newRealMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<java.util.Map<K,V>> mapKey, RealMultibinder<java.util.Map.Entry<K,Provider<V>>> entrySetBinder)static <T> RealOptionalBinder<T>RealOptionalBinder. newRealOptionalBinder(Binder binder, Key<T> type)static <T> RealMultibinder<T>RealMultibinder. newRealSetBinder(Binder binder, Key<T> key)Implementation of newSetBinder.<T> Key<T>ProvidesMethodScanner. prepareMethod(Binder binder, java.lang.annotation.Annotation annotation, Key<T> key, InjectionPoint injectionPoint)(package private) static <T> Key<Provider<T>>RealOptionalBinder. providerOf(Key<T> key)(package private) voidInternalContext. pushState(Key<?> key, java.lang.Object source)Adds to the state without setting the dependency.voidInheritingState. putBinding(Key<?> key, BindingImpl<?> binding)voidState. putBinding(Key<?> key, BindingImpl<?> binding)(package private) static <T> InternalFactory<? extends T>Scoping. scope(Key<T> key, InjectorImpl injector, InternalFactory<? extends T> creator, java.lang.Object source, Scoping scoping)Scopes an internal factory.<T> Provider<T>SingletonScope. scope(Key<T> key, Provider<T> creator)Provides singleton scope with the following properties: creates no more than one instance per Key as a creator is used no more than once result is cached and returned quickly on subsequent calls exception in a creator is not treated as instance creation and is not cached creates singletons in parallel whenever possible waits for dependent singletons to be created even across threads and when dependencies are shared as long as no circular dependencies are detected returns circular proxy only when circular dependencies are detected aside from that, blocking synchronization is only used for proxy creation and initializationBindingBuilder<T>BindingBuilder. to(Key<? extends T> linkedKey)BindingBuilder<T>BindingBuilder. toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey)private <T> voidAbstractBindingProcessor. validateKey(java.lang.Object source, Key<T> key)protected BindingImpl<T>BindingImpl. withKey(Key<T> key)protected BindingImpl<T>ConstructorBindingImpl. withKey(Key<T> key)BindingImpl<T>InstanceBindingImpl. withKey(Key<T> key)BindingImpl<T>LinkedBindingImpl. withKey(Key<T> key)BindingImpl<T>LinkedProviderBindingImpl. withKey(Key<T> key)BindingImpl<T>ProviderInstanceBindingImpl. withKey(Key<T> key)BindingImpl<T>UntargettedBindingImpl. withKey(Key<T> key)Method parameters in com.google.inject.internal with type arguments of type Key Modifier and Type Method Description private booleanInjectorImpl. cleanup(BindingImpl<?> binding, java.util.Set<Key> encountered)Iterates through the binding's dependencies to clean up any stray bindings that were leftover from a failed JIT binding.Constructors in com.google.inject.internal with parameters of type Key Constructor Description AbstractBindingBuilder(Binder binder, java.util.List<Element> elements, java.lang.Object source, Key<T> key)BindingBuilder(Binder binder, java.util.List<Element> elements, java.lang.Object source, Key<T> key)BindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping)BindingImpl(java.lang.Object source, Key<T> key, Scoping scoping)BindingSelection(TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<java.util.Map<K,V>> mapKey, RealMultibinder<java.util.Map.Entry<K,Provider<V>>> entrySetBinder)BindingSelection(Key<T> key)BindingSelection(Key<T> key)BoundProviderFactory(InjectorImpl injector, Key<? extends javax.inject.Provider<? extends T>> providerKey, java.lang.Object source, ProvisionListenerStackCallback<T> provisionCallback)ConstructorBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> scopedFactory, Scoping scoping, ConstructorBindingImpl.Factory<T> factory, InjectionPoint constructorInjectionPoint)ConstructorBindingImpl(Key<T> key, java.lang.Object source, Scoping scoping, InjectionPoint constructorInjectionPoint, java.util.Set<InjectionPoint> injectionPoints)ConvertedConstantBindingImpl(InjectorImpl injector, Key<T> key, T value, Binding<java.lang.String> originalBinding, TypeConverterBinding typeConverterBinding)ExposedBindingImpl(InjectorImpl injector, java.lang.Object source, Key<T> key, InternalFactory<T> factory, PrivateElements privateElements)ExposedKeyFactory(Key<T> key, PrivateElements privateElements)ExposureBuilder(Binder binder, java.lang.Object source, Key<T> key)Factory(boolean failIfNotLinked, Key<?> key)FactoryProxy(InjectorImpl injector, Key<T> key, Key<? extends T> targetKey, java.lang.Object source)InjectableReference(InjectorImpl injector, T instance, Key<T> key, ProvisionListenerStackCallback<T> provisionCallback, java.lang.Object source, CycleDetectingLock<?> lock)InstanceBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, java.util.Set<InjectionPoint> injectionPoints, T instance)InstanceBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping, java.util.Set<InjectionPoint> injectionPoints, T instance)InternalProviderInstanceBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalProviderInstanceBindingImpl.Factory<T> originalFactory, InternalFactory<? extends T> scopedFactory, Scoping scoping)JavaOptionalProvider(RealOptionalBinder.BindingSelection<T> bindingSelection, Key<java.util.Optional<T>> optionalKey)KeyAndSource(Key<?> key, java.lang.Object source)KeyBinding(Key<?> key, Binding<?> binding)LinkedBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends T> targetKey)LinkedBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping, Key<? extends T> targetKey)LinkedProviderBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey)LinkedProviderBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey, DelayedInitialize delayedInitializer)LinkedProviderBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping, Key<? extends javax.inject.Provider<? extends T>> providerKey)PermitDuplicatesModule(Key<java.lang.Boolean> key)ProvidedByInternalFactory(java.lang.Class<?> rawType, java.lang.Class<? extends javax.inject.Provider<?>> providerType, Key<? extends javax.inject.Provider<T>> providerKey)ProviderInstanceBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source, InternalFactory<? extends T> internalFactory, Scoping scoping, javax.inject.Provider<? extends T> providerInstance, java.util.Set<InjectionPoint> injectionPoints)ProviderInstanceBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping, java.util.Set<InjectionPoint> injectionPoints, javax.inject.Provider<? extends T> providerInstance)ProviderMapEntry(K key, Key<V> valueKey)ProviderMethod(Key<T> key, java.lang.reflect.Method method, java.lang.Object instance, com.google.common.collect.ImmutableSet<Dependency<?>> dependencies, java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation, java.lang.annotation.Annotation annotation)RealMapBinder(Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Key<java.util.Map<K,V>> mapKey, RealMultibinder<java.util.Map.Entry<K,Provider<V>>> entrySetBinder)RealMultibinder(Binder binder, Key<T> key)RealMultimapBinderProviderWithDependencies(Key<java.util.Map<K,V>> mapKey)RealMultimapProvider(Key<java.util.Map<K,V>> mapKey)RealOptionalBinder(Binder binder, Key<T> typeKey)RealOptionalKeyProvider(RealOptionalBinder.BindingSelection<T> bindingSelection, Key<com.google.common.base.Optional<T>> optionalKey)RealProviderMultimapProvider(Key<java.util.Map<K,V>> mapKey)ReflectionProviderMethod(Key<T> key, java.lang.reflect.Method method, java.lang.Object instance, com.google.common.collect.ImmutableSet<Dependency<?>> dependencies, java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation, java.lang.annotation.Annotation annotation)SyntheticProviderBindingImpl(InjectorImpl injector, Key<Provider<T>> key, Binding<T> providedBinding)UntargettedBindingImpl(InjectorImpl injector, Key<T> key, java.lang.Object source)UntargettedBindingImpl(java.lang.Object source, Key<T> key, Scoping scoping) -
Uses of Key in com.google.inject.multibindings
Methods in com.google.inject.multibindings that return Key Modifier and Type Method Description Key<T>OptionalBinderBinding. getKey()Returns theKeyfor this binding.Key<T>MapBinderBinding. getMapKey()Returns theKeyfor the map.Key<T>MultibinderBinding. getSetKey()Returns the key for the set.Methods in com.google.inject.multibindings that return types with arguments of type Key Modifier and Type Method Description java.util.Set<Key<?>>OptionalBinderBinding. getAlternateKeys()Returns the keys of other bindings that represent this OptionalBinder.java.util.Set<Key<?>>MapBinderBinding. getAlternateMapKeys()Returns the keys of other bindings that represent this map.java.util.Set<Key<?>>MultibinderBinding. getAlternateSetKeys()Returns the keys of other bindings that represent this set.Methods in com.google.inject.multibindings with parameters of type Key Modifier and Type Method Description static <T> OptionalBinder<T>OptionalBinder. newOptionalBinder(Binder binder, Key<T> type)static <T> Multibinder<T>Multibinder. newSetBinder(Binder binder, Key<T> key)Returns a new multibinder that collects instances of the key's type in aSetthat is itself bound with the annotation (if any) of the key. -
Uses of Key in com.google.inject.servlet
Fields in com.google.inject.servlet declared as Key Modifier and Type Field Description private Key<? extends javax.servlet.Filter>FilterDefinition. filterKeyprivate Key<? extends javax.servlet.http.HttpServlet>ServletDefinition. servletKeyFields in com.google.inject.servlet with type parameters of type Key Modifier and Type Field Description (package private) java.util.Map<Key,java.lang.Object>ServletScopes.Context. mapMethods in com.google.inject.servlet that return Key Modifier and Type Method Description Key<? extends javax.servlet.Filter>LinkedFilterBinding. getLinkedKey()Returns the key used to lookup the filter instance.Key<? extends javax.servlet.Filter>LinkedFilterBindingImpl. getLinkedKey()Key<? extends javax.servlet.http.HttpServlet>LinkedServletBinding. getLinkedKey()Returns the key used to lookup the servlet instance.Key<? extends javax.servlet.http.HttpServlet>LinkedServletBindingImpl. getLinkedKey()Methods in com.google.inject.servlet with parameters of type Key Modifier and Type Method Description private static GuiceFilter.ContextGuiceFilter. getContext(Key<?> key)(package private) static javax.servlet.http.HttpServletRequestGuiceFilter. getOriginalRequest(Key<?> key)(package private) static javax.servlet.http.HttpServletRequestGuiceFilter. getRequest(Key<?> key)(package private) static javax.servlet.http.HttpServletResponseGuiceFilter. getResponse(Key<?> key)<T> Provider<T>ServletScopes.RequestScope. scope(Key<T> key, Provider<T> creator)<T> Provider<T>ServletScopes.SessionScope. scope(Key<T> key, Provider<T> creator)voidFiltersModuleBuilder.FilterKeyBindingBuilderImpl. through(Key<? extends javax.servlet.Filter> filterKey)voidFiltersModuleBuilder.FilterKeyBindingBuilderImpl. through(Key<? extends javax.servlet.Filter> filterKey, java.util.Map<java.lang.String,java.lang.String> initParams)private voidFiltersModuleBuilder.FilterKeyBindingBuilderImpl. through(Key<? extends javax.servlet.Filter> filterKey, java.util.Map<java.lang.String,java.lang.String> initParams, javax.servlet.Filter filterInstance)voidServletModule.FilterKeyBindingBuilder. through(Key<? extends javax.servlet.Filter> filterKey)voidServletModule.FilterKeyBindingBuilder. through(Key<? extends javax.servlet.Filter> filterKey, java.util.Map<java.lang.String,java.lang.String> initParams)private static java.lang.ObjectServletScopes. validateAndCanonicalizeValue(Key<?> key, java.lang.Object object)Validates the key and object, ensuring the value matches the key type, and canonicalizing null objects to the null sentinel.voidServletModule.ServletKeyBindingBuilder. with(Key<? extends javax.servlet.http.HttpServlet> servletKey)voidServletModule.ServletKeyBindingBuilder. with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams)voidServletsModuleBuilder.ServletKeyBindingBuilderImpl. with(Key<? extends javax.servlet.http.HttpServlet> servletKey)voidServletsModuleBuilder.ServletKeyBindingBuilderImpl. with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams)private voidServletsModuleBuilder.ServletKeyBindingBuilderImpl. with(Key<? extends javax.servlet.http.HttpServlet> servletKey, java.util.Map<java.lang.String,java.lang.String> initParams, javax.servlet.http.HttpServlet servletInstance)Method parameters in com.google.inject.servlet with type arguments of type Key Modifier and Type Method Description static <T> java.util.concurrent.Callable<T>ServletScopes. continueRequest(java.util.concurrent.Callable<T> callable, java.util.Map<Key<?>,java.lang.Object> seedMap)Deprecated.You probably want to usetransferRequestinsteadprivate static RequestScoperServletScopes. continueRequest(java.util.Map<Key<?>,java.lang.Object> seedMap)static <T> java.util.concurrent.Callable<T>ServletScopes. scopeRequest(java.util.concurrent.Callable<T> callable, java.util.Map<Key<?>,java.lang.Object> seedMap)Scopes the given callable inside a request scope.static RequestScoperServletScopes. scopeRequest(java.util.Map<Key<?>,java.lang.Object> seedMap)Returns an object that will apply request scope to a block of code.Constructors in com.google.inject.servlet with parameters of type Key Constructor Description FilterDefinition(Key<? extends javax.servlet.Filter> filterKey, UriPatternMatcher patternMatcher, java.util.Map<java.lang.String,java.lang.String> initParams, javax.servlet.Filter filterInstance)LinkedFilterBindingImpl(java.util.Map<java.lang.String,java.lang.String> initParams, Key<? extends javax.servlet.Filter> target, UriPatternMatcher patternMatcher)LinkedServletBindingImpl(java.util.Map<java.lang.String,java.lang.String> initParams, Key<? extends javax.servlet.http.HttpServlet> target, UriPatternMatcher patternMatcher)ServletDefinition(Key<? extends javax.servlet.http.HttpServlet> servletKey, UriPatternMatcher patternMatcher, java.util.Map<java.lang.String,java.lang.String> initParams, javax.servlet.http.HttpServlet servletInstance) -
Uses of Key in com.google.inject.spi
Fields in com.google.inject.spi declared as Key Modifier and Type Field Description private Key<T>Dependency. keyMethods in com.google.inject.spi that return Key Modifier and Type Method Description Key<T>Dependency. getKey()Returns the key to the binding that satisfies this dependency.Key<T>ProviderLookup. getKey()Key<T>ProvidesMethodBinding. getKey()Returns the key of the binding.Key<? extends T>LinkedKeyBinding. getLinkedKey()Returns the linked key used to resolve injections.Key<?>ProviderBinding. getProvidedKey()Returns the key whose binding is used toprovide instances.Key<? extends javax.inject.Provider<? extends T>>ProviderKeyBinding. getProviderKey()Returns the key used to resolve the provider's binding.Key<java.lang.String>ConvertedConstantBinding. getSourceKey()Returns the key for the source binding.abstract <T> Key<T>ModuleAnnotatedMethodScanner. prepareMethod(Binder binder, java.lang.annotation.Annotation annotation, Key<T> key, InjectionPoint injectionPoint)Prepares a method for binding.Methods in com.google.inject.spi that return types with arguments of type Key Modifier and Type Method Description java.util.Set<Key<?>>PrivateElements. getExposedKeys()Returns the unique exposed keys for these private elements.Methods in com.google.inject.spi with parameters of type Key Modifier and Type Method Description <T> AnnotatedBindingBuilder<T>Elements.RecordingBinder. bind(Key<T> key)voidElements.RecordingBinder. expose(Key<?> key)private <T> AnnotatedElementBuilderElements.RecordingBinder. exposeInternal(Key<T> key)static <T> Dependency<T>Dependency. get(Key<T> key)Returns a new dependency that is not attached to an injection point.java.lang.ObjectPrivateElements. getExposedSource(Key<?> key)Returns an arbitrary object containing information about the "place" where this key was exposed.<T> Provider<T>Elements.RecordingBinder. getProvider(Key<T> key)<T> Provider<T>TypeEncounter. getProvider(Key<T> key)Returns the provider used to obtain instances for the given injection key.private <T> Dependency<T>InjectionPoint. newDependency(Key<T> key, boolean allowsNull, int parameterIndex)abstract <T> Key<T>ModuleAnnotatedMethodScanner. prepareMethod(Binder binder, java.lang.annotation.Annotation annotation, Key<T> key, InjectionPoint injectionPoint)Prepares a method for binding.Constructors in com.google.inject.spi with parameters of type Key Constructor Description Dependency(InjectionPoint injectionPoint, Key<T> key, boolean nullable, int parameterIndex)ProviderLookup(java.lang.Object source, Key<T> key) -
Uses of Key in com.google.inject.throwingproviders
Fields in com.google.inject.throwingproviders declared as Key Modifier and Type Field Description private Key<P>ThrowingProviderBinder.SecondaryBinder. interfaceKeyprivate Key<T>CheckedProviderMethod. keyprivate static Key<java.util.logging.Logger>CheckedProviderMethodsModule. LOGGER_KEYMethods in com.google.inject.throwingproviders that return Key Modifier and Type Method Description private Key<P>ThrowingProviderBinder.SecondaryBinder. createKey()(package private) <T> Key<T>CheckedProviderMethodsModule. getKey(Errors errors, TypeLiteral<T> type, java.lang.reflect.Member member, java.lang.annotation.Annotation[] annotations)(package private) Key<P>ThrowingProviderBinder.SecondaryBinder. getKey()Methods in com.google.inject.throwingproviders with parameters of type Key Modifier and Type Method Description private ProviderWithDependencies<ThrowingProviderBinder.Result>ThrowingProviderBinder.SecondaryBinder. createResultProvider(Key<? extends CheckedProvider<?>> targetKey, Provider<? extends CheckedProvider<?>> targetProvider)ScopedBindingBuilderThrowingProviderBinder.SecondaryBinder. to(Key<? extends P> targetKey)private ScopedBindingBuilderThrowingProviderBinder.SecondaryBinder. toInternal(Key<? extends CheckedProvider<?>> targetKey)Constructors in com.google.inject.throwingproviders with parameters of type Key Constructor Description CheckedProviderMethod(Key<T> key, java.lang.reflect.Method method, java.lang.Object instance, com.google.common.collect.ImmutableSet<Dependency<?>> dependencies, java.util.List<Provider<?>> parameterProviders, java.lang.Class<? extends java.lang.annotation.Annotation> scopeAnnotation, java.lang.Class<? extends CheckedProvider> checkedProvider, java.util.List<TypeLiteral<?>> exceptionTypes, boolean scopeExceptions)
-