Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DDependencyRequestFormatter.java54 Element requestElement = request.requestElement(); in format() local
55 Optional<AnnotationMirror> qualifier = InjectionAnnotations.getQualifier(requestElement); in format()
56 return requestElement.accept(new SimpleElementVisitor6<String, Optional<AnnotationMirror>>(){ in format()
DSourceFiles.java59 .compare(left.requestElement().getKind(), right.requestElement().getKind())
63 .compare(left.requestElement().getSimpleName().toString(),
64 right.requestElement().getSimpleName().toString()).result();
91 DependencyRequest.Factory.extractKindAndType(dependency.requestElement().asType()).type(); in indexDependenciesByUnresolvedKey()
DDependencyRequest.java110 abstract Element requestElement(); in requestElement() method in DependencyRequest
179 mapOfValueRequest.requestElement(), in forImplicitMapBinding()
302 Element requestElement, in newDependencyRequest() argument
315 || ConfigurationAnnotations.getNullableType(requestElement).isPresent(); in newDependencyRequest()
319 requestElement, in newDependencyRequest()
DBindingGraphValidator.java363 request.requestElement()); in validateNullability()
416 "Invalid members injection request.", path.peek().request().requestElement()); in validateMembersInjectionBinding()
482 path.peek().request().requestElement()); in validateMembersInjectionBinding()
506 path.peek().request().requestElement()); in validateMembersInjectionBinding()
783 reportBuilder.addError(errorMessage.toString(), path.getLast().request().requestElement()); in reportProviderMayNotDependOnProducer()
819 reportBuilder.addError(errorMessage.toString(), path.getLast().request().requestElement()); in reportMissingBinding()
841 reportBuilder.addError(builder.toString(), path.getLast().request().requestElement()); in reportDuplicateBindings()
865 reportBuilder.addError(builder.toString(), path.getLast().request().requestElement()); in reportMultipleBindingTypes()
873 reportBuilder.addError(builder.toString(), path.getLast().request().requestElement()); in reportDuplicateMapKeys()
895 reportBuilder.addError(builder.toString(), path.getLast().request().requestElement()); in reportInconsistentMapKeyAnnotations()
[all …]
DAbstractComponentWriter.java587 ExecutableElement requestElement = in implementInterfaceMethods() local
588 MoreElements.asExecutable(interfaceRequest.requestElement()); in implementInterfaceMethods()
590 MoreTypes.asDeclared(componentDefinitionType().asType()), requestElement)); in implementInterfaceMethods()
592 requestElement.getSimpleName().toString(), requestType); in implementInterfaceMethods()
598 VoidName.VOID, requestElement.getSimpleName().toString()) in implementInterfaceMethods()
600 requestType.getReturnType(), requestElement.getSimpleName().toString()); in implementInterfaceMethods()
608 List<? extends VariableElement> parameters = requestElement.getParameters(); in implementInterfaceMethods()
1060 Element requestElement = dependencyRequest.requestElement(); in getDependencyParameters() local
1061 TypeMirror typeMirror = typeMirrorAsMemberOf(binding.bindingTypeElement(), requestElement); in getDependencyParameters()
1077 private TypeMirror typeMirrorAsMemberOf(TypeElement bindingTypeElement, Element requestElement) { in typeMirrorAsMemberOf() argument
[all …]
DDependencyVariableNamer.java39 String variableName = dependency.requestElement().getSimpleName().toString(); in apply()
DProvisionBinding.java201 implicitMapOfProviderRequest.requestElement(), in implicitMapOfProviderBinding()
210 scopeOf(implicitMapOfProviderRequest.requestElement())); in implicitMapOfProviderBinding()
DProductionBinding.java153 implicitMapOfProducerRequest.requestElement(), in implicitMapOfProducerBinding()
DMembersInjectorGenerator.java364 new StringBuilder(dependency.requestElement().getSimpleName().toString());
DProducerFactoryGenerator.java325 return asyncDependency.requestElement().getSimpleName().toString(); in applyArgName()