Home
last modified time | relevance | path

Searched refs:ProvisionBinding (Results 1 – 21 of 21) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/binding/
DBindingFactory.java119 public ProvisionBinding injectionBinding( in injectionBinding()
156 ProvisionBinding.Builder builder = in injectionBinding()
157 ProvisionBinding.builder() in injectionBinding()
176 public ProvisionBinding assistedFactoryBinding( in assistedFactoryBinding()
197 return ProvisionBinding.builder() in assistedFactoryBinding()
217 public ProvisionBinding providesMethodBinding( in providesMethodBinding()
220 ProvisionBinding.builder(), in providesMethodBinding()
296 : ProvisionBinding.builder(); in syntheticMultibinding()
321 public ProvisionBinding componentBinding(TypeElement componentDefinitionType) { in componentBinding()
323 return ProvisionBinding.builder() in componentBinding()
[all …]
DInjectBindingRegistry.java41 Optional<ProvisionBinding> getOrFindProvisionBinding(Key key); in getOrFindProvisionBinding()
53 Optional<ProvisionBinding> getOrFindMembersInjectorProvisionBinding(Key key); in getOrFindMembersInjectorProvisionBinding()
56 Optional<ProvisionBinding> tryRegisterConstructor(ExecutableElement constructorElement); in tryRegisterConstructor()
67 SourceFileGenerator<ProvisionBinding> factoryGenerator, in generateSourcesForRequiredBindings()
DProvisionBinding.java38 public abstract class ProvisionBinding extends ContributionBinding { class
74 public abstract Optional<ProvisionBinding> unresolved(); in unresolved()
120 extends ContributionBinding.Builder<ProvisionBinding, Builder> {
132 public abstract Builder unresolved(ProvisionBinding unresolved); in unresolved()
DBindingGraphFactory.java405 ProvisionBinding binding = in lookUpBindings()
451 private boolean isCorrectlyScopedInSubcomponent(ProvisionBinding binding) { in isCorrectlyScopedInSubcomponent()
484 private void addSubcomponentToOwningResolver(ProvisionBinding subcomponentCreatorBinding) { in addSubcomponentToOwningResolver()
/external/dagger2/java/dagger/internal/codegen/writing/
DFactoryGenerator.java59 import dagger.internal.codegen.binding.ProvisionBinding;
80 public final class FactoryGenerator extends SourceFileGenerator<ProvisionBinding> {
100 public ClassName nameGeneratedType(ProvisionBinding binding) { in nameGeneratedType()
105 public Element originatingElement(ProvisionBinding binding) { in originatingElement()
111 public Optional<TypeSpec.Builder> write(ProvisionBinding binding) { in write()
123 private TypeSpec.Builder factoryBuilder(ProvisionBinding binding) { in factoryBuilder()
140 private void addConstructorAndFields(ProvisionBinding binding, TypeSpec.Builder factoryBuilder) { in addConstructorAndFields()
155 private ImmutableList<ParameterSpec> constructorParams(ProvisionBinding binding) { in constructorParams()
162 private Optional<ParameterSpec> moduleParameter(ProvisionBinding binding) { in moduleParameter()
171 private ImmutableMap<DependencyRequest, FieldSpec> frameworkFields(ProvisionBinding binding) { in frameworkFields()
[all …]
DComponentProvisionBindingExpression.java26 import dagger.internal.codegen.binding.ProvisionBinding;
32 private final ProvisionBinding binding;
38 ProvisionBinding binding, in ComponentProvisionBindingExpression()
68 ProvisionBinding binding, CompilerOptions compilerOptions, CodeBlock invocation) { in maybeCheckForNull()
DMembersInjectorProviderCreationExpression.java27 import dagger.internal.codegen.binding.ProvisionBinding;
37 private final ProvisionBinding binding;
40 ProvisionBinding binding, ComponentBindingExpressions componentBindingExpressions) { in MembersInjectorProviderCreationExpression()
DOptionalBindingExpression.java27 import dagger.internal.codegen.binding.ProvisionBinding;
36 private final ProvisionBinding binding;
43 ProvisionBinding binding, in OptionalBindingExpression()
DAssistedFactoryBindingExpression.java32 import dagger.internal.codegen.binding.ProvisionBinding;
48 private final ProvisionBinding binding;
54 ProvisionBinding binding, in AssistedFactoryBindingExpression()
DComponentBindingExpressions.java51 import dagger.internal.codegen.binding.ProvisionBinding;
381 return new MembersInjectorProviderCreationExpression((ProvisionBinding) binding, this); in frameworkInstanceCreationExpression()
544 (ProvisionBinding) binding, in unscopedDirectInstanceExpression()
556 new SetBindingExpression((ProvisionBinding) binding, graph, this, types, elements)); in unscopedDirectInstanceExpression()
560 new MapBindingExpression((ProvisionBinding) binding, graph, this, types, elements)); in unscopedDirectInstanceExpression()
564 new OptionalBindingExpression((ProvisionBinding) binding, this, types, sourceVersion)); in unscopedDirectInstanceExpression()
576 (ProvisionBinding) binding, this, types, elements)); in unscopedDirectInstanceExpression()
583 (ProvisionBinding) binding, in unscopedDirectInstanceExpression()
DMembersInjectionMethods.java36 import dagger.internal.codegen.binding.ProvisionBinding;
128 if (binding instanceof ProvisionBinding) { in injectionSites()
129 return ((ProvisionBinding) binding).injectionSites(); in injectionSites()
DSetBindingExpression.java32 import dagger.internal.codegen.binding.ProvisionBinding;
43 private final ProvisionBinding binding;
50 ProvisionBinding binding, in SetBindingExpression()
DMapBindingExpression.java36 import dagger.internal.codegen.binding.ProvisionBinding;
51 private final ProvisionBinding binding;
58 ProvisionBinding binding, in MapBindingExpression()
DSimpleMethodBindingExpression.java33 import dagger.internal.codegen.binding.ProvisionBinding;
53 private final ProvisionBinding provisionBinding;
62 ProvisionBinding binding, in SimpleMethodBindingExpression()
DInjectionMethods.java61 import dagger.internal.codegen.binding.ProvisionBinding;
119 ProvisionBinding binding, in create()
143 ProvisionBinding binding, in invoke()
159 ProvisionBinding binding, in invokeArguments()
207 ProvisionBinding binding, CompilerOptions compilerOptions, ClassName requestingClass) { in requiresInjectionMethod()
429 static CheckNotNullPolicy get(ProvisionBinding binding, CompilerOptions compilerOptions) { in get()
DDependencyMethodProviderCreationExpression.java38 import dagger.internal.codegen.binding.ProvisionBinding;
80 (ProvisionBinding) binding, in creationExpression()
/external/dagger2/java/dagger/internal/codegen/validation/
DInjectBindingRegistryImpl.java45 import dagger.internal.codegen.binding.ProvisionBinding;
161 private final BindingsCollection<ProvisionBinding> provisionBindings =
189 SourceFileGenerator<ProvisionBinding> factoryGenerator, in generateSourcesForRequiredBindings()
200 private void registerBinding(ProvisionBinding binding, boolean warnIfNotAlreadyGenerated) { in registerBinding()
239 public Optional<ProvisionBinding> tryRegisterConstructor(ExecutableElement constructorElement) { in tryRegisterConstructor()
244 private Optional<ProvisionBinding> tryRegisterConstructor( in tryRegisterConstructor()
251 ProvisionBinding cachedBinding = provisionBindings.getBinding(key); in tryRegisterConstructor()
259 ProvisionBinding binding = bindingFactory.injectionBinding(constructorElement, resolvedType); in tryRegisterConstructor()
304 public Optional<ProvisionBinding> getOrFindProvisionBinding(Key key) { in getOrFindProvisionBinding()
309 ProvisionBinding binding = provisionBindings.getBinding(key); in getOrFindProvisionBinding()
[all …]
/external/dagger2/java/dagger/internal/codegen/
DAssistedFactoryProcessingStep.java54 import dagger.internal.codegen.binding.ProvisionBinding;
114 ProvisionBinding binding = bindingFactory.assistedFactoryBinding(factory, Optional.empty()); in process()
223 private final class AssistedFactoryImplGenerator extends SourceFileGenerator<ProvisionBinding> {
229 public ClassName nameGeneratedType(ProvisionBinding binding) { in nameGeneratedType()
234 public Element originatingElement(ProvisionBinding binding) { in originatingElement()
271 public Optional<TypeSpec.Builder> write(ProvisionBinding binding) { in write()
DSourceFileGeneratorsModule.java24 import dagger.internal.codegen.binding.ProvisionBinding;
38 static SourceFileGenerator<ProvisionBinding> factoryGenerator( in factoryGenerator()
DModuleProcessingStep.java37 import dagger.internal.codegen.binding.ProvisionBinding;
63 private final SourceFileGenerator<ProvisionBinding> factoryGenerator;
76 SourceFileGenerator<ProvisionBinding> factoryGenerator, in ModuleProcessingStep()
DComponentProcessor.java38 import dagger.internal.codegen.binding.ProvisionBinding;
74 @Inject SourceFileGenerator<ProvisionBinding> factoryGenerator;