Home
last modified time | relevance | path

Searched refs:BindingKind (Results 1 – 25 of 32) sorted by relevance

12

/external/dagger2/java/dagger/internal/codegen/binding/
DBindingFactory.java33 import static dagger.model.BindingKind.ASSISTED_FACTORY;
34 import static dagger.model.BindingKind.ASSISTED_INJECTION;
35 import static dagger.model.BindingKind.BOUND_INSTANCE;
36 import static dagger.model.BindingKind.COMPONENT;
37 import static dagger.model.BindingKind.COMPONENT_DEPENDENCY;
38 import static dagger.model.BindingKind.COMPONENT_PRODUCTION;
39 import static dagger.model.BindingKind.COMPONENT_PROVISION;
40 import static dagger.model.BindingKind.DELEGATE;
41 import static dagger.model.BindingKind.INJECTION;
42 import static dagger.model.BindingKind.MEMBERS_INJECTOR;
[all …]
DProvisionBinding.java20 import static dagger.model.BindingKind.COMPONENT_PROVISION;
21 import static dagger.model.BindingKind.PROVISION;
30 import dagger.model.BindingKind;
90 private static final ImmutableSet<BindingKind> KINDS_TO_CHECK_FOR_NULL =
DContributionBinding.java34 import dagger.model.BindingKind;
145 static BindingKind bindingKindForMultibindingKey(Key key) { in bindingKindForMultibindingKey()
147 return BindingKind.MULTIBOUND_SET; in bindingKindForMultibindingKey()
149 return BindingKind.MULTIBOUND_MAP; in bindingKindForMultibindingKey()
192 public abstract B kind(BindingKind kind); in kind()
DMembersInjectionBinding.java26 import dagger.model.BindingKind;
63 public BindingKind kind() { in kind()
64 return BindingKind.MEMBERS_INJECTION; in kind()
DBindingNode.java27 import dagger.model.BindingKind;
130 public BindingKind kind() { in kind()
DSourceFiles.java35 import static dagger.model.BindingKind.ASSISTED_INJECTION;
36 import static dagger.model.BindingKind.INJECTION;
37 import static dagger.model.BindingKind.MULTIBOUND_MAP;
38 import static dagger.model.BindingKind.MULTIBOUND_SET;
DAssistedInjectionAnnotations.java48 import dagger.model.BindingKind;
96 checkArgument(binding.kind() == BindingKind.ASSISTED_INJECTION); in assistedParameterSpecs()
127 checkArgument(binding.kind() == BindingKind.ASSISTED_FACTORY); in assistedFactoryParameterSpecs()
150 return binding.kind() == BindingKind.ASSISTED_INJECTION in assistedParameters()
DBinding.java29 import dagger.model.BindingKind;
71 public abstract BindingKind kind(); in kind()
DBindingDeclaration.java23 import dagger.model.BindingKind;
DComponentRequirement.java42 import dagger.model.BindingKind;
237 checkArgument(binding.kind().equals(BindingKind.BOUND_INSTANCE)); in forBoundInstance()
DBindingGraphFactory.java29 import static dagger.model.BindingKind.ASSISTED_INJECTION;
30 import static dagger.model.BindingKind.DELEGATE;
31 import static dagger.model.BindingKind.INJECTION;
32 import static dagger.model.BindingKind.OPTIONAL;
33 import static dagger.model.BindingKind.SUBCOMPONENT_CREATOR;
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDuplicateBindingsValidator.java24 import static dagger.model.BindingKind.INJECTION;
25 import static dagger.model.BindingKind.MEMBERS_INJECTION;
48 import dagger.model.BindingKind;
188 ImmutableMultiset<BindingKind> bindingKinds = in explicitBindingConfictsWithInject()
319 Predicate<BindingKind> bindingKindPredicate, ImmutableCollection<Binding> bindings) { in rootmostBindingWithKind()
330 abstract BindingKind bindingKind(); in bindingKind()
DInjectBindingValidator.java19 import static dagger.model.BindingKind.INJECTION;
/external/dagger2/java/dagger/hilt/android/processor/internal/viewmodel/
DViewModelValidationPlugin.kt30 import dagger.model.BindingKind in <lambda>()
72 return target.kind() == BindingKind.INJECTION && in <lambda>()
/external/dagger2/java/dagger/internal/codegen/writing/
DPrivateMethodBindingExpression.java32 import dagger.model.BindingKind;
82 binding.kind() == BindingKind.ASSISTED_INJECTION in addMethod()
DMapBindingExpression.java25 import static dagger.model.BindingKind.MULTIBOUND_MAP;
40 import dagger.model.BindingKind;
65 BindingKind bindingKind = this.binding.kind(); in MapBindingExpression()
DFrameworkFieldInitializer.java37 import dagger.model.BindingKind;
151 if (binding.kind() == BindingKind.ASSISTED_INJECTION) { in getOrCreateField()
DComponentBindingExpressions.java31 import static dagger.model.BindingKind.DELEGATE;
32 import static dagger.model.BindingKind.MULTIBOUND_MAP;
33 import static dagger.model.BindingKind.MULTIBOUND_SET;
59 import dagger.model.BindingKind;
628 return (!needsCaching(binding) && binding.kind() != BindingKind.ASSISTED_FACTORY) in canUseDirectInstanceExpression()
DInjectionOrProvisionProviderCreationExpression.java21 import static dagger.model.BindingKind.INJECTION;
DFactoryGenerator.java40 import static dagger.model.BindingKind.PROVISION;
67 import dagger.model.BindingKind;
286 return binding.kind() == BindingKind.ASSISTED_INJECTION in factoryTypeName()
DMethodBindingExpression.java41 import dagger.model.BindingKind;
88 binding.kind() == BindingKind.ASSISTED_INJECTION in getDependencyExpression()
/external/dagger2/java/dagger/model/
DBindingKind.java20 public enum BindingKind { enum
DBinding.java87 BindingKind kind(); in kind()
/external/dagger2/java/dagger/android/processor/
DDuplicateAndroidInjectorsChecker.java37 import dagger.model.BindingKind;
116 .filter(requestedBinding -> requestedBinding.kind().equals(BindingKind.MULTIBOUND_MAP)) in injectorMapDependencies()
/external/dagger2/java/dagger/example/spi/
DBindingGraphVisualizer.java40 import dagger.model.BindingKind;
300 if (binding.kind().equals(BindingKind.MEMBERS_INJECTION)) { in label()

12