/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/ |
D | MapMultibindingValidator.java | 38 import dagger.internal.codegen.binding.ContributionBinding; 76 ImmutableSet<ContributionBinding> contributions = in visitGraph() 130 private ImmutableSet<ContributionBinding> mapBindingContributions( in mapBindingContributions() 135 .map(b -> (ContributionBinding) b.delegate()) in mapBindingContributions() 141 ImmutableSet<ContributionBinding> contributions, in checkForDuplicateMapKeys() 143 ImmutableSetMultimap<?, ContributionBinding> contributionsByMapKey = in checkForDuplicateMapKeys() 145 Multimaps.index(contributions, ContributionBinding::wrappedMapKeyAnnotation)); in checkForDuplicateMapKeys() 147 for (Set<ContributionBinding> contributionsForOneMapKey : in checkForDuplicateMapKeys() 160 ImmutableSet<ContributionBinding> contributions, in checkForInconsistentMapKeyAnnotationTypes() 162 ImmutableSetMultimap<Equivalence.Wrapper<DeclaredType>, ContributionBinding> in checkForInconsistentMapKeyAnnotationTypes() [all …]
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | ComponentBindingExpressions.java | 47 import dagger.internal.codegen.binding.ContributionBinding; 153 CodeBlock getCreateMethodArgumentsCodeBlock(ContributionBinding binding) { in getCreateMethodArgumentsCodeBlock() 157 private ImmutableList<CodeBlock> getCreateMethodArgumentsCodeBlocks(ContributionBinding binding) { in getCreateMethodArgumentsCodeBlocks() 177 ContributionBinding binding, DependencyRequest dependency) { in frameworkRequest() 273 return provisionBindingExpression((ContributionBinding) binding, request); in createBindingExpression() 276 return productionBindingExpression((ContributionBinding) binding, request); in createBindingExpression() 285 private BindingExpression frameworkInstanceBindingExpression(ContributionBinding binding) { in frameworkInstanceBindingExpression() 312 ContributionBinding binding, FrameworkInstanceCreationExpression unscoped) { in scope() 325 ContributionBinding binding) { in frameworkInstanceCreationExpression() 389 ContributionBinding binding, ComponentRequirement componentRequirement) { in instanceFactoryCreationExpression() [all …]
|
D | InaccessibleMapKeyProxyGenerator.java | 28 import dagger.internal.codegen.binding.ContributionBinding; 43 extends SourceFileGenerator<ContributionBinding> { 56 public ClassName nameGeneratedType(ContributionBinding binding) { in nameGeneratedType() 61 public Element originatingElement(ContributionBinding binding) { in originatingElement() 67 public Optional<TypeSpec.Builder> write(ContributionBinding binding) { in write()
|
D | SimpleInvocationBindingExpression.java | 21 import dagger.internal.codegen.binding.ContributionBinding; 25 private final ContributionBinding binding; 27 SimpleInvocationBindingExpression(ContributionBinding binding) { in SimpleInvocationBindingExpression()
|
D | ComponentInstanceBindingExpression.java | 21 import dagger.internal.codegen.binding.ContributionBinding; 27 private final ContributionBinding binding; 29 ComponentInstanceBindingExpression(ContributionBinding binding, ClassName componentName) { in ComponentInstanceBindingExpression()
|
D | ProducerCreationExpression.java | 23 import dagger.internal.codegen.binding.ContributionBinding; 34 private final ContributionBinding binding; 37 ContributionBinding binding, ComponentBindingExpressions componentBindingExpressions) { in ProducerCreationExpression()
|
D | MapFactoryCreationExpression.java | 27 import dagger.internal.codegen.binding.ContributionBinding; 40 private final ContributionBinding binding; 44 ContributionBinding binding, in MapFactoryCreationExpression() 77 ContributionBinding contributionBinding = graph.contributionBinding(dependency.key()); in creationExpression()
|
D | InnerSwitchingProviders.java | 29 import dagger.internal.codegen.binding.ContributionBinding; 57 BindingExpression newBindingExpression(ContributionBinding binding) { in newBindingExpression() 80 private final ContributionBinding binding; 83 SwitchCase(ContributionBinding binding, ClassName requestingClass) {
|
D | InjectionOrProvisionProviderCreationExpression.java | 24 import dagger.internal.codegen.binding.ContributionBinding; 37 private final ContributionBinding binding; 41 ContributionBinding binding, ComponentBindingExpressions componentBindingExpressions) { in InjectionOrProvisionProviderCreationExpression()
|
D | OptionalFactoryInstanceCreationExpression.java | 23 import dagger.internal.codegen.binding.ContributionBinding; 33 private final ContributionBinding binding; 39 ContributionBinding binding, in OptionalFactoryInstanceCreationExpression()
|
D | DelegatingFrameworkInstanceCreationExpression.java | 24 import dagger.internal.codegen.binding.ContributionBinding; 33 private final ContributionBinding binding; 38 ContributionBinding binding, in DelegatingFrameworkInstanceCreationExpression()
|
D | AnonymousProviderCreationExpression.java | 26 import dagger.internal.codegen.binding.ContributionBinding; 36 private final ContributionBinding binding; 41 ContributionBinding binding, in AnonymousProviderCreationExpression()
|
D | MultibindingFactoryCreationExpression.java | 23 import dagger.internal.codegen.binding.ContributionBinding; 33 private final ContributionBinding binding; 36 ContributionBinding binding, in MultibindingFactoryCreationExpression()
|
D | ProducerFromProviderCreationExpression.java | 24 import dagger.internal.codegen.binding.ContributionBinding; 34 private final ContributionBinding binding; 39 ContributionBinding binding, in ProducerFromProviderCreationExpression()
|
D | DelegateBindingExpression.java | 31 import dagger.internal.codegen.binding.ContributionBinding; 40 private final ContributionBinding binding; 47 ContributionBinding binding, in DelegateBindingExpression() 64 ContributionBinding bindsBinding, BindingGraph graph) { in isBindsScopeStrongerThanDependencyScope()
|
D | FrameworkInstanceBindingExpression.java | 25 import dagger.internal.codegen.binding.ContributionBinding; 35 private final ContributionBinding binding; 41 ContributionBinding binding, in FrameworkInstanceBindingExpression()
|
D | PrivateMethodBindingExpression.java | 29 import dagger.internal.codegen.binding.ContributionBinding; 40 private final ContributionBinding binding; 49 ContributionBinding binding, in PrivateMethodBindingExpression()
|
D | SetFactoryCreationExpression.java | 27 import dagger.internal.codegen.binding.ContributionBinding; 34 private final ContributionBinding binding; 37 ContributionBinding binding, in SetFactoryCreationExpression()
|
D | DependencyMethodProducerCreationExpression.java | 34 import dagger.internal.codegen.binding.ContributionBinding; 45 private final ContributionBinding binding; 51 ContributionBinding binding, in DependencyMethodProducerCreationExpression()
|
D | MemberSelect.java | 20 import static dagger.internal.codegen.binding.ContributionBinding.FactoryCreationStrategy.SINGLETON… 40 import dagger.internal.codegen.binding.ContributionBinding; 112 static Optional<MemberSelect> staticFactoryCreation(ContributionBinding contributionBinding) { in staticFactoryCreation() 175 private static MemberSelect emptyMapFactory(ContributionBinding contributionBinding) { in emptyMapFactory() 194 private static MemberSelect emptySetFactory(ContributionBinding binding) { in emptySetFactory()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | BindingGraphFactory.java | 126 ImmutableSet.Builder<ContributionBinding> explicitBindingsBuilder = ImmutableSet.builder(); in createLegacyBindingGraph() 146 HashMultimap<String, ContributionBinding> dedupeBindings = HashMultimap.create(); in createLegacyBindingGraph() 150 ContributionBinding binding = bindingFactory.componentDependencyMethodBinding( in createLegacyBindingGraph() 311 final ImmutableSetMultimap<Key, ContributionBinding> explicitBindings; 312 final ImmutableSet<ContributionBinding> explicitBindingsSet; 313 final ImmutableSetMultimap<Key, ContributionBinding> explicitMultibindings; 329 ImmutableSetMultimap<Key, ContributionBinding> explicitBindings, in Resolver() 367 Set<ContributionBinding> bindings = new LinkedHashSet<>(); in lookUpBindings() 368 Set<ContributionBinding> multibindingContributions = new LinkedHashSet<>(); in lookUpBindings() 524 private ImmutableSet<ContributionBinding> createDelegateBindings( in createDelegateBindings() [all …]
|
D | BindingFactory.java | 30 import static dagger.internal.codegen.binding.ContributionBinding.bindingKindForMultibindingKey; 255 private <C extends ContributionBinding, B extends ContributionBinding.Builder<C, B>> 291 public ContributionBinding syntheticMultibinding( in syntheticMultibinding() 292 Key key, Iterable<ContributionBinding> multibindingContributions) { in syntheticMultibinding() 293 ContributionBinding.Builder<?, ?> builder = in syntheticMultibinding() 307 Key key, Iterable<ContributionBinding> multibindingContributions) { in multibindingRequiresProduction() 353 public ContributionBinding componentDependencyMethodBinding( in componentDependencyMethodBinding() 357 ContributionBinding.Builder<?, ?> builder; in componentDependencyMethodBinding() 441 ContributionBinding delegateBinding( in delegateBinding() 442 DelegateDeclaration delegateDeclaration, ContributionBinding actualBinding) { in delegateBinding() [all …]
|
D | ContributionBinding.java | 20 import static dagger.internal.codegen.binding.ContributionBinding.FactoryCreationStrategy.CLASS_CON… 21 import static dagger.internal.codegen.binding.ContributionBinding.FactoryCreationStrategy.DELEGATE; 22 import static dagger.internal.codegen.binding.ContributionBinding.FactoryCreationStrategy.SINGLETON… 49 public abstract class ContributionBinding extends Binding implements HasContributionType { class 162 public abstract static class Builder<C extends ContributionBinding, B extends Builder<C, B>> {
|
D | ResolvedBindings.java | 50 abstract ImmutableSetMultimap<TypeElement, ContributionBinding> allContributionBindings(); in allContributionBindings() 110 ImmutableSet<ContributionBinding> contributionBindings() { in contributionBindings() 119 final TypeElement owningComponent(ContributionBinding binding) { in owningComponent() 131 Multimap<TypeElement, ContributionBinding> contributionBindings, in forContributionBindings()
|
D | SourceFiles.java | 141 ContributionBinding contribution = (ContributionBinding) binding; in generatedClassNameForBinding() 225 public static ClassName setFactoryClassName(ContributionBinding binding) { in setFactoryClassName() 236 public static ClassName mapFactoryClassName(ContributionBinding binding) { in mapFactoryClassName() 255 if (binding instanceof ContributionBinding) { in bindingTypeElementTypeVariableNames() 256 ContributionBinding contributionBinding = (ContributionBinding) binding; in bindingTypeElementTypeVariableNames()
|