/external/dagger2/java/dagger/internal/codegen/binding/ |
D | BindsTypeChecker.java | 58 TypeMirror rightHandSide, TypeMirror leftHandSide, ContributionType contributionType) { in isAssignable() argument 59 return types.isAssignable(rightHandSide, desiredAssignableType(leftHandSide, contributionType)); in isAssignable() 63 TypeMirror leftHandSide, ContributionType contributionType) { in desiredAssignableType() argument 64 switch (contributionType) { in desiredAssignableType() 77 throw new AssertionError("Unknown contribution type: " + contributionType); in desiredAssignableType()
|
D | BindingFactory.java | 158 .contributionType(ContributionType.UNIQUE) in injectionBinding() 198 .contributionType(ContributionType.UNIQUE) in assistedFactoryBinding() 273 .contributionType(ContributionType.fromBindingElement(method)) in setMethodBindingProperties() 298 .contributionType(ContributionType.UNIQUE) in syntheticMultibinding() 324 .contributionType(ContributionType.UNIQUE) in componentBinding() 338 .contributionType(ContributionType.UNIQUE) in componentDependencyBinding() 374 .contributionType(ContributionType.UNIQUE) in componentDependencyMethodBinding() 390 .contributionType(ContributionType.UNIQUE) in boundInstanceBinding() 414 .contributionType(ContributionType.UNIQUE) in subcomponentCreatorBinding() 429 .contributionType(ContributionType.UNIQUE) in subcomponentCreatorBinding() [all …]
|
D | MultibindingDeclaration.java | 63 public abstract ContributionType contributionType(); in contributionType() method in MultibindingDeclaration 107 contributionType(returnType)); in forDeclaredMethod() 110 private ContributionType contributionType(TypeMirror returnType) { in contributionType() method in MultibindingDeclaration.Factory
|
D | KeyFactory.java | 162 ContributionType contributionType = ContributionType.fromBindingElement(method); in forBindingMethod() local 169 } else if (contributionType.equals(ContributionType.SET_VALUES) in forBindingMethod() 179 TypeMirror keyType = bindingMethodKeyType(returnType, method, contributionType, frameworkType); in forBindingMethod() 181 return contributionType.equals(ContributionType.UNIQUE) in forBindingMethod() 211 ContributionType contributionType, in bindingMethodKeyType() argument 213 switch (contributionType) { in bindingMethodKeyType() 239 return delegateDeclaration.contributionType().equals(ContributionType.MAP) in forDelegateBinding()
|
D | ContributionBinding.java | 127 switch (contributionType()) { in contributedType() 171 public abstract B contributionType(ContributionType contributionType); in contributionType() argument
|
D | FrameworkField.java | 82 return binding.contributionType().isMultibinding() in fieldValueType()
|
D | DependencyRequestFactory.java | 113 switch (multibindingContribution.contributionType()) { in multibindingContributionRequestKind()
|
D | BindingGraphFactory.java | 676 && binding.contributionType().equals(ContributionType.MAP)) { in resolverContainsDelegateDeclarationForBinding()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | SetFactoryCreationExpression.java | 65 ContributionType contributionType = in creationExpression() local 66 graph.contributionBinding(dependency.key()).contributionType(); in creationExpression() 68 switch (contributionType) { in creationExpression()
|
D | DelegateBindingExpression.java | 96 delegateExpression.type(), binding.contributedType(), binding.contributionType()) in instanceRequiresCast()
|
D | SetBindingExpression.java | 160 .contributionType() in isSingleValue()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindsMethodValidator.java | 97 ContributionType contributionType = ContributionType.fromBindingElement(element); in checkParameter() local 98 if (contributionType.equals(ContributionType.SET_VALUES) && !SetType.isSet(leftHandSide)) { in checkParameter() 103 if (!bindsTypeChecker.isAssignable(rightHandSide, leftHandSide, contributionType)) { in checkParameter()
|
/external/dagger2/java/dagger/internal/codegen/base/ |
D | ContributionType.java | 42 ContributionType contributionType(); in contributionType() method
|
/external/auto/common/src/test/java/com/google/auto/common/ |
D | OverridesTest.java | 192 ContributionType contributionType(); in contributionType() method 203 @Override public abstract ContributionType contributionType(); in contributionType() method in OverridesTest.MoreTypesForInheritance.MultibindingDeclaration
|