/external/dagger2/java/dagger/internal/codegen/binding/ |
D | DependencyEdgeImpl.java | 26 private final DependencyRequest dependencyRequest; field in DependencyEdgeImpl 29 DependencyEdgeImpl(DependencyRequest dependencyRequest, boolean entryPoint) { in DependencyEdgeImpl() argument 30 this.dependencyRequest = dependencyRequest; in DependencyEdgeImpl() 35 public DependencyRequest dependencyRequest() { in dependencyRequest() method in DependencyEdgeImpl 36 return dependencyRequest; in dependencyRequest() 47 dependencyRequest in toString() 53 + dependencyRequest.kind().format(dependencyRequest.key())); in toString()
|
D | BindingGraphConverter.java | 176 visitEntryPoint(currentComponent, entryPointMethod.dependencyRequest().get()); in visitComponent() 183 for (DependencyRequest dependencyRequest : binding.dependencies()) { in visitComponent() 184 addDependencyEdges(binding, dependencyRequest); in visitComponent() 287 private void addDependencyEdges(Node source, DependencyRequest dependencyRequest) { in addDependencyEdges() argument 288 ResolvedBindings dependencies = resolvedDependencies(source, dependencyRequest); in addDependencyEdges() 290 addDependencyEdge(source, dependencyRequest, missingBindingNode(dependencies)); in addDependencyEdges() 293 addDependencyEdge(source, dependencyRequest, dependency); in addDependencyEdges() 299 Node source, DependencyRequest dependencyRequest, Node dependency) { in addDependencyEdge() argument 301 if (!hasDependencyEdge(source, dependency, dependencyRequest)) { in addDependencyEdge() 305 new DependencyEdgeImpl(dependencyRequest, source instanceof ComponentNode)); in addDependencyEdge() [all …]
|
D | ComponentDescriptor.java | 252 .dependencyRequest() in doesComponentMethodMatch() 262 .filter(method -> method.dependencyRequest().isPresent()) in entryPointMethods() 311 public abstract Optional<DependencyRequest> dependencyRequest(); in dependencyRequest() method in ComponentDescriptor.ComponentMethodDescriptor 322 checkState(dependencyRequest().isPresent()); in resolvedReturnType() 328 return BindingRequest.bindingRequest(dependencyRequest().get()) in resolvedReturnType() 329 .requestedType(dependencyRequest().get().key().type(), types); in resolvedReturnType() 346 Builder dependencyRequest(DependencyRequest dependencyRequest); in dependencyRequest() argument
|
D | BindingRequest.java | 37 public static BindingRequest bindingRequest(DependencyRequest dependencyRequest) { in bindingRequest() argument 38 return bindingRequest(dependencyRequest.key(), dependencyRequest.kind()); in bindingRequest()
|
D | DependencyRequestFormatter.java | 80 StringBuilder builder, DependencyRequest dependencyRequest) { in appendFormatLine() argument 81 String formatted = format(dependencyRequest); in appendFormatLine()
|
D | ComponentDescriptorFactory.java | 173 if (componentMethodDescriptor.dependencyRequest().isPresent()) { in create() 246 descriptor.dependencyRequest( in getDescriptorForComponentMethod() 261 descriptor.dependencyRequest( in getDescriptorForComponentMethod()
|
D | ComponentNodeImpl.java | 49 .map(method -> method.dependencyRequest().get()) in entryPoints()
|
D | BindingGraphFactory.java | 211 .map(method -> method.dependencyRequest().get()) in createLegacyBindingGraph()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ProducerEntryPointView.java | 61 && (componentMethod.dependencyRequest().get().kind().equals(RequestKind.FUTURE) in getProducerEntryPointField() 62 || componentMethod.dependencyRequest().get().kind().equals(RequestKind.PRODUCER))) { in getProducerEntryPointField() 108 return types.wrapType(componentMethod.dependencyRequest().get().key().type(), Producer.class); in fieldType()
|
D | ComponentBindingExpressions.java | 196 DependencyRequest dependencyRequest, ClassName requestingClass) { in getDependencyArgumentExpression() argument 198 TypeMirror dependencyType = dependencyRequest.key().type(); in getDependencyArgumentExpression() 199 BindingRequest bindingRequest = bindingRequest(dependencyRequest); in getDependencyArgumentExpression() 202 if (dependencyRequest.kind().equals(RequestKind.INSTANCE) in getDependencyArgumentExpression() 213 checkArgument(componentMethod.dependencyRequest().isPresent()); in getComponentMethod() 214 BindingRequest request = bindingRequest(componentMethod.dependencyRequest().get()); in getComponentMethod()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | DiagnosticMessageGenerator.java | 176 edge -> dependencyRequestFormatter.appendFormatLine(message, edge.dependencyRequest())); in getMessageInternal() 190 .map(request -> request.dependencyRequest().requestElement()) in getMessageInternal() 232 Element requestElement = object.dependencyRequest().requestElement().get(); 305 .filter(edge -> edge.dependencyRequest().requestElement().isPresent()) in requests() 361 entryPoint.dependencyRequest().requestElement().get().getEnclosingElement()); in typeDeclaringEntryPoint() 371 closestEnclosingTypeElement(edge.dependencyRequest().requestElement().get()) in requestEnclosingTypeName() 383 return comparing(edge -> edge.dependencyRequest().requestElement().get(), DECLARATION_ORDER); in requestElementDeclarationOrder()
|
D | ComponentValidator.java | 494 .map(this::dependencyRequest) in distinctKeys() 499 private DependencyRequest dependencyRequest(ExecutableElement method) { in dependencyRequest() method in ComponentValidator.ElementValidator
|
/external/dagger2/java/dagger/model/ |
D | BindingGraph.java | 193 .collect(toImmutableSetMultimap(DependencyEdge::dependencyRequest, edge -> edge)); in dependencyEdges() 197 public ImmutableSet<DependencyEdge> dependencyEdges(DependencyRequest dependencyRequest) { in dependencyEdges() argument 199 .filter(edge -> edge.dependencyRequest().equals(dependencyRequest)) in dependencyEdges() 338 DependencyRequest dependencyRequest(); in dependencyRequest() method
|
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | DependencyCycleValidator.java | 181 .map(DependencyEdge::dependencyRequest) in errorMessage() 203 if (edge.dependencyRequest().key().multibindingContributionIdentifier().isPresent()) { in breaksCycle() 206 if (breaksCycle(edge.dependencyRequest().key().type(), edge.dependencyRequest().kind())) { in breaksCycle() 214 TypeMirror optionalValueType = OptionalType.from(edge.dependencyRequest().key()).valueType(); in breaksCycle()
|
D | ProvisionDependencyOnProducerBindingValidator.java | 80 ? canBeSatisfiedByProductionBinding(edge.dependencyRequest().kind()) in dependencyCanUseProduction() 106 entryPoint.dependencyRequest().key()); in entryPointErrorMessage()
|
D | NullableBindingValidator.java | 75 .filter(edge -> !edge.dependencyRequest().isNullable()) in nonNullableDependencies()
|
D | MissingBindingValidator.java | 117 return canBeSatisfiedByProductionBinding(edge.dependencyRequest().kind()); in dependencyCanBeProduction()
|
/external/dagger2/javatests/dagger/spi/ |
D | FailingPlugin.java | 78 edge.dependencyRequest() in visitGraph()
|
/external/dagger2/java/dagger/internal/codegen/kythe/ |
D | DaggerKythePlugin.java | 90 DependencyRequest dependency = dependencyEdge.dependencyRequest(); in addDependencyEdges()
|