Home
last modified time | relevance | path

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

/external/dagger2/java/dagger/internal/codegen/
DBindingFactory.java106 ProvisionBinding injectionBinding( in injectionBinding()
133 ProvisionBinding.Builder builder = in injectionBinding()
134 ProvisionBinding.builder() in injectionBinding()
156 ProvisionBinding providesMethodBinding( in providesMethodBinding()
159 ProvisionBinding.builder(), in providesMethodBinding()
231 : ProvisionBinding.builder(); in syntheticMultibinding()
256 ProvisionBinding componentBinding(TypeElement componentDefinitionType) { in componentBinding()
258 return ProvisionBinding.builder() in componentBinding()
270 ProvisionBinding componentDependencyBinding(ComponentRequirement dependency) { in componentDependencyBinding()
272 return ProvisionBinding.builder() in componentDependencyBinding()
[all …]
DFactoryGenerator.java73 final class FactoryGenerator extends SourceFileGenerator<ProvisionBinding> {
92 ClassName nameGeneratedType(ProvisionBinding binding) { in nameGeneratedType()
97 Element originatingElement(ProvisionBinding binding) { in originatingElement()
103 Optional<TypeSpec.Builder> write(ClassName generatedTypeName, ProvisionBinding binding) { in write()
113 private TypeSpec.Builder factoryBuilder(ProvisionBinding binding) { in factoryBuilder()
131 private void addConstructorAndFields(ProvisionBinding binding, TypeSpec.Builder factoryBuilder) { in addConstructorAndFields()
146 private ImmutableList<ParameterSpec> constructorParams(ProvisionBinding binding) { in constructorParams()
153 private Optional<ParameterSpec> moduleParameter(ProvisionBinding binding) { in moduleParameter()
162 private ImmutableMap<Key, FieldSpec> frameworkFields(ProvisionBinding binding) { in frameworkFields()
177 private void addCreateMethod(ProvisionBinding binding, TypeSpec.Builder factoryBuilder) { in addCreateMethod()
[all …]
DInjectBindingRegistry.java39 Optional<ProvisionBinding> getOrFindProvisionBinding(Key key); in getOrFindProvisionBinding()
51 Optional<ProvisionBinding> getOrFindMembersInjectorProvisionBinding(Key key); in getOrFindMembersInjectorProvisionBinding()
54 Optional<ProvisionBinding> tryRegisterConstructor(ExecutableElement constructorElement); in tryRegisterConstructor()
65 SourceFileGenerator<ProvisionBinding> factoryGenerator, in generateSourcesForRequiredBindings()
DInjectBindingRegistryImpl.java152 private final BindingsCollection<ProvisionBinding> provisionBindings =
179 SourceFileGenerator<ProvisionBinding> factoryGenerator, in generateSourcesForRequiredBindings()
190 private void registerBinding(ProvisionBinding binding, boolean warnIfNotAlreadyGenerated) { in registerBinding()
224 public Optional<ProvisionBinding> tryRegisterConstructor(ExecutableElement constructorElement) { in tryRegisterConstructor()
229 private Optional<ProvisionBinding> tryRegisterConstructor( in tryRegisterConstructor()
236 ProvisionBinding cachedBinding = provisionBindings.getBinding(key); in tryRegisterConstructor()
244 ProvisionBinding binding = bindingFactory.injectionBinding(constructorElement, resolvedType); in tryRegisterConstructor()
289 public Optional<ProvisionBinding> getOrFindProvisionBinding(Key key) { in getOrFindProvisionBinding()
294 ProvisionBinding binding = provisionBindings.getBinding(key); in getOrFindProvisionBinding()
332 public Optional<ProvisionBinding> getOrFindMembersInjectorProvisionBinding(Key key) { in getOrFindMembersInjectorProvisionBinding()
DProvisionBinding.java39 abstract class ProvisionBinding extends ContributionBinding { class
75 abstract Optional<ProvisionBinding> unresolved(); in unresolved()
118 abstract static class Builder extends ContributionBinding.Builder<ProvisionBinding, Builder> {
130 abstract Builder unresolved(ProvisionBinding unresolved); in unresolved()
DComponentProvisionBindingExpression.java28 private final ProvisionBinding binding;
39 this.binding = (ProvisionBinding) resolvedBindings.contributionBinding(); in ComponentProvisionBindingExpression()
64 ProvisionBinding binding, CompilerOptions compilerOptions, CodeBlock invocation) { in maybeCheckForNull()
DMembersInjectorProviderCreationExpression.java35 private final ProvisionBinding binding;
38 ProvisionBinding binding, ComponentBindingExpressions componentBindingExpressions) { in MembersInjectorProviderCreationExpression()
DMultibindingExpression.java33 private final ProvisionBinding binding;
40 this.binding = (ProvisionBinding) resolvedBindings.contributionBinding(); in MultibindingExpression()
DOptionalBindingExpression.java34 private final ProvisionBinding binding;
46 this.binding = (ProvisionBinding) resolvedBindings.contributionBinding(); in OptionalBindingExpression()
DMembersInjectionMethods.java119 if (binding instanceof ProvisionBinding) { in injectionSites()
120 return ((ProvisionBinding) binding).injectionSites(); in injectionSites()
DModuleProcessingStep.java51 private final SourceFileGenerator<ProvisionBinding> factoryGenerator;
63 SourceFileGenerator<ProvisionBinding> factoryGenerator, in ModuleProcessingStep()
DInjectionMethods.java109 ProvisionBinding binding, CompilerOptions compilerOptions, DaggerElements elements) { in create()
135 ProvisionBinding binding, in invoke()
175 ProvisionBinding binding, in requiresInjectionMethod()
471 static CheckNotNullPolicy get(ProvisionBinding binding, CompilerOptions compilerOptions) { in get()
DSetBindingExpression.java40 private final ProvisionBinding binding;
54 this.binding = (ProvisionBinding) resolvedBindings.contributionBinding(); in SetBindingExpression()
DMapBindingExpression.java48 private final ProvisionBinding binding;
62 this.binding = (ProvisionBinding) resolvedBindings.contributionBinding(); in MapBindingExpression()
DSimpleMethodBindingExpression.java52 private final ProvisionBinding provisionBinding;
71 this.provisionBinding = (ProvisionBinding) resolvedBindings.contributionBinding(); in SimpleMethodBindingExpression()
DSourceFileGeneratorsModule.java46 class ProvisionModule extends GeneratorModule<ProvisionBinding, FactoryGenerator> {}
DDependencyMethodProviderCreationExpression.java75 (ProvisionBinding) binding, in creationExpression()
DComponentProcessor.java57 @Inject SourceFileGenerator<ProvisionBinding> factoryGenerator;
DBindingGraphFactory.java406 private boolean isIncorrectlyScopedInPartialGraph(ProvisionBinding binding) { in isIncorrectlyScopedInPartialGraph()
436 private void addSubcomponentToOwningResolver(ProvisionBinding subcomponentCreatorBinding) { in addSubcomponentToOwningResolver()
502 private Optional<ProvisionBinding> syntheticSubcomponentBuilderBinding( in syntheticSubcomponentBuilderBinding()
DComponentBindingExpressions.java389 return new MembersInjectorProviderCreationExpression((ProvisionBinding) binding, this); in frameworkInstanceCreationExpression()
DBUILD182 "ProvisionBinding.java",