Home
last modified time | relevance | path

Searched refs:ComponentDescriptor (Results 1 – 14 of 14) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DResolvedBindings.java48 abstract ComponentDescriptor owningComponent(); in owningComponent()
56 abstract ImmutableSetMultimap<ComponentDescriptor, ContributionBinding> allContributionBindings(); in allContributionBindings()
64 abstract ImmutableMap<ComponentDescriptor, MembersInjectionBinding> allMembersInjectionBindings(); in allMembersInjectionBindings()
151 ComponentDescriptor owningComponent, in forContributionBindings()
152 Multimap<ComponentDescriptor, ? extends ContributionBinding> contributionBindings) { in forContributionBindings() argument
157 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>copyOf(contributionBindings), in forContributionBindings()
158 ImmutableMap.<ComponentDescriptor, MembersInjectionBinding>of()); in forContributionBindings()
166 ComponentDescriptor owningComponent, in forContributionBindings()
171 ImmutableSetMultimap.<ComponentDescriptor, ContributionBinding>builder() in forContributionBindings()
181 ComponentDescriptor owningComponent, in forMembersInjectionBinding()
[all …]
DComponentHierarchyValidator.java22 import dagger.internal.codegen.ComponentDescriptor.BuilderSpec;
23 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
35 ValidationReport<TypeElement> validate(ComponentDescriptor componentDescriptor) { in validate()
44 ComponentDescriptor componentDescriptor, in validateSubcomponentMethods()
48 for (Map.Entry<ComponentMethodDescriptor, ComponentDescriptor> subcomponentEntry : in validateSubcomponentMethods()
51 ComponentDescriptor subcomponentDescriptor = subcomponentEntry.getValue(); in validateSubcomponentMethods()
DBindingGraph.java37 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
64 import static dagger.internal.codegen.ComponentDescriptor.isComponentContributionMethod;
65 import static dagger.internal.codegen.ComponentDescriptor.isComponentProductionMethod;
66 import static dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor.isOfKind;
67 import static dagger.internal.codegen.ComponentDescriptor.ComponentMethodKind.SUBCOMPONENT_BUILDER;
68 import static dagger.internal.codegen.ComponentDescriptor.Kind.PRODUCTION_COMPONENT;
81 abstract ComponentDescriptor componentDescriptor(); in componentDescriptor()
175 BindingGraph create(ComponentDescriptor componentDescriptor) {
180 Optional<Resolver> parentResolver, ComponentDescriptor componentDescriptor) {
241 for (Entry<ComponentMethodDescriptor, ComponentDescriptor> subcomponentEntry :
[all …]
DAbstractComponentProcessingStep.java37 private final ComponentDescriptor.Factory componentDescriptorFactory;
46 ComponentDescriptor.Factory componentDescriptorFactory, in AbstractComponentProcessingStep()
68 ComponentDescriptor componentDescriptor = in process()
DComponentProcessor.java105 new BuilderValidator(elements, types, ComponentDescriptor.Kind.COMPONENT); in initSteps()
107 new BuilderValidator(elements, types, ComponentDescriptor.Kind.SUBCOMPONENT); in initSteps()
124 new BuilderValidator(elements, types, ComponentDescriptor.Kind.PRODUCTION_COMPONENT); in initSteps()
154 ComponentDescriptor.Factory componentDescriptorFactory = new ComponentDescriptor.Factory( in initSteps()
DComponentDescriptor.java71 abstract class ComponentDescriptor { class
72 ComponentDescriptor() {} in ComponentDescriptor() method in ComponentDescriptor
194 abstract ImmutableMap<ComponentMethodDescriptor, ComponentDescriptor> subcomponents(); in subcomponents()
258 ComponentDescriptor forComponent(TypeElement componentDefinitionType) {
267 private ComponentDescriptor create(TypeElement componentDefinitionType, Kind kind) {
310 ImmutableMap.Builder<ComponentMethodDescriptor, ComponentDescriptor> subcomponentDescriptors =
DBindingGraphValidator.java41 import dagger.internal.codegen.ComponentDescriptor.BuilderSpec;
42 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
83 import static dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor.isOfKind;
84 import static dagger.internal.codegen.ComponentDescriptor.ComponentMethodKind.SUBCOMPONENT;
177 for (Map.Entry<ComponentMethodDescriptor, ComponentDescriptor> entry : in validateSubgraph()
520 ComponentDescriptor descriptor = subject.componentDescriptor(); in validateComponentHierarchy()
567 ComponentDescriptor descriptor = subject.componentDescriptor(); in validateDependencyScopes()
621 ComponentDescriptor componentDesc = subject.componentDescriptor(); in validateBuilders()
DComponentValidator.java66 private final ComponentDescriptor.Kind componentType;
77 this.componentType = ComponentDescriptor.Kind.SUBCOMPONENT; in ComponentValidator()
90 this.componentType = ComponentDescriptor.Kind.COMPONENT; in ComponentValidator()
DBuilderValidator.java54 private final ComponentDescriptor.Kind componentType;
56 BuilderValidator(Elements elements, Types types, ComponentDescriptor.Kind componentType) { in BuilderValidator()
DProductionComponentProcessingStep.java48 ComponentDescriptor.Factory componentDescriptorFactory, in ProductionComponentProcessingStep()
DErrorMessages.java240 static ComponentBuilderMessages builderMsgsFor(ComponentDescriptor.Kind kind) { in builderMsgsFor()
DComponentProcessingStep.java25 import dagger.internal.codegen.ComponentDescriptor.Factory;
DSubcomponentWriter.java22 import dagger.internal.codegen.ComponentDescriptor.BuilderSpec;
DAbstractComponentWriter.java40 import dagger.internal.codegen.ComponentDescriptor.BuilderSpec;
41 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;