Home
last modified time | relevance | path

Searched refs:DependencyRequest (Results 1 – 25 of 41) sorted by relevance

12

/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java40 import dagger.model.DependencyRequest;
71 ImmutableSet<DependencyRequest> forRequiredResolvedVariables( in forRequiredResolvedVariables()
74 ImmutableSet.Builder<DependencyRequest> builder = ImmutableSet.builder(); in forRequiredResolvedVariables()
85 ImmutableSet<DependencyRequest> forMultibindingContributions( in forMultibindingContributions()
87 ImmutableSet.Builder<DependencyRequest> requests = ImmutableSet.builder(); in forMultibindingContributions()
95 private DependencyRequest forMultibindingContribution( in forMultibindingContribution()
101 return DependencyRequest.builder() in forMultibindingContribution()
132 DependencyRequest forRequiredResolvedVariable( in forRequiredResolvedVariable()
142 public DependencyRequest forComponentProvisionMethod( in forComponentProvisionMethod()
154 public DependencyRequest forComponentProductionMethod( in forComponentProductionMethod()
[all …]
DDependencyRequestFormatter.java26 import dagger.model.DependencyRequest;
57 public final class DependencyRequestFormatter extends Formatter<DependencyRequest> {
67 public String format(DependencyRequest request) { in format()
80 StringBuilder builder, DependencyRequest dependencyRequest) { in appendFormatLine()
88 private final ElementVisitor<String, DependencyRequest> formatVisitor =
89 new ElementKindVisitor8<String, DependencyRequest>() {
92 public String visitExecutableAsMethod(ExecutableElement method, DependencyRequest request) {
103 public String visitVariable(VariableElement variable, DependencyRequest request) {
114 public String visitType(TypeElement e, DependencyRequest request) {
119 protected String defaultAction(Element element, DependencyRequest request) {
[all …]
DProductionBinding.java29 import dagger.model.DependencyRequest;
49 public ImmutableSet<DependencyRequest> implicitDependencies() { in implicitDependencies()
94 abstract Optional<DependencyRequest> executorRequest(); in executorRequest()
100 abstract Optional<DependencyRequest> monitorRequest(); in monitorRequest()
112 .explicitDependencies(ImmutableList.<DependencyRequest>of()) in builder()
134 public Builder dependencies(Iterable<DependencyRequest> dependencies) { in dependencies()
138 abstract Builder explicitDependencies(Iterable<DependencyRequest> dependencies); in explicitDependencies()
147 abstract Builder executorRequest(DependencyRequest executorRequest); in executorRequest()
149 abstract Builder monitorRequest(DependencyRequest monitorRequest); in monitorRequest()
DProvisionBinding.java31 import dagger.model.DependencyRequest;
42 public ImmutableSet<DependencyRequest> explicitDependencies() { in explicitDependencies()
43 return ImmutableSet.<DependencyRequest>builder() in explicitDependencies()
52 public abstract ImmutableSet<DependencyRequest> provisionDependencies(); in provisionDependencies()
55 ImmutableSet<DependencyRequest> membersInjectionDependencies() { in membersInjectionDependencies()
123 public Builder dependencies(Iterable<DependencyRequest> dependencies) { in dependencies()
127 abstract Builder provisionDependencies(Iterable<DependencyRequest> provisionDependencies); in provisionDependencies()
DDependencyEdgeImpl.java21 import dagger.model.DependencyRequest;
26 private final DependencyRequest dependencyRequest;
29 DependencyEdgeImpl(DependencyRequest dependencyRequest, boolean entryPoint) { in DependencyEdgeImpl()
35 public DependencyRequest dependencyRequest() { in dependencyRequest()
DBinding.java30 import dagger.model.DependencyRequest;
85 public abstract ImmutableSet<DependencyRequest> explicitDependencies(); in explicitDependencies()
91 public ImmutableSet<DependencyRequest> implicitDependencies() { in implicitDependencies()
95 private final Supplier<ImmutableSet<DependencyRequest>> dependencies =
98 ImmutableSet<DependencyRequest> implicitDependencies = implicitDependencies();
110 public final ImmutableSet<DependencyRequest> dependencies() { in dependencies()
DMembersInjectionBinding.java27 import dagger.model.DependencyRequest;
109 public abstract ImmutableSet<DependencyRequest> dependencies(); in dependencies()
129 public static InjectionSite field(VariableElement element, DependencyRequest dependency) { in field()
135 ExecutableElement element, Iterable<DependencyRequest> dependencies) { in method()
DBindingGraphConverter.java44 import dagger.model.DependencyRequest;
183 for (DependencyRequest dependencyRequest : binding.dependencies()) { in visitComponent()
223 private void visitEntryPoint(ComponentNode componentNode, DependencyRequest entryPoint) { in visitEntryPoint()
287 private void addDependencyEdges(Node source, DependencyRequest dependencyRequest) { in addDependencyEdges()
299 Node source, DependencyRequest dependencyRequest, Node dependency) { in addDependencyEdge()
310 Node source, Node dependency, DependencyRequest dependencyRequest) { in hasDependencyEdge()
327 Node source, DependencyRequest dependencyRequest) { in resolvedDependencies()
DDelegateDeclaration.java33 import dagger.model.DependencyRequest;
46 abstract DependencyRequest delegateRequest(); in delegateRequest()
79 DependencyRequest delegateRequest = in create()
DComponentNodeImpl.java25 import dagger.model.DependencyRequest;
47 public final ImmutableSet<DependencyRequest> entryPoints() { in entryPoints()
DSourceFiles.java57 import dagger.model.DependencyRequest;
89 public static ImmutableMap<DependencyRequest, FrameworkField>
128 public static ImmutableMap<DependencyRequest, CodeBlock> frameworkFieldUsages( in frameworkFieldUsages() argument
129 ImmutableSet<DependencyRequest> dependencies, in frameworkFieldUsages()
130 ImmutableMap<DependencyRequest, FieldSpec> fields) { in frameworkFieldUsages()
DBindingRequest.java23 import dagger.model.DependencyRequest;
37 public static BindingRequest bindingRequest(DependencyRequest dependencyRequest) { in bindingRequest()
DContributionBinding.java35 import dagger.model.DependencyRequest;
163 public abstract B dependencies(Iterable<DependencyRequest> dependencies); in dependencies()
165 public B dependencies(DependencyRequest... dependencies) { in dependencies()
DDependencyVariableNamer.java25 import dagger.model.DependencyRequest;
40 static String name(DependencyRequest dependency) { in name()
/external/dagger2/java/dagger/internal/codegen/writing/
DProducerFactoryGenerator.java73 import dagger.model.DependencyRequest;
133 ImmutableMap.Builder<DependencyRequest, FieldSpec> fieldsBuilder = ImmutableMap.builder(); in write()
151 ImmutableMap<DependencyRequest, FrameworkField> bindingFieldsForDependencies = in write()
153 for (Entry<DependencyRequest, FrameworkField> entry : bindingFieldsForDependencies.entrySet()) { in write()
154 DependencyRequest dependency = entry.getKey(); in write()
172 ImmutableMap<DependencyRequest, FieldSpec> fields = fieldsBuilder.build(); in write()
189 ImmutableList<DependencyRequest> asyncDependencies = asyncDependencies(binding); in write()
190 for (DependencyRequest dependency : asyncDependencies) { in write()
288 private static ImmutableList<DependencyRequest> asyncDependencies(Binding binding) { in asyncDependencies()
309 private static String dependencyFutureName(DependencyRequest dependency) { in dependencyFutureName()
[all …]
DSetBindingExpression.java36 import dagger.model.DependencyRequest;
88 DependencyRequest dependency = getOnlyElement(binding.dependencies()); in getDependencyExpression()
116 for (DependencyRequest dependency : binding.dependencies()) { in getDependencyExpression()
134 DependencyRequest dependency, ClassName requestingClass) { in getContributionExpression()
158 private boolean isSingleValue(DependencyRequest dependency) { in isSingleValue()
DMembersInjectorGenerator.java62 import dagger.model.DependencyRequest;
138 ImmutableMap<DependencyRequest, FrameworkField> fields = in write()
141 ImmutableMap.Builder<DependencyRequest, FieldSpec> dependencyFieldsBuilder = in write()
161 for (Entry<DependencyRequest, FrameworkField> fieldEntry : fields.entrySet()) { in write()
162 DependencyRequest dependency = fieldEntry.getKey(); in write()
200 ImmutableMap<DependencyRequest, FieldSpec> dependencyFields = dependencyFieldsBuilder.build(); in write()
DMapBindingExpression.java41 import dagger.model.DependencyRequest;
52 private final ImmutableMap<DependencyRequest, ContributionBinding> dependencies;
115 for (DependencyRequest dependency : dependencies.keySet()) { in getDependencyExpression()
130 private CodeBlock keyAndValueExpression(DependencyRequest dependency, ClassName requestingClass) { in keyAndValueExpression()
DInjectionMethods.java68 import dagger.model.DependencyRequest;
144 Function<DependencyRequest, CodeBlock> dependencyUsage, in invoke() argument
160 Function<DependencyRequest, CodeBlock> dependencyUsage, in invokeArguments() argument
162 ImmutableMap<VariableElement, DependencyRequest> dependencyRequestMap = in invokeArguments()
175 DependencyRequest request = dependencyRequestMap.get(parameter); in invokeArguments()
296 Function<DependencyRequest, CodeBlock> dependencyUsage, in invokeAll() argument
335 Function<DependencyRequest, CodeBlock> dependencyUsage, in invoke() argument
375 DependencyRequest dependency, CodeBlock argument, ClassName generatedTypeName) { in injectionMethodArgument()
394 private static TypeName accessibleType(DependencyRequest dependency) { in accessibleType()
DDelegatingFrameworkInstanceCreationExpression.java27 import dagger.model.DependencyRequest;
48 DependencyRequest dependency = getOnlyElement(binding.dependencies()); in creationExpression()
DMultibindingFactoryCreationExpression.java26 import dagger.model.DependencyRequest;
45 protected final CodeBlock multibindingDependencyExpression(DependencyRequest dependency) { in multibindingDependencyExpression()
DSetFactoryCreationExpression.java28 import dagger.model.DependencyRequest;
64 for (DependencyRequest dependency : binding.dependencies()) { in creationExpression()
/external/dagger2/java/dagger/model/
DDependencyRequest.java38 public abstract class DependencyRequest { class
58 public static DependencyRequest.Builder builder() { in builder()
75 public abstract DependencyRequest build(); in build()
DBindingGraph.java190 public ImmutableSetMultimap<DependencyRequest, DependencyEdge> dependencyEdges( in dependencyEdges()
197 public ImmutableSet<DependencyEdge> dependencyEdges(DependencyRequest dependencyRequest) { in dependencyEdges()
338 DependencyRequest dependencyRequest(); in dependencyRequest()
439 ImmutableSet<DependencyRequest> entryPoints(); in entryPoints()
/external/dagger2/java/dagger/internal/codegen/kythe/
DDaggerKythePlugin.java49 import dagger.model.DependencyRequest;
90 DependencyRequest dependency = dependencyEdge.dependencyRequest(); in addDependencyEdges()
106 DependencyRequest dependency, BindingNode bindingNode, BindingGraph graph) { in addEdgesForDependencyRequest()
130 DependencyRequest dependency, BindingDeclaration bindingDeclaration) { in addDependencyEdge()

12