Searched refs:requestElement (Results 1 – 13 of 13) sorted by relevance
/external/dagger2/java/dagger/internal/codegen/ |
D | DependencyRequestValidator.java | 48 ValidationReport.Builder<?> report, Element requestElement, TypeMirror requestType) { in validateDependencyRequest() argument 49 ImmutableSet<? extends AnnotationMirror> qualifiers = getQualifiers(requestElement); in validateDependencyRequest() 54 requestElement, in validateDependencyRequest() 66 requestElement); in validateDependencyRequest() 71 report.addError("Cannot inject a raw MembersInjector", requestElement); in validateDependencyRequest() 75 requestElement, membersInjectorType.getTypeArguments().get(0))); in validateDependencyRequest() 87 void checkNotProducer(ValidationReport.Builder<?> report, VariableElement requestElement) { in checkNotProducer() argument 88 TypeMirror requestType = requestElement.asType(); in checkNotProducer() 94 requestElement); in checkNotProducer()
|
D | DependencyRequestFactory.java | 166 .requestElement(productionMethod) in forComponentProductionMethod() 184 .requestElement(membersInjectionMethod) in forComponentMembersInjectionMethod() 218 Element requestElement, TypeMirror type, Optional<AnnotationMirror> qualifier) { in newDependencyRequest() argument 223 .requestElement(requestElement) in newDependencyRequest() 224 .isNullable(allowsNull(requestKind, getNullableType(requestElement))) in newDependencyRequest()
|
D | DiagnosticReporterFactory.java | 326 .map(request -> request.dependencyRequest().requestElement()) in toString() 362 Element requestElement = object.dependencyRequest().requestElement().get(); 363 StringBuilder element = new StringBuilder(elementToString(requestElement)); 369 || !requestElement.getEnclosingElement().equals(rootComponent)) { 434 .filter(edge -> edge.dependencyRequest().requestElement().isPresent()) in requests() 492 entryPoint.dependencyRequest().requestElement().get().getEnclosingElement()); in typeDeclaringEntryPoint() 502 closestEnclosingTypeElement(edge.dependencyRequest().requestElement().get()) in requestEnclosingTypeName() 515 edge -> edge.dependencyRequest().requestElement().get(), DECLARATION_ORDER); in requestElementDeclarationOrder()
|
D | DaggerKythePlugin.java | 106 if (!dependency.requestElement().isPresent()) { in addEdgesForDependencyRequest() 130 Element requestElement = dependency.requestElement().get(); in addDependencyEdge() local 132 Optional<VName> requestElementNode = jvmNode(requestElement, "request element"); in addDependencyEdge()
|
D | MembersInjectionValidator.java | 45 Element requestElement, TypeMirror membersInjectedType) { in validateMembersInjectionRequest() argument 46 ValidationReport.Builder<Element> report = ValidationReport.about(requestElement); in validateMembersInjectionRequest() 47 checkQualifiers(report, requestElement); in validateMembersInjectionRequest()
|
D | DependencyVariableNamer.java | 41 if (!dependency.requestElement().isPresent()) { in name() 45 String variableName = dependency.requestElement().get().getSimpleName().toString(); in name()
|
D | DependencyEdgeImpl.java | 47 .requestElement() in toString()
|
D | DependencyRequestFormatter.java | 68 .requestElement() in format()
|
D | SourceFiles.java | 90 (DependencyRequest request) -> request.requestElement().map(Element::getKind), 97 request.requestElement().map(element -> element.getSimpleName().toString()),
|
D | InjectionMethods.java | 387 } else if (dependency.requestElement().get().asType().getKind().equals(TypeKind.TYPEVAR)) { in injectionMethodArgument() 401 .requestElement() in accessibleType()
|
D | ProducerFactoryGenerator.java | 303 return dependency.requestElement().get().getSimpleName() + "Future"; in dependencyFutureName() 404 String argName = asyncDependency.requestElement().get().getSimpleName().toString(); in applyArgName()
|
/external/dagger2/java/dagger/model/ |
D | DependencyRequest.java | 49 public abstract Optional<Element> requestElement(); in requestElement() method in DependencyRequest 70 public abstract Builder requestElement(Element element); in requestElement() method in DependencyRequest.Builder
|
/external/dagger2/javatests/dagger/spi/ |
D | FailingPlugin.java | 79 .requestElement() in visitGraph()
|