Home
last modified time | relevance | path

Searched refs:injectionAnnotations (Results 1 – 20 of 20) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/validation/
DBindsOptionalOfMethodValidator.java43 private final InjectionAnnotations injectionAnnotations; field in BindsOptionalOfMethodValidator
51 InjectionAnnotations injectionAnnotations) { in BindsOptionalOfMethodValidator() argument
63 injectionAnnotations); in BindsOptionalOfMethodValidator()
65 this.injectionAnnotations = injectionAnnotations; in BindsOptionalOfMethodValidator()
83 injectionAnnotations.getQualifiers(element).stream().findFirst(), keyType, types) in checkKeyType()
DMembersInjectionValidator.java39 private final InjectionAnnotations injectionAnnotations; field in MembersInjectionValidator
42 MembersInjectionValidator(InjectionAnnotations injectionAnnotations) { in MembersInjectionValidator() argument
43 this.injectionAnnotations = injectionAnnotations; in MembersInjectionValidator()
73 for (AnnotationMirror qualifier : injectionAnnotations.getQualifiers(element)) { in checkQualifiers()
DDependencyRequestValidator.java54 private final InjectionAnnotations injectionAnnotations; field in DependencyRequestValidator
61 InjectionAnnotations injectionAnnotations, in DependencyRequestValidator() argument
65 this.injectionAnnotations = injectionAnnotations; in DependencyRequestValidator()
104 injectionAnnotations.getQualifiers(requestElement); in checkQualifiers()
DInjectValidator.java72 private final InjectionAnnotations injectionAnnotations; field in InjectValidator
82 InjectionAnnotations injectionAnnotations, in InjectValidator() argument
90 injectionAnnotations, in InjectValidator()
100 InjectionAnnotations injectionAnnotations, in InjectValidator() argument
107 this.injectionAnnotations = injectionAnnotations; in InjectValidator()
130 injectionAnnotations, in whenGeneratingCode()
156 for (AnnotationMirror qualifier : injectionAnnotations.getQualifiers(constructorElement)) { in validateConstructorUncached()
DBindsInstanceElementValidator.java24 BindsInstanceElementValidator(InjectionAnnotations injectionAnnotations) { in BindsInstanceElementValidator() argument
29 injectionAnnotations); in BindsInstanceElementValidator()
DBindingElementValidator.java67 private final InjectionAnnotations injectionAnnotations; field in BindingElementValidator
78 InjectionAnnotations injectionAnnotations) { in BindingElementValidator() argument
82 this.injectionAnnotations = injectionAnnotations; in BindingElementValidator()
258 injectionAnnotations.getQualifiers(element); in checkQualifiers()
DBindingMethodValidator.java68 InjectionAnnotations injectionAnnotations) { in BindingMethodValidator() argument
80 injectionAnnotations); in BindingMethodValidator()
101 InjectionAnnotations injectionAnnotations) { in BindingMethodValidator() argument
102 super(methodAnnotation, allowsMultibindings, allowsScoping, injectionAnnotations); in BindingMethodValidator()
DBindsInstanceParameterValidator.java36 BindsInstanceParameterValidator(InjectionAnnotations injectionAnnotations) { in BindsInstanceParameterValidator() argument
37 super(injectionAnnotations); in BindsInstanceParameterValidator()
DProvidesMethodValidator.java47 InjectionAnnotations injectionAnnotations) { in ProvidesMethodValidator() argument
59 injectionAnnotations); in ProvidesMethodValidator()
DBindsInstanceMethodValidator.java37 BindsInstanceMethodValidator(InjectionAnnotations injectionAnnotations) { in BindsInstanceMethodValidator() argument
38 super(injectionAnnotations); in BindsInstanceMethodValidator()
DMultibindsMethodValidator.java50 InjectionAnnotations injectionAnnotations) { in MultibindsMethodValidator() argument
62 injectionAnnotations); in MultibindsMethodValidator()
DBindsMethodValidator.java54 InjectionAnnotations injectionAnnotations) { in BindsMethodValidator() argument
66 injectionAnnotations); in BindsMethodValidator()
DProducesMethodValidator.java51 InjectionAnnotations injectionAnnotations) { in ProducesMethodValidator() argument
63 injectionAnnotations); in ProducesMethodValidator()
/external/dagger2/java/dagger/internal/codegen/binding/
DDependencyRequestFactory.java63 private final InjectionAnnotations injectionAnnotations; field in DependencyRequestFactory
66 DependencyRequestFactory(KeyFactory keyFactory, InjectionAnnotations injectionAnnotations) { in DependencyRequestFactory() argument
68 this.injectionAnnotations = injectionAnnotations; in DependencyRequestFactory()
138 Optional<AnnotationMirror> qualifier = injectionAnnotations.getQualifier(variableElement); in forRequiredResolvedVariable()
150 Optional<AnnotationMirror> qualifier = injectionAnnotations.getQualifier(provisionMethod); in forComponentProvisionMethod()
163 Optional<AnnotationMirror> qualifier = injectionAnnotations.getQualifier(productionMethod); in forComponentProductionMethod()
182 injectionAnnotations.getQualifier(membersInjectionMethod); in forComponentMembersInjectionMethod()
DMethodSignatureFormatter.java41 private final InjectionAnnotations injectionAnnotations; field in MethodSignatureFormatter
44 public MethodSignatureFormatter(DaggerTypes types, InjectionAnnotations injectionAnnotations) { in MethodSignatureFormatter() argument
46 this.injectionAnnotations = injectionAnnotations; in MethodSignatureFormatter()
124 injectionAnnotations
DComponentDescriptorFactory.java60 private final InjectionAnnotations injectionAnnotations; field in ComponentDescriptorFactory
68 InjectionAnnotations injectionAnnotations) { in ComponentDescriptorFactory() argument
73 this.injectionAnnotations = injectionAnnotations; in ComponentDescriptorFactory()
227 && !injectionAnnotations.getQualifier(componentMethod).isPresent()) { in getDescriptorForComponentMethod()
DKeyFactory.java76 private final InjectionAnnotations injectionAnnotations; field in KeyFactory
80 DaggerTypes types, DaggerElements elements, InjectionAnnotations injectionAnnotations) { in KeyFactory() argument
83 this.injectionAnnotations = injectionAnnotations; in KeyFactory()
245 return forQualifiedType(injectionAnnotations.getQualifier(method), keyType); in forMethod()
DBindingFactory.java90 private final InjectionAnnotations injectionAnnotations; field in BindingFactory
100 InjectionAnnotations injectionAnnotations, in BindingFactory() argument
107 this.injectionAnnotations = injectionAnnotations; in BindingFactory()
125 checkArgument(!injectionAnnotations.getQualifier(constructorElement).isPresent()); in injectionBinding()
/external/dagger2/java/dagger/internal/codegen/
DAssistedProcessingStep.java48 private final InjectionAnnotations injectionAnnotations; field in AssistedProcessingStep
56 InjectionAnnotations injectionAnnotations, in AssistedProcessingStep() argument
62 this.injectionAnnotations = injectionAnnotations; in AssistedProcessingStep()
95 injectionAnnotations in validate()
/external/dagger2/javatests/dagger/internal/codegen/
DMethodSignatureFormatterTest.java50 @Inject InjectionAnnotations injectionAnnotations; field in MethodSignatureFormatterTest
76 String formatted = new MethodSignatureFormatter(types, injectionAnnotations).format(method); in methodSignatureTest()