Home
last modified time | relevance | path

Searched refs:contributionBinding (Results 1 – 9 of 9) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/writing/
DMemberSelect.java112 static Optional<MemberSelect> staticFactoryCreation(ContributionBinding contributionBinding) { in staticFactoryCreation() argument
113 if (contributionBinding.factoryCreationStrategy().equals(SINGLETON_INSTANCE) in staticFactoryCreation()
114 && !contributionBinding.scope().isPresent()) { in staticFactoryCreation()
115 switch (contributionBinding.kind()) { in staticFactoryCreation()
117 return Optional.of(emptyMapFactory(contributionBinding)); in staticFactoryCreation()
120 return Optional.of(emptySetFactory(contributionBinding)); in staticFactoryCreation()
124 TypeMirror keyType = contributionBinding.key().type(); in staticFactoryCreation()
127 bindingTypeElementTypeVariableNames(contributionBinding); in staticFactoryCreation()
133 generatedClassNameForBinding(contributionBinding), typeArguments)); in staticFactoryCreation()
141 generatedClassNameForBinding(contributionBinding), CodeBlock.of("create()"))); in staticFactoryCreation()
[all …]
DMapFactoryCreationExpression.java77 ContributionBinding contributionBinding = graph.contributionBinding(dependency.key()); in creationExpression() local
80 getMapKeyExpression(contributionBinding, componentImplementation.name(), elements), in creationExpression()
DSetFactoryCreationExpression.java66 graph.contributionBinding(dependency.key()).contributionType(); in creationExpression()
DDelegateBindingExpression.java67 graph.contributionBinding(getOnlyElement(bindsBinding.dependencies()).key()); in isBindsScopeStrongerThanDependencyScope()
DMembersInjectionMethods.java85 : graph.contributionBinding(key); in membersInjectionMethod()
DSetBindingExpression.java159 return graph.contributionBinding(dependency.key()) in isSingleValue()
DMapBindingExpression.java71 Maps.toMap(binding.dependencies(), dep -> graph.contributionBinding(dep.key())); in MapBindingExpression()
/external/dagger2/java/dagger/internal/codegen/binding/
DSourceFiles.java256 ContributionBinding contributionBinding = (ContributionBinding) binding; in bindingTypeElementTypeVariableNames() local
257 if (!(contributionBinding.kind() == INJECTION in bindingTypeElementTypeVariableNames()
258 || contributionBinding.kind() == ASSISTED_INJECTION) in bindingTypeElementTypeVariableNames()
259 && !contributionBinding.requiresModuleInstance()) { in bindingTypeElementTypeVariableNames()
DBindingGraph.java205 public final ContributionBinding contributionBinding(Key key) { in contributionBinding() method in BindingGraph