Home
last modified time | relevance | path

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

12

/external/dagger2/java/dagger/internal/codegen/
DDependencyRequestFactory.java38 import dagger.model.DependencyRequest;
69 ImmutableSet<DependencyRequest> forRequiredResolvedVariables( in forRequiredResolvedVariables()
72 ImmutableSet.Builder<DependencyRequest> builder = ImmutableSet.builder(); in forRequiredResolvedVariables()
83 ImmutableSet<DependencyRequest> forMultibindingContributions( in forMultibindingContributions()
85 ImmutableSet.Builder<DependencyRequest> requests = ImmutableSet.builder(); in forMultibindingContributions()
93 private DependencyRequest forMultibindingContribution( in forMultibindingContribution()
99 return DependencyRequest.builder() in forMultibindingContribution()
130 DependencyRequest forRequiredResolvedVariable( in forRequiredResolvedVariable()
138 DependencyRequest forComponentProvisionMethod( in forComponentProvisionMethod()
150 DependencyRequest forComponentProductionMethod( in forComponentProductionMethod()
[all …]
DBinding.java37 import dagger.model.DependencyRequest;
95 abstract ImmutableSet<DependencyRequest> explicitDependencies(); in explicitDependencies()
102 ImmutableSet<DependencyRequest> implicitDependencies() { in implicitDependencies()
106 private final Supplier<ImmutableSet<DependencyRequest>> dependencies =
109 ImmutableSet<DependencyRequest> implicitDependencies = implicitDependencies();
121 final ImmutableSet<DependencyRequest> dependencies() { in dependencies()
179 abstract ImmutableSet<DependencyRequest> dependencyRequests(); in dependencyRequests()
182 FrameworkDependency frameworkDependency, Iterable<DependencyRequest> dependencyRequests) { in create()
194 for (Set<DependencyRequest> requests : groupByUnresolvedKey()) {
199 requests.stream().map(DependencyRequest::key).collect(toSet())),
[all …]
DDependencyRequestFormatter.java25 import dagger.model.DependencyRequest;
56 final class DependencyRequestFormatter extends Formatter<DependencyRequest> {
66 public String format(DependencyRequest request) { in format()
78 StringBuilder appendFormatLine(StringBuilder builder, DependencyRequest dependencyRequest) { in appendFormatLine()
86 private final ElementVisitor<String, DependencyRequest> formatVisitor =
87 new ElementKindVisitor8<String, DependencyRequest>() {
90 public String visitExecutableAsMethod(ExecutableElement method, DependencyRequest request) {
101 public String visitVariable(VariableElement variable, DependencyRequest request) {
112 public String visitType(TypeElement e, DependencyRequest request) {
117 protected String defaultAction(Element element, DependencyRequest request) {
[all …]
DProductionBinding.java27 import dagger.model.DependencyRequest;
49 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()
129 Builder dependencies(Iterable<DependencyRequest> dependencies) { in dependencies()
133 abstract Builder explicitDependencies(Iterable<DependencyRequest> dependencies); in explicitDependencies()
142 abstract Builder executorRequest(DependencyRequest executorRequest); in executorRequest()
144 abstract Builder monitorRequest(DependencyRequest monitorRequest); in monitorRequest()
DProvisionBinding.java30 import dagger.model.DependencyRequest;
43 ImmutableSet<DependencyRequest> explicitDependencies() { in explicitDependencies()
44 return ImmutableSet.<DependencyRequest>builder() in explicitDependencies()
53 abstract ImmutableSet<DependencyRequest> provisionDependencies(); in provisionDependencies()
56 ImmutableSet<DependencyRequest> membersInjectionDependencies() { in membersInjectionDependencies()
121 Builder dependencies(Iterable<DependencyRequest> dependencies) { in dependencies()
125 abstract Builder provisionDependencies(Iterable<DependencyRequest> provisionDependencies); in provisionDependencies()
DDependencyEdgeImpl.java20 import dagger.model.DependencyRequest;
25 private final DependencyRequest dependencyRequest;
28 DependencyEdgeImpl(DependencyRequest dependencyRequest, boolean entryPoint) { in DependencyEdgeImpl()
34 public DependencyRequest dependencyRequest() { in dependencyRequest()
DProducerFactoryGenerator.java63 import dagger.model.DependencyRequest;
185 ImmutableList<DependencyRequest> asyncDependencies = asyncDependencies(binding); in write()
186 for (DependencyRequest dependency : asyncDependencies) { in write()
273 private static ImmutableList<DependencyRequest> asyncDependencies(Binding binding) { in asyncDependencies()
274 final ImmutableMap<DependencyRequest, FrameworkDependency> frameworkDependencies = in asyncDependencies()
302 private static String dependencyFutureName(DependencyRequest dependency) { in dependencyFutureName()
333 CodeBlock frameworkTypeUsageStatement(DependencyRequest dependency) { in frameworkTypeUsageStatement()
341 ImmutableList<DependencyRequest> asyncDependencies) { in create()
382 private final DependencyRequest asyncDependency;
387 DependencyRequest asyncDependency) { in SingleArgFutureTransform()
[all …]
DBindingGraphConverter.java37 import dagger.model.DependencyRequest;
127 protected void visitEntryPoint(DependencyRequest entryPoint, BindingGraph graph) { in visitEntryPoint()
144 private void addDependencyEdges(Node source, DependencyRequest dependencyRequest) { in addDependencyEdges()
156 Node source, DependencyRequest dependencyRequest, Node dependency) { in addDependencyEdge()
167 Node source, Node dependency, DependencyRequest dependencyRequest) { in hasDependencyEdge()
184 Node source, DependencyRequest dependencyRequest) { in resolvedDependencies()
192 for (DependencyRequest dependencyRequest : binding.dependencies()) { in addBinding()
DMembersInjectionBinding.java27 import dagger.model.DependencyRequest;
109 abstract ImmutableSet<DependencyRequest> dependencies(); in dependencies()
129 static InjectionSite field(VariableElement element, DependencyRequest dependency) { in field()
135 ExecutableElement element, Iterable<DependencyRequest> dependencies) { in method()
DSimpleMethodBindingExpression.java37 import dagger.model.DependencyRequest;
86 ImmutableMap<DependencyRequest, Expression> arguments = in getDependencyExpression()
91 Function<DependencyRequest, CodeBlock> argumentsFunction = in getDependencyExpression()
104 Function<DependencyRequest, CodeBlock> argumentsFunction, in invokeMethod() argument
142 Function<DependencyRequest, CodeBlock> argumentsFunction, ClassName requestingClass) { in invokeInjectionMethod() argument
153 private Expression dependencyArgument(DependencyRequest dependency, ClassName requestingClass) { in dependencyArgument()
DSetBindingExpression.java32 import dagger.model.DependencyRequest;
89 DependencyRequest dependency = getOnlyElement(binding.dependencies()); in buildDependencyExpression()
117 for (DependencyRequest dependency : getNewContributions(binding.dependencies())) { in buildDependencyExpression()
138 DependencyRequest dependency, ClassName requestingClass) { in getContributionExpression()
162 private boolean isSingleValue(DependencyRequest dependency) { in isSingleValue()
DMultibindingExpression.java25 import dagger.model.DependencyRequest;
63 protected Set<DependencyRequest> getNewContributions( in getNewContributions()
64 ImmutableSet<DependencyRequest> dependencies) { in getNewContributions()
DSourceFiles.java58 import dagger.model.DependencyRequest;
87 static final Comparator<DependencyRequest> DEPENDENCY_ORDERING =
90 (DependencyRequest request) -> request.requestElement().map(Element::getKind),
93 .thenComparing(DependencyRequest::kind)
129 private static String fieldNameForDependency(ImmutableSet<DependencyRequest> dependencyRequests) { in fieldNameForDependency()
174 static ImmutableMap<DependencyRequest, CodeBlock> frameworkFieldUsages( in frameworkFieldUsages()
175 ImmutableSet<DependencyRequest> dependencies, ImmutableMap<Key, FieldSpec> fields) { in frameworkFieldUsages()
DDaggerKythePlugin.java38 import dagger.model.DependencyRequest;
81 for (DependencyRequest dependency : binding.explicitDependencies()) { in addDependencyEdges()
105 DependencyRequest dependency, Key targetKey, BindingGraph graph) { in addEdgesForDependencyRequest()
115 for (DependencyRequest subsequentDependency : binding.explicitDependencies()) { in addEdgesForDependencyRequest()
129 DependencyRequest dependency, BindingDeclaration bindingDeclaration) { in addDependencyEdge()
DMultibindingFactoryCreationExpression.java27 import dagger.model.DependencyRequest;
48 protected final CodeBlock multibindingDependencyExpression(DependencyRequest dependency) { in multibindingDependencyExpression()
61 protected final ImmutableSet<DependencyRequest> dependenciesToImplement() { in dependenciesToImplement()
DDelegateDeclaration.java32 import dagger.model.DependencyRequest;
46 abstract DependencyRequest delegateRequest(); in delegateRequest()
78 DependencyRequest delegateRequest = in create()
DInjectionMethods.java49 import dagger.model.DependencyRequest;
136 Function<DependencyRequest, CodeBlock> dependencyUsage, in invoke() argument
283 Function<DependencyRequest, CodeBlock> dependencyUsage, in invokeAll() argument
322 Function<DependencyRequest, CodeBlock> dependencyUsage, in invoke() argument
370 ImmutableSet<DependencyRequest> dependencies, in injectionMethodArguments()
371 Function<DependencyRequest, CodeBlock> dependencyUsage, in injectionMethodArguments() argument
379 DependencyRequest dependency, CodeBlock argument, ClassName generatedTypeName) { in injectionMethodArgument()
398 private static TypeName accessibleType(DependencyRequest dependency) { in accessibleType()
DMapBindingExpression.java37 import dagger.model.DependencyRequest;
49 private final ImmutableMap<DependencyRequest, ContributionBinding> dependencies;
118 for (DependencyRequest dependency : getNewContributions(dependencies.keySet())) { in buildDependencyExpression()
136 private CodeBlock keyAndValueExpression(DependencyRequest dependency, ClassName requestingClass) { in keyAndValueExpression()
DComponentNodeImpl.java25 import dagger.model.DependencyRequest;
47 public final ImmutableSet<DependencyRequest> entryPoints() { in entryPoints()
DDelegatingFrameworkInstanceCreationExpression.java26 import dagger.model.DependencyRequest;
47 DependencyRequest dependency = getOnlyElement(binding.dependencies()); in creationExpression()
DContributionBinding.java33 import dagger.model.DependencyRequest;
183 abstract B dependencies(Iterable<DependencyRequest> dependencies); in dependencies()
185 B dependencies(DependencyRequest... dependencies) { in dependencies()
DFrameworkTypeMapper.java23 import dagger.model.DependencyRequest;
80 FrameworkType getFrameworkType(Set<DependencyRequest> requests) { in getFrameworkType()
DDependencyVariableNamer.java25 import dagger.model.DependencyRequest;
40 static String name(DependencyRequest dependency) { in name()
/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.java200 public final ImmutableSetMultimap<DependencyRequest, DependencyEdge> dependencyEdges( in dependencyEdges()
207 public final ImmutableSet<DependencyEdge> dependencyEdges(DependencyRequest dependencyRequest) { in dependencyEdges()
349 DependencyRequest dependencyRequest(); in dependencyRequest()
461 ImmutableSet<DependencyRequest> entryPoints(); in entryPoints()

12