Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/validation/
DDependencyRequestValidator.java75 ValidationReport.Builder<?> report, Element requestElement, TypeMirror requestType) { in validateDependencyRequest() argument
76 if (MoreElements.isAnnotationPresent(requestElement, Assisted.class)) { in validateDependencyRequest()
80 checkQualifiers(report, requestElement); in validateDependencyRequest()
81 checkType(report, requestElement, requestType); in validateDependencyRequest()
84 private void checkQualifiers(ValidationReport.Builder<?> report, Element requestElement) { in checkQualifiers() argument
85 if (requestElement.getKind() == ElementKind.FIELD in checkQualifiers()
87 && !requestElement.getModifiers().contains(STATIC) in checkQualifiers()
88 && metadataUtil.hasMetadata(requestElement) in checkQualifiers()
89 && metadataUtil.isMissingSyntheticPropertyForAnnotations(asVariable(requestElement))) { in checkQualifiers()
93 membersInjectorNameForType(asType(requestElement.getEnclosingElement())))); in checkQualifiers()
[all …]
DDiagnosticMessageGenerator.java190 .map(request -> request.dependencyRequest().requestElement()) in getMessageInternal()
232 Element requestElement = object.dependencyRequest().requestElement().get();
233 StringBuilder element = new StringBuilder(elementToString(requestElement));
239 || !requestElement.getEnclosingElement().equals(componentPath.rootComponent())) {
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()
DMembersInjectionValidator.java48 Element requestElement, TypeMirror membersInjectedType) { in validateMembersInjectionRequest() argument
49 ValidationReport.Builder<Element> report = ValidationReport.about(requestElement); in validateMembersInjectionRequest()
50 checkQualifiers(report, requestElement); in validateMembersInjectionRequest()
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java170 .requestElement(productionMethod) in forComponentProductionMethod()
188 .requestElement(membersInjectionMethod) in forComponentMembersInjectionMethod()
222 Element requestElement, TypeMirror type, Optional<AnnotationMirror> qualifier) { in newDependencyRequest() argument
227 .requestElement(requestElement) in newDependencyRequest()
228 .isNullable(allowsNull(requestKind, getNullableType(requestElement))) in newDependencyRequest()
DDependencyVariableNamer.java41 if (!dependency.requestElement().isPresent()) { in name()
45 String variableName = dependency.requestElement().get().getSimpleName().toString(); in name()
DDependencyEdgeImpl.java48 .requestElement() in toString()
DDependencyRequestFormatter.java69 .requestElement() in format()
/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/java/dagger/internal/codegen/kythe/
DDaggerKythePlugin.java107 if (!dependency.requestElement().isPresent()) { in addEdgesForDependencyRequest()
131 Element requestElement = dependency.requestElement().get(); in addDependencyEdge() local
133 Optional<VName> requestElementNode = jvmNode(requestElement, "request element"); in addDependencyEdge()
/external/dagger2/javatests/dagger/spi/
DFailingPlugin.java79 .requestElement() in visitGraph()
/external/dagger2/java/dagger/internal/codegen/writing/
DInjectionMethods.java166 request -> MoreElements.asVariable(request.requestElement().get()), in invokeArguments()
383 } else if (dependency.requestElement().get().asType().getKind().equals(TypeKind.TYPEVAR)) { in injectionMethodArgument()
397 .requestElement() in accessibleType()
DProducerFactoryGenerator.java310 return dependency.requestElement().get().getSimpleName() + "Future"; in dependencyFutureName()
412 String argName = asyncDependency.requestElement().get().getSimpleName().toString(); in applyArgName()