Home
last modified time | relevance | path

Searched refs:dagger (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/external/dagger2/
DREADME.md33 You can [find the dagger documentation here][website] which has extended usage
38 [this talk by Greg Kick][gaktalk], and on the dagger-discuss@googlegroups.com
44 You will need to include the `dagger-2.0.1.jar` in your application's runtime.
46 your graph you will need to include `dagger-compiler-2.0.1.jar` in your build
49 In a Maven project, include the `dagger` artifact in the dependencies section
50 of your `pom.xml` and the `dagger-compiler` artifact as either an `optional` or
56 <groupId>com.google.dagger</groupId>
57 <artifactId>dagger</artifactId>
61 <groupId>com.google.dagger</groupId>
62 <artifactId>dagger-compiler</artifactId>
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DFactoryGenerator.java16 package dagger.internal.codegen;
24 import dagger.MembersInjector;
25 import dagger.Provides.Type;
26 import dagger.internal.Factory;
27 import dagger.internal.codegen.writer.ClassName;
28 import dagger.internal.codegen.writer.ClassWriter;
29 import dagger.internal.codegen.writer.ConstructorWriter;
30 import dagger.internal.codegen.writer.EnumWriter;
31 import dagger.internal.codegen.writer.FieldWriter;
32 import dagger.internal.codegen.writer.JavaWriter;
[all …]
DProvidesMethodValidator.java16 package dagger.internal.codegen;
20 import dagger.Module;
21 import dagger.Provides;
36 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
37 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
38 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
39 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_MAP_HAS_MAP_KEY;
40 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
41 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
42 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
[all …]
DMonitoringModuleGenerator.java16 package dagger.internal.codegen;
20 import dagger.Module;
21 import dagger.Provides;
22 import dagger.internal.codegen.writer.ClassName;
23 import dagger.internal.codegen.writer.ClassWriter;
24 import dagger.internal.codegen.writer.FieldWriter;
25 import dagger.internal.codegen.writer.JavaWriter;
26 import dagger.internal.codegen.writer.MethodWriter;
27 import dagger.internal.codegen.writer.ParameterizedTypeName;
28 import dagger.internal.codegen.writer.TypeName;
[all …]
DProducesMethodValidator.java16 package dagger.internal.codegen;
22 import dagger.producers.ProducerModule;
23 import dagger.producers.Produces;
38 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
39 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
40 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
41 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_MAP_HAS_MAP_KEY;
42 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
43 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
44 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
[all …]
DInjectConstructorValidator.java16 package dagger.internal.codegen;
32 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS;
33 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_INNER_CLASS;
34 import static dagger.internal.codegen.ErrorMessages.INJECT_INTO_PRIVATE_CLASS;
35 import static dagger.internal.codegen.ErrorMessages.INJECT_ON_PRIVATE_CONSTRUCTOR;
36 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_INJECT_CONSTRUCTORS;
37 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
38 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_SCOPES;
39 import static dagger.internal.codegen.ErrorMessages.QUALIFIER_ON_INJECT_CONSTRUCTOR;
40 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
[all …]
DAbstractComponentWriter.java16 package dagger.internal.codegen;
31 import dagger.MembersInjector;
32 import dagger.internal.DelegateFactory;
33 import dagger.internal.Factory;
34 import dagger.internal.InstanceFactory;
35 import dagger.internal.MapFactory;
36 import dagger.internal.MapProviderFactory;
37 import dagger.internal.MembersInjectors;
38 import dagger.internal.ScopedProvider;
39 import dagger.internal.SetFactory;
[all …]
DMembersInjectorGenerator.java16 package dagger.internal.codegen;
28 import dagger.MembersInjector;
29 import dagger.internal.codegen.MembersInjectionBinding.InjectionSite;
30 import dagger.internal.codegen.writer.ClassName;
31 import dagger.internal.codegen.writer.ClassWriter;
32 import dagger.internal.codegen.writer.ConstructorWriter;
33 import dagger.internal.codegen.writer.FieldWriter;
34 import dagger.internal.codegen.writer.JavaWriter;
35 import dagger.internal.codegen.writer.MethodWriter;
36 import dagger.internal.codegen.writer.Modifiable;
[all …]
DMapKeyGenerator.java16 package dagger.internal.codegen;
24 import dagger.MapKey;
25 import dagger.internal.codegen.MapKeyGenerator.MapKeyCreatorSpecification;
26 import dagger.internal.codegen.writer.ClassName;
27 import dagger.internal.codegen.writer.JavaWriter;
28 import dagger.internal.codegen.writer.MethodWriter;
29 import dagger.internal.codegen.writer.Snippet;
30 import dagger.internal.codegen.writer.TypeName;
31 import dagger.internal.codegen.writer.TypeNames;
32 import dagger.internal.codegen.writer.TypeWriter;
[all …]
DProducerFactoryGenerator.java16 package dagger.internal.codegen;
31 import dagger.Provides.Type;
32 import dagger.internal.codegen.writer.ClassName;
33 import dagger.internal.codegen.writer.ClassWriter;
34 import dagger.internal.codegen.writer.ConstructorWriter;
35 import dagger.internal.codegen.writer.FieldWriter;
36 import dagger.internal.codegen.writer.JavaWriter;
37 import dagger.internal.codegen.writer.MethodWriter;
38 import dagger.internal.codegen.writer.ParameterizedTypeName;
39 import dagger.internal.codegen.writer.Snippet;
[all …]
DComponentGenerator.java16 package dagger.internal.codegen;
21 import dagger.Component;
22 import dagger.internal.codegen.writer.ClassName;
23 import dagger.internal.codegen.writer.ClassWriter;
24 import dagger.internal.codegen.writer.FieldWriter;
25 import dagger.internal.codegen.writer.JavaWriter;
26 import dagger.internal.codegen.writer.Snippet;
27 import dagger.internal.codegen.writer.TypeName;
DInjectMethodValidator.java16 package dagger.internal.codegen;
27 import static dagger.internal.codegen.ErrorMessages.ABSTRACT_INJECT_METHOD;
28 import static dagger.internal.codegen.ErrorMessages.GENERIC_INJECT_METHOD;
29 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
30 import static dagger.internal.codegen.ErrorMessages.PRIVATE_INJECT_METHOD;
31 import static dagger.internal.codegen.ErrorMessages.STATIC_INJECT_METHOD;
32 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
DInjectFieldValidator.java16 package dagger.internal.codegen;
26 import static dagger.internal.codegen.ErrorMessages.FINAL_INJECT_FIELD;
27 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
28 import static dagger.internal.codegen.ErrorMessages.PRIVATE_INJECT_FIELD;
29 import static dagger.internal.codegen.ErrorMessages.STATIC_INJECT_FIELD;
30 import static dagger.internal.codegen.InjectionAnnotations.getQualifiers;
DSubcomponentWriter.java16 package dagger.internal.codegen;
22 import dagger.internal.codegen.ComponentDescriptor.BuilderSpec;
23 import dagger.internal.codegen.ComponentGenerator.MemberSelect;
24 import dagger.internal.codegen.writer.ClassName;
25 import dagger.internal.codegen.writer.ClassWriter;
26 import dagger.internal.codegen.writer.FieldWriter;
27 import dagger.internal.codegen.writer.MethodWriter;
28 import dagger.internal.codegen.writer.Snippet;
29 import dagger.internal.codegen.writer.TypeName;
30 import dagger.internal.codegen.writer.TypeNames;
[all …]
DMapKeyValidator.java16 package dagger.internal.codegen;
18 import dagger.MapKey;
25 import static dagger.internal.codegen.ErrorMessages.MAPKEY_WITHOUT_MEMBERS;
26 import static dagger.internal.codegen.ErrorMessages.UNWRAPPED_MAP_KEY_WITH_ARRAY_MEMBER;
27 import static dagger.internal.codegen.ErrorMessages.UNWRAPPED_MAP_KEY_WITH_TOO_MANY_MEMBERS;
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ui/
DHomeComponent.java16 package com.example.dagger.activitygraphs.ui;
18 import com.example.dagger.activitygraphs.AbstractActivityComponent;
19 import com.example.dagger.activitygraphs.ActivityModule;
20 import com.example.dagger.activitygraphs.ApplicationComponent;
21 import com.example.dagger.activitygraphs.PerActivity;
22 import dagger.Component;
/external/guice/extensions/dagger-adapter/test/com/google/inject/daggeradapter/
DDaggerAdapterTest.java29 import dagger.multibindings.IntoSet;
43 @dagger.Module
45 @dagger.Provides
69 @dagger.Module
71 @dagger.Provides
78 @dagger.Module
80 @dagger.Provides
98 @dagger.Module
100 @dagger.Provides
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
DMultibindingModule.java18 import dagger.Module;
19 import dagger.Provides;
20 import dagger.mapkeys.ClassKey;
21 import dagger.mapkeys.IntKey;
22 import dagger.mapkeys.LongKey;
23 import dagger.mapkeys.StringKey;
32 import static dagger.Provides.Type.MAP;
33 import static dagger.Provides.Type.SET;
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DDependencyRequestMapperTest.java16 package dagger.internal.codegen;
20 import dagger.Lazy;
21 import dagger.MembersInjector;
22 import dagger.Module;
23 import dagger.Provides;
24 import dagger.producers.Produced;
25 import dagger.producers.Producer;
26 import dagger.producers.ProducerModule;
27 import dagger.producers.Produces;
DProducerModuleFactoryGeneratorTest.java17 package dagger.internal.codegen;
29 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_ABSTRACT;
30 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_MUST_RETURN_A_VALUE;
31 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_NOT_IN_MODULE;
32 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_PRIVATE;
33 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_SET_VALUES_RAW_SET;
34 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_TYPE_PARAMETER;
35 import static dagger.internal.codegen.ErrorMessages.BINDING_METHOD_WITH_SAME_NAME;
36 import static dagger.internal.codegen.ErrorMessages.PRODUCES_METHOD_RAW_FUTURE;
37 import static dagger.internal.codegen.ErrorMessages.PRODUCES_METHOD_RETURN_TYPE;
[all …]
DInjectConstructorFactoryGeneratorTest.java16 package dagger.internal.codegen;
28 import static dagger.internal.codegen.ErrorMessages.ABSTRACT_INJECT_METHOD;
29 import static dagger.internal.codegen.ErrorMessages.FINAL_INJECT_FIELD;
30 import static dagger.internal.codegen.ErrorMessages.GENERIC_INJECT_METHOD;
31 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_ABSTRACT_CLASS;
32 import static dagger.internal.codegen.ErrorMessages.INJECT_CONSTRUCTOR_ON_INNER_CLASS;
33 import static dagger.internal.codegen.ErrorMessages.INJECT_ON_PRIVATE_CONSTRUCTOR;
34 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_INJECT_CONSTRUCTORS;
35 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_QUALIFIERS;
36 import static dagger.internal.codegen.ErrorMessages.MULTIPLE_SCOPES;
[all …]
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/
DChildMultibindingModule.java18 import dagger.Module;
19 import dagger.Provides;
20 import dagger.mapkeys.StringKey;
22 import static dagger.Provides.Type.MAP;
23 import static dagger.Provides.Type.SET;
DParentMultibindingModule.java18 import dagger.Module;
19 import dagger.Provides;
20 import dagger.mapkeys.StringKey;
22 import static dagger.Provides.Type.MAP;
23 import static dagger.Provides.Type.SET;
/external/dagger2/producers/src/main/java/dagger/producers/internal/
DAbstractProducer.java16 package dagger.producers.internal;
19 import dagger.producers.Producer;
20 import dagger.producers.monitoring.ProducerMonitor;
21 import dagger.producers.monitoring.ProducerToken;
22 import dagger.producers.monitoring.ProductionComponentMonitor;
23 import dagger.producers.monitoring.internal.Monitors;
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/cycle/
DCycles.java18 import dagger.Component;
19 import dagger.Lazy;
20 import dagger.Module;
21 import dagger.Provides;
22 import dagger.Subcomponent;
23 import dagger.mapkeys.StringKey;
28 import static dagger.Provides.Type.MAP;

12345678910>>...15