Searched refs:contributionBinding (Results 1 – 9 of 9) sorted by relevance
112 static Optional<MemberSelect> staticFactoryCreation(ContributionBinding contributionBinding) { in staticFactoryCreation() argument113 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 …]
77 ContributionBinding contributionBinding = graph.contributionBinding(dependency.key()); in creationExpression() local80 getMapKeyExpression(contributionBinding, componentImplementation.name(), elements), in creationExpression()
66 graph.contributionBinding(dependency.key()).contributionType(); in creationExpression()
67 graph.contributionBinding(getOnlyElement(bindsBinding.dependencies()).key()); in isBindsScopeStrongerThanDependencyScope()
85 : graph.contributionBinding(key); in membersInjectionMethod()
159 return graph.contributionBinding(dependency.key()) in isSingleValue()
71 Maps.toMap(binding.dependencies(), dep -> graph.contributionBinding(dep.key())); in MapBindingExpression()
256 ContributionBinding contributionBinding = (ContributionBinding) binding; in bindingTypeElementTypeVariableNames() local257 if (!(contributionBinding.kind() == INJECTION in bindingTypeElementTypeVariableNames()258 || contributionBinding.kind() == ASSISTED_INJECTION) in bindingTypeElementTypeVariableNames()259 && !contributionBinding.requiresModuleInstance()) { in bindingTypeElementTypeVariableNames()
205 public final ContributionBinding contributionBinding(Key key) { in contributionBinding() method in BindingGraph