Home
last modified time | relevance | path

Searched refs:requestElement (Results 1 – 13 of 13) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/
DDependencyRequestValidator.java48 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()
DDependencyRequestFactory.java166 .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()
DDiagnosticReporterFactory.java326 .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()
DDaggerKythePlugin.java106 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()
DMembersInjectionValidator.java45 Element requestElement, TypeMirror membersInjectedType) { in validateMembersInjectionRequest() argument
46 ValidationReport.Builder<Element> report = ValidationReport.about(requestElement); in validateMembersInjectionRequest()
47 checkQualifiers(report, requestElement); in validateMembersInjectionRequest()
DDependencyVariableNamer.java41 if (!dependency.requestElement().isPresent()) { in name()
45 String variableName = dependency.requestElement().get().getSimpleName().toString(); in name()
DDependencyEdgeImpl.java47 .requestElement() in toString()
DDependencyRequestFormatter.java68 .requestElement() in format()
DSourceFiles.java90 (DependencyRequest request) -> request.requestElement().map(Element::getKind),
97 request.requestElement().map(element -> element.getSimpleName().toString()),
DInjectionMethods.java387 } else if (dependency.requestElement().get().asType().getKind().equals(TypeKind.TYPEVAR)) { in injectionMethodArgument()
401 .requestElement() in accessibleType()
DProducerFactoryGenerator.java303 return dependency.requestElement().get().getSimpleName() + "Future"; in dependencyFutureName()
404 String argName = asyncDependency.requestElement().get().getSimpleName().toString(); in applyArgName()
/external/dagger2/java/dagger/model/
DDependencyRequest.java49 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/
DFailingPlugin.java79 .requestElement() in visitGraph()