A B C D E F G H I L M N P Q R S U V 
All Classes All Packages

A

add(T) - Method in class dagger.internal.SetBuilder
 
addAll(Collection<? extends T>) - Method in class dagger.internal.SetBuilder
 
addCollectionProvider(Provider<? extends Collection<? extends T>>) - Method in class dagger.internal.SetFactory.Builder
 
addProvider(Provider<? extends T>) - Method in class dagger.internal.SetFactory.Builder
 
Assisted - Annotation Type in dagger.assisted
Annotates a parameter within an AssistedInject-annotated constructor.
AssistedFactory - Annotation Type in dagger.assisted
Annotates an abstract class or interface used to create an instance of a type via an AssistedInject constructor.
AssistedInject - Annotation Type in dagger.assisted
Annotates the constuctor of a type that will be created via assisted injection.

B

Beta - Annotation Type in dagger.internal
Signifies that a public API (public class, method or field) is subject to incompatible changes, or even removal, in a future release.
Binds - Annotation Type in dagger
Annotates abstract methods of a Module that delegate bindings.
BindsInstance - Annotation Type in dagger
Marks a method on a component builder or a parameter on a component factory as binding an instance to some key within the component.
BindsOptionalOf - Annotation Type in dagger
Annotates methods that declare bindings for Optional containers of values from bindings that may or may not be present in the component.
build() - Method in class dagger.internal.MapBuilder
 
build() - Method in class dagger.internal.MapFactory.Builder
Returns a new MapProviderFactory.
build() - Method in class dagger.internal.MapProviderFactory.Builder
Returns a new MapProviderFactory.
build() - Method in class dagger.internal.SetBuilder
 
build() - Method in class dagger.internal.SetFactory.Builder
 
builder(int) - Static method in class dagger.internal.MapFactory
Returns a new MapFactory.Builder
builder(int) - Static method in class dagger.internal.MapProviderFactory
builder(int, int) - Static method in class dagger.internal.SetFactory
Constructs a new SetFactory.Builder for a SetFactory with individualProviderSize individual Provider<T> and collectionProviderSize Provider<Collection<T>> instances.

C

checkBuilderRequirement(T, Class<T>) - Static method in class dagger.internal.Preconditions
Checks that the component builder field requirement has been initialized.
checkNotNull(T) - Static method in class dagger.internal.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String) - Static method in class dagger.internal.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNull(T, String, Object) - Static method in class dagger.internal.Preconditions
Ensures that an object reference passed as a parameter to the calling method is not null.
checkNotNullFromComponent(T) - Static method in class dagger.internal.Preconditions
Ensures that an object reference returned from a component method is not null.
checkNotNullFromProvides(T) - Static method in class dagger.internal.Preconditions
Ensures that an object reference returned from a provides method is not null.
ClassKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with Class<?> keys.
Component - Annotation Type in dagger
Annotates an interface or abstract class for which a fully-formed, dependency-injected implementation is to be generated from a set of Component.modules().
Component.Builder - Annotation Type in dagger
A builder for a component.
Component.Factory - Annotation Type in dagger
A factory for a component.
ComponentDefinitionType - Annotation Type in dagger.internal
Specifies the user-defined component that is being implemented by the annotated class.
create(Provider<T>) - Static method in class dagger.internal.ProviderOfLazy
Creates a new Provider<Lazy<T>> that decorates the given Provider.
create(T) - Static method in class dagger.internal.InstanceFactory
 
createNullable(T) - Static method in class dagger.internal.InstanceFactory
 

D

dagger - module dagger
 
dagger - package dagger
This package contains the public API for the Dagger 2 dependency injection framework.
dagger.assisted - package dagger.assisted
This package contains the API for Dagger's assisted injection.
dagger.internal - package dagger.internal
 
dagger.multibindings - package dagger.multibindings
 
DaggerCollections - Class in dagger.internal
Collection utility methods in service of Dagger internal classes.
DaggerGenerated - Annotation Type in dagger.internal
Annotates the top-level class of each Dagger generated source file.
DelegateFactory<T> - Class in dagger.internal
A DelegateFactory that is used to stitch Provider/Lazy indirection based dependency cycles.
DelegateFactory() - Constructor for class dagger.internal.DelegateFactory
 
dependencies() - Method in annotation type dagger.Component
A list of types that are to be used as component dependencies.
DoubleCheck<T> - Class in dagger.internal
A Lazy and Provider implementation that memoizes the value returned from a delegate using the double-check idiom described in Item 71 of Effective Java 2.

E

ElementsIntoSet - Annotation Type in dagger.multibindings
The method's return type is Set<T> and all values are contributed to the set.
empty() - Static method in class dagger.internal.SetFactory
 
emptyMapProvider() - Static method in class dagger.internal.MapFactory
Returns a factory of an empty map.

F

Factory<T> - Interface in dagger.internal
An unscoped Provider.

G

get() - Method in class dagger.internal.DelegateFactory
 
get() - Method in class dagger.internal.DoubleCheck
 
get() - Method in class dagger.internal.InstanceFactory
 
get() - Method in class dagger.internal.MapFactory
Returns a Map<K, V> whose iteration order is that of the elements given by each of the providers, which are invoked in the order given at creation.
get() - Method in class dagger.internal.MapProviderFactory
Returns a Map<K, Provider<V>> whose iteration order is that of the elements given by each of the providers, which are invoked in the order given at creation.
get() - Method in class dagger.internal.ProviderOfLazy
Returns a new instance of Lazy<T>, which calls Provider.get() at most once on the Provider held by this object.
get() - Method in class dagger.internal.SetFactory
Returns a Set that contains the elements given by each of the providers.
get() - Method in class dagger.internal.SingleCheck
 
get() - Method in interface dagger.Lazy
Return the underlying value, computing the value if necessary.

H

hasDuplicates(List<?>) - Static method in class dagger.internal.DaggerCollections
Returns true if at least one pair of items in list are equals.

I

includes() - Method in annotation type dagger.Module
Additional @Module-annotated classes from which this module is composed.
InjectedFieldSignature - Annotation Type in dagger.internal
Marks a MembersInjector method for injecting a field with the signature of the field intended to inject.
injectMembers(T) - Method in interface dagger.MembersInjector
Injects dependencies into the fields and methods of instance.
InstanceFactory<T> - Class in dagger.internal
A Factory implementation that returns a single instance for all invocations of InstanceFactory.get().
IntKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with int keys.
IntoMap - Annotation Type in dagger.multibindings
The method's return type forms the type argument for the value of a Map<K, Provider<V>>, and the combination of the annotated key and the returned value is contributed to the map as a key/value pair.
IntoSet - Annotation Type in dagger.multibindings
The method's return type forms the generic type argument of a Set<T>, and the returned value is contributed to the set.

L

lazy(P) - Static method in class dagger.internal.DoubleCheck
Returns a Lazy that caches the value from the given provider.
Lazy<T> - Interface in dagger
A handle to a lazily-computed value.
LongKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with long keys.

M

MapBuilder<K,​V> - Class in dagger.internal
A fluent builder class that returns a Map.
MapFactory<K,​V> - Class in dagger.internal
A Factory implementation used to implement Map bindings.
MapFactory.Builder<K,​V> - Class in dagger.internal
A builder for MapFactory.
MapKey - Annotation Type in dagger
Identifies annotation types that are used to associate keys with values returned by Provides provider methods in order to compose a dagger.multibindings.IntoMap map.
MapProviderFactory<K,​V> - Class in dagger.internal
A Factory implementation used to implement Map bindings.
MapProviderFactory.Builder<K,​V> - Class in dagger.internal
A builder for MapProviderFactory.
MembersInjector<T> - Interface in dagger
Injects dependencies into the fields and methods on instances of type T.
Module - Annotation Type in dagger
Annotates a class that contributes to the object graph.
modules() - Method in annotation type dagger.Component
A list of classes annotated with Module whose bindings are used to generate the component implementation.
modules() - Method in annotation type dagger.Subcomponent
A list of classes annotated with Module whose bindings are used to generate the subcomponent implementation.
Multibinds - Annotation Type in dagger.multibindings
Annotates abstract module methods that declare multibindings.

N

newLinkedHashMapWithExpectedSize(int) - Static method in class dagger.internal.DaggerCollections
Creates a LinkedHashMap instance, with a high enough "initial capacity" that it should hold expectedSize elements without growth.
newMapBuilder(int) - Static method in class dagger.internal.MapBuilder
Creates a new MapBuilder with size elements.
newSetBuilder(int) - Static method in class dagger.internal.SetBuilder
estimatedSize is the number of bindings which contribute to the set.

P

Preconditions - Class in dagger.internal
An adaptation of Guava's Preconditions that is specially tailored to support checks applied in Dagger's generated code.
presizedList(int) - Static method in class dagger.internal.DaggerCollections
Returns a new list that is pre-sized to size, or Collections.emptyList() if empty.
provider(P) - Static method in class dagger.internal.DoubleCheck
Returns a Provider that caches the value from the given delegate provider.
provider(P) - Static method in class dagger.internal.SingleCheck
Returns a Provider that caches the value from the given delegate provider.
ProviderOfLazy<T> - Class in dagger.internal
A Provider of Lazy instances that each delegate to a given Provider.
Provides - Annotation Type in dagger
Annotates methods of a module to create a provider method binding.
put(K, Provider<V>) - Method in class dagger.internal.MapFactory.Builder
 
put(K, Provider<V>) - Method in class dagger.internal.MapProviderFactory.Builder
 
put(K, V) - Method in class dagger.internal.MapBuilder
 
putAll(Provider<Map<K, Provider<V>>>) - Method in class dagger.internal.MapProviderFactory.Builder
 
putAll(Provider<Map<K, V>>) - Method in class dagger.internal.MapFactory.Builder
 
putAll(Map<K, V>) - Method in class dagger.internal.MapBuilder
 

Q

QualifierMetadata - Annotation Type in dagger.internal
Stores the qualifier information about a type after it's been processed.

R

Reusable - Annotation Type in dagger
A scope that indicates that the object returned by a binding may be (but might not be) reused.

S

ScopeMetadata - Annotation Type in dagger.internal
Stores the scope information about a type after it's been processed.
SetBuilder<T> - Class in dagger.internal
A fluent builder class that returns a Set.
setDelegate(Provider<T>, Provider<T>) - Static method in class dagger.internal.DelegateFactory
Sets delegateFactory's delegate provider to delegate.
SetFactory<T> - Class in dagger.internal
A Factory implementation used to implement Set bindings.
SetFactory.Builder<T> - Class in dagger.internal
A builder to accumulate Provider<T> and Provider<Collection<T>> instances.
SingleCheck<T> - Class in dagger.internal
A Provider implementation that memoizes the result of another Provider using simple lazy initialization, not the double-checked lock pattern.
StringKey - Annotation Type in dagger.multibindings
A MapKey annotation for maps with String keys.
Subcomponent - Annotation Type in dagger
A subcomponent that inherits the bindings from a parent Component or Subcomponent.
Subcomponent.Builder - Annotation Type in dagger
A builder for a subcomponent.
Subcomponent.Factory - Annotation Type in dagger
A factory for a subcomponent.
subcomponents() - Method in annotation type dagger.Module
Any Subcomponent- or @ProductionSubcomponent-annotated classes which should be children of the component in which this module is installed.

U

unwrapValue() - Method in annotation type dagger.MapKey
True to use the value of the single member of the annotated annotation as the map key; false to use the annotation instance as the map key.

V

value() - Method in annotation type dagger.assisted.Assisted
Returns an identifier for an Assisted parameter.
value() - Method in annotation type dagger.internal.ComponentDefinitionType
 
value() - Method in annotation type dagger.internal.InjectedFieldSignature
 
value() - Method in annotation type dagger.internal.QualifierMetadata
Returns the list of fully qualified qualifier names used in a particular context.
value() - Method in annotation type dagger.internal.ScopeMetadata
The qualified name of the scope, if one exists, otherwise an empty string.
value() - Method in annotation type dagger.multibindings.ClassKey
 
value() - Method in annotation type dagger.multibindings.IntKey
 
value() - Method in annotation type dagger.multibindings.LongKey
 
value() - Method in annotation type dagger.multibindings.StringKey
 
A B C D E F G H I L M N P Q R S U V 
All Classes All Packages