/external/dagger2/java/dagger/internal/codegen/validation/ |
D | DependencyRequestValidator.java | 75 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 …]
|
D | DiagnosticMessageGenerator.java | 190 .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()
|
D | MembersInjectionValidator.java | 48 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/ |
D | DependencyRequestFactory.java | 170 .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()
|
D | DependencyVariableNamer.java | 41 if (!dependency.requestElement().isPresent()) { in name() 45 String variableName = dependency.requestElement().get().getSimpleName().toString(); in name()
|
D | DependencyEdgeImpl.java | 48 .requestElement() in toString()
|
D | DependencyRequestFormatter.java | 69 .requestElement() in format()
|
/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/java/dagger/internal/codegen/kythe/ |
D | DaggerKythePlugin.java | 107 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/ |
D | FailingPlugin.java | 79 .requestElement() in visitGraph()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | InjectionMethods.java | 166 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()
|
D | ProducerFactoryGenerator.java | 310 return dependency.requestElement().get().getSimpleName() + "Future"; in dependencyFutureName() 412 String argName = asyncDependency.requestElement().get().getSimpleName().toString(); in applyArgName()
|