/external/dagger2/java/dagger/internal/codegen/ |
D | SubcomponentNames.java | 46 private final ImmutableMap<ComponentDescriptor, String> namesByDescriptor; 47 private final ImmutableMap<Key, ComponentDescriptor> descriptorsByCreatorKey; 55 String get(ComponentDescriptor componentDescriptor) { in get() 70 String getCreatorName(ComponentDescriptor componentDescriptor) { in getCreatorName() 76 private static ImmutableMap<ComponentDescriptor, String> namesByDescriptor(BindingGraph graph) { in namesByDescriptor() 77 ImmutableListMultimap<String, ComponentDescriptor> componentDescriptorsBySimpleName = in namesByDescriptor() 81 ImmutableMap<ComponentDescriptor, Namer> componentNamers = in namesByDescriptor() 83 Map<ComponentDescriptor, String> subcomponentImplSimpleNames = new LinkedHashMap<>(); in namesByDescriptor() 95 private static ImmutableMap<Key, ComponentDescriptor> descriptorsByCreatorKey( in descriptorsByCreatorKey() 96 KeyFactory keyFactory, ImmutableSet<ComponentDescriptor> subcomponents) { in descriptorsByCreatorKey() [all …]
|
D | ComponentHierarchyValidator.java | 40 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor; 59 ValidationReport<TypeElement> validate(ComponentDescriptor componentDescriptor) { in validate() 70 report, componentDescriptor, LinkedHashMultimap.<ComponentDescriptor, Scope>create()); in validate() 78 ComponentDescriptor componentDescriptor, in validateSubcomponentMethods() 133 ComponentDescriptor subject, in validateScopeHierarchy() 134 SetMultimap<ComponentDescriptor, Scope> scopesByComponent) { in validateScopeHierarchy() argument 137 for (ComponentDescriptor childComponent : subject.childComponents()) { in validateScopeHierarchy() 148 SetMultimap<ComponentDescriptor, Scope> overlappingScopes = in validateScopeHierarchy() 155 for (Map.Entry<ComponentDescriptor, Scope> entry : overlappingScopes.entries()) { in validateScopeHierarchy() 172 ComponentDescriptor componentDescriptor, in validateProductionModuleUniqueness() [all …]
|
D | ComponentDescriptor.java | 66 abstract class ComponentDescriptor { class 179 final ImmutableSet<ComponentDescriptor> childComponents() { in childComponents() 180 return ImmutableSet.<ComponentDescriptor>builder() in childComponents() 191 abstract ImmutableSet<ComponentDescriptor> childComponentsDeclaredByModules(); in childComponentsDeclaredByModules() 197 abstract ImmutableBiMap<ComponentMethodDescriptor, ComponentDescriptor> 202 ImmutableMap<TypeElement, ComponentDescriptor> childComponentsByElement() { in childComponentsByElement() 203 return Maps.uniqueIndex(childComponents(), ComponentDescriptor::typeElement); in childComponentsByElement() 208 ComponentDescriptor childComponent) { in getFactoryMethodForChildComponent() 217 abstract ImmutableBiMap<ComponentMethodDescriptor, ComponentDescriptor> 220 private final Supplier<ImmutableMap<TypeElement, ComponentDescriptor>> [all …]
|
D | ComponentDescriptorValidator.java | 102 ValidationReport<TypeElement> validate(ComponentDescriptor component) { in validate() 110 final ComponentDescriptor rootComponent; 111 final Map<ComponentDescriptor, ValidationReport.Builder<TypeElement>> reports = 114 ComponentValidation(ComponentDescriptor rootComponent) { in ComponentValidation() 127 private ValidationReport.Builder<TypeElement> report(ComponentDescriptor component) { in report() 133 Diagnostic.Kind kind, ComponentDescriptor component, String message) { in reportComponentItem() 138 private void reportComponentError(ComponentDescriptor component, String error) { in reportComponentError() 142 void visitComponent(ComponentDescriptor component) { in visitComponent() 151 private void validateComponentDependencyHierarchy(ComponentDescriptor component) { in validateComponentDependencyHierarchy() 157 ComponentDescriptor component, TypeElement dependency, Deque<TypeElement> dependencyStack) { in validateComponentDependencyHierarchy() [all …]
|
D | ComponentDescriptorFactory.java | 25 import static dagger.internal.codegen.ComponentDescriptor.isComponentContributionMethod; 40 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor; 73 ComponentDescriptor rootComponentDescriptor(TypeElement typeElement) { in rootComponentDescriptor() 83 ComponentDescriptor subcomponentDescriptor(TypeElement typeElement) { in subcomponentDescriptor() 96 ComponentDescriptor moduleComponentDescriptor(TypeElement typeElement) { in moduleComponentDescriptor() 113 private ComponentDescriptor create( in create() 142 ImmutableSet.Builder<ComponentDescriptor> subcomponentsFromModules = ImmutableSet.builder(); in create() 152 ImmutableBiMap.Builder<ComponentMethodDescriptor, ComponentDescriptor> in create() 154 ImmutableBiMap.Builder<ComponentMethodDescriptor, ComponentDescriptor> in create()
|
D | ComponentHjarProcessingStep.java | 124 private final class EmptyComponentGenerator extends SourceFileGenerator<ComponentDescriptor> { 130 ClassName nameGeneratedType(ComponentDescriptor input) { in nameGeneratedType() 135 Element originatingElement(ComponentDescriptor input) { in originatingElement() 141 ClassName generatedTypeName, ComponentDescriptor componentDescriptor) { in write() 231 private Stream<ComponentRequirement> componentRequirements(ComponentDescriptor component) { in componentRequirements() 240 private boolean hasBindsInstanceMethods(ComponentDescriptor componentDescriptor) { in hasBindsInstanceMethods() 271 private MethodSpec builderBuildMethod(ComponentDescriptor component) { in builderBuildMethod() 286 private MethodSpec createMethod(ComponentDescriptor componentDescriptor) { in createMethod()
|
D | ComponentNodeImpl.java | 32 ComponentPath componentPath, ComponentDescriptor componentDescriptor) { in create() 58 abstract ComponentDescriptor componentDescriptor(); in componentDescriptor()
|
D | BindingGraphFactory.java | 24 import static dagger.internal.codegen.ComponentDescriptor.isComponentContributionMethod; 103 BindingGraph create(ComponentDescriptor componentDescriptor, boolean createFullBindingGraph) { in create() 109 ComponentDescriptor componentDescriptor, in create() 207 Set<ComponentDescriptor> resolvedSubcomponents = new HashSet<>(); in create() 209 for (ComponentDescriptor subcomponent : in create() 233 ComponentDescriptor componentDescriptor, Optional<Resolver> parentResolver) { in modules() 244 ComponentDescriptor component, Optional<Resolver> parentResolver) { in shouldIncludeImplicitProductionModules() 282 final ComponentDescriptor componentDescriptor; 296 final Queue<ComponentDescriptor> subcomponentsToResolve = new ArrayDeque<>(); 300 ComponentDescriptor componentDescriptor, in Resolver() [all …]
|
D | ComponentProcessingStep.java | 133 ComponentDescriptor componentDescriptor = in processRootComponent() 155 ComponentDescriptor subcomponentDescriptor = in processSubcomponent() 236 private boolean isFullBindingGraphValid(ComponentDescriptor componentDescriptor) { in isFullBindingGraphValid() 246 private boolean isValid(ComponentDescriptor componentDescriptor) { in isValid()
|
D | DeserializedComponentImplementationBuilder.java | 81 ComponentImplementation create(ComponentDescriptor component, TypeElement generatedComponent) { in create() 131 ComponentDescriptor component, TypeElement superclassElement) { in deserializedSuperclassImplementation() 209 ComponentDescriptor component, in addChildImplementation() 218 ComponentDescriptor child = in addChildImplementation()
|
D | BindingGraph.java | 49 abstract ComponentDescriptor componentDescriptor(); in componentDescriptor() 185 ImmutableSet<ComponentDescriptor> componentDescriptors() { in componentDescriptors() 205 ComponentDescriptor componentDescriptor, in create()
|
D | ComponentImplementation.java | 179 private final ComponentDescriptor componentDescriptor; 211 ComponentDescriptor componentDescriptor, in ComponentImplementation() 282 ComponentDescriptor componentDescriptor, in forDeserializedComponent() 335 ComponentDescriptor componentDescriptor() { in componentDescriptor() 481 ClassName getSubcomponentName(ComponentDescriptor childDescriptor) { in getSubcomponentName() 506 Optional<ComponentImplementation> childImplementation(ComponentDescriptor child) { in childImplementation() 658 void addChild(ComponentDescriptor child, ComponentImplementation childImplementation) { in addChild()
|
D | ResolvedBindings.java | 121 ImmutableSet<? extends Binding> bindingsOwnedBy(ComponentDescriptor component) { in bindingsOwnedBy() 179 ComponentDescriptor owningComponent, in forMembersInjectionBinding()
|
D | MissingBindingExpression.java | 19 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | DeferredModifiableBindingExpression.java | 21 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | ProducerNodeInstanceBindingExpression.java | 22 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | BindingExpression.java | 23 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | MethodSignature.java | 25 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | ComponentMethodBindingExpression.java | 23 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | MembersInjectionBindingExpression.java | 25 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | DerivedFromFrameworkInstanceBindingExpression.java | 24 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | ProducerEntryPointView.java | 25 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | ModifiableAbstractMethodBindingExpression.java | 26 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | ComponentTreeTraverser.java | 25 import dagger.internal.codegen.ComponentDescriptor.ComponentMethodDescriptor;
|
D | ComponentImplementationFactory.java | 114 ComponentDescriptor child, ComponentImplementation parentImplementation) { in findChildSuperclassImplementation()
|