Home
last modified time | relevance | path

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

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DInjectBindingRegistry.java62 private final ProvisionBinding.Factory provisionBindingFactory;
134 private final BindingsCollection<ProvisionBinding> provisionBindings = new BindingsCollection<>();
141 ProvisionBinding.Factory provisionBindingFactory, in InjectBindingRegistry()
161 ProvisionBinding registerBinding(ProvisionBinding binding) { in registerBinding()
173 private ProvisionBinding registerBinding(ProvisionBinding binding, boolean explicit) { in registerBinding()
198 Optional<ProvisionBinding> getOrFindProvisionBinding(Key key) { in getOrFindProvisionBinding()
203 ProvisionBinding binding = provisionBindings.getBinding(key); in getOrFindProvisionBinding()
223 ProvisionBinding constructorBinding = provisionBindingFactory.forInjectConstructor( in getOrFindProvisionBinding()
DModuleProcessingStep.java50 private final ProvisionBinding.Factory provisionBindingFactory;
58 ProvisionBinding.Factory provisionBindingFactory, in ModuleProcessingStep()
113 ImmutableSet<ProvisionBinding> bindings = FluentIterable.from(moduleProvidesMethods) in process()
114 .transform(new Function<ExecutableElement, ProvisionBinding>() { in process()
116 public ProvisionBinding apply(ExecutableElement providesMethod) { in process()
124 for (ProvisionBinding binding : bindings) { in process()
DProvisionBinding.java56 abstract class ProvisionBinding extends ContributionBinding { class
81 ProvisionBinding unresolve(ProvisionBinding binding) { in unresolve()
92 ProvisionBinding forInjectConstructor(ExecutableElement constructorElement, in forInjectConstructor()
158 ProvisionBinding forProvidesMethod(ExecutableElement providesMethod, TypeMirror contributedBy) { in forProvidesMethod()
188 ProvisionBinding implicitMapOfProviderBinding(DependencyRequest mapOfValueRequest) { in implicitMapOfProviderBinding()
213 ProvisionBinding forComponent(TypeElement componentDefinitionType) { in forComponent()
229 ProvisionBinding forComponentMethod(ExecutableElement componentMethod) { in forComponentMethod()
248 ProvisionBinding forSubcomponentBuilderMethod( in forSubcomponentBuilderMethod()
DInjectProcessingStep.java49 private final ProvisionBinding.Factory provisionBindingFactory;
58 ProvisionBinding.Factory provisionBindingFactory, in InjectProcessingStep()
80 final ImmutableSet.Builder<ProvisionBinding> provisions = ImmutableSet.builder(); in process()
150 for (ProvisionBinding binding : provisions.build()) { in process()
DFactoryGenerator.java73 final class FactoryGenerator extends SourceFileGenerator<ProvisionBinding> {
85 ClassName nameGeneratedType(ProvisionBinding binding) { in nameGeneratedType()
90 Iterable<? extends Element> getOriginatingElements(ProvisionBinding binding) { in getOriginatingElements()
95 Optional<? extends Element> getElementForErrorReporting(ProvisionBinding binding) { in getElementForErrorReporting()
100 ImmutableSet<JavaWriter> write(ClassName generatedTypeName, ProvisionBinding binding) { in write()
DModuleDescriptor.java56 private final ProvisionBinding.Factory provisionBindingFactory;
61 ProvisionBinding.Factory provisionBindingFactory,
DComponentProcessor.java140 ProvisionBinding.Factory provisionBindingFactory = in initSteps()
141 new ProvisionBinding.Factory(elements, types, keyFactory, dependencyRequestFactory); in initSteps()
DBindingGraph.java160 private final ProvisionBinding.Factory provisionBindingFactory;
166 ProvisionBinding.Factory provisionBindingFactory,
369 Optional<ProvisionBinding> provisionBinding =