Home
last modified time | relevance | path

Searched refs:ContributionType (Results 1 – 14 of 14) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/base/
DContributionType.java27 public enum ContributionType { enum
42 ContributionType contributionType(); in contributionType()
57 public static ContributionType fromBindingElement(Element element) { in fromBindingElement()
60 return ContributionType.MAP; in fromBindingElement()
62 return ContributionType.SET; in fromBindingElement()
64 return ContributionType.SET_VALUES; in fromBindingElement()
66 return ContributionType.UNIQUE; in fromBindingElement()
/external/dagger2/java/dagger/internal/codegen/binding/
DMultibindingDeclaration.java25 import dagger.internal.codegen.base.ContributionType;
26 import dagger.internal.codegen.base.ContributionType.HasContributionType;
63 public abstract ContributionType contributionType(); in contributionType()
110 private ContributionType contributionType(TypeMirror returnType) { in contributionType()
112 return ContributionType.MAP; in contributionType()
114 return ContributionType.SET; in contributionType()
DBindingFactory.java58 import dagger.internal.codegen.base.ContributionType;
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()
[all …]
DDelegateDeclaration.java30 import dagger.internal.codegen.base.ContributionType;
31 import dagger.internal.codegen.base.ContributionType.HasContributionType;
84 ContributionType.fromBindingElement(bindsMethod), in create()
DProductionBinding.java27 import dagger.internal.codegen.base.ContributionType;
69 } else if (ContributionType.fromBindingElement(producesMethod) in fromProducesMethod()
70 .equals(ContributionType.SET_VALUES) in fromProducesMethod()
DBindsTypeChecker.java24 import dagger.internal.codegen.base.ContributionType;
58 TypeMirror rightHandSide, TypeMirror leftHandSide, ContributionType contributionType) { in isAssignable()
63 TypeMirror leftHandSide, ContributionType contributionType) { in desiredAssignableType()
DKeyFactory.java39 import dagger.internal.codegen.base.ContributionType;
162 ContributionType contributionType = ContributionType.fromBindingElement(method); in forBindingMethod()
169 } else if (contributionType.equals(ContributionType.SET_VALUES) in forBindingMethod()
181 return contributionType.equals(ContributionType.UNIQUE) in forBindingMethod()
211 ContributionType contributionType, in bindingMethodKeyType()
239 return delegateDeclaration.contributionType().equals(ContributionType.MAP) in forDelegateBinding()
DContributionBinding.java30 import dagger.internal.codegen.base.ContributionType;
31 import dagger.internal.codegen.base.ContributionType.HasContributionType;
171 public abstract B contributionType(ContributionType contributionType); in contributionType()
DBindingGraphFactory.java49 import dagger.internal.codegen.base.ContributionType;
676 && binding.contributionType().equals(ContributionType.MAP)) { in resolverContainsDelegateDeclarationForBinding()
/external/dagger2/java/dagger/internal/codegen/validation/
DBindsMethodValidator.java29 import dagger.internal.codegen.base.ContributionType;
97 ContributionType contributionType = ContributionType.fromBindingElement(element); in checkParameter()
98 if (contributionType.equals(ContributionType.SET_VALUES) && !SetType.isSet(leftHandSide)) { in checkParameter()
DBindingElementValidator.java38 import dagger.internal.codegen.base.ContributionType;
186 switch (ContributionType.fromBindingElement(element)) { in checkType()
278 if (ContributionType.fromBindingElement(element).equals(ContributionType.MAP)) { in checkMapKeys()
/external/dagger2/java/dagger/internal/codegen/writing/
DSetFactoryCreationExpression.java23 import dagger.internal.codegen.base.ContributionType;
65 ContributionType contributionType = in creationExpression()
DSetBindingExpression.java29 import dagger.internal.codegen.base.ContributionType;
161 .equals(ContributionType.SET); in isSingleValue()
/external/auto/common/src/test/java/com/google/auto/common/
DOverridesTest.java181 interface ContributionType {} interface in OverridesTest.MoreTypesForInheritance
192 ContributionType contributionType(); in contributionType()
203 @Override public abstract ContributionType contributionType(); in contributionType()