/external/dagger2/javatests/dagger/internal/codegen/ |
D | ModuleValidationTest.java | 54 String annotationWithSubcomponent(String subcomponent) { in annotationWithSubcomponent() argument 55 return String.format("@%s(subcomponents = %s)", annotation.getSimpleName(), subcomponent); in annotationWithSubcomponent() 107 JavaFileObject subcomponent = in moduleSubcomponents_listsSubcomponentBuilder() local 121 Compilation compilation = daggerCompiler().compile(module, subcomponent); in moduleSubcomponents_listsSubcomponentBuilder() 141 JavaFileObject subcomponent = in moduleSubcomponents_listsSubcomponentFactory() local 155 Compilation compilation = daggerCompiler().compile(module, subcomponent); in moduleSubcomponents_listsSubcomponentFactory() 175 JavaFileObject subcomponent = in moduleSubcomponents_listsProductionSubcomponentBuilder() local 189 Compilation compilation = daggerCompiler().compile(module, subcomponent); in moduleSubcomponents_listsProductionSubcomponentBuilder() 209 JavaFileObject subcomponent = in moduleSubcomponents_listsProductionSubcomponentFactory() local 223 Compilation compilation = daggerCompiler().compile(module, subcomponent); in moduleSubcomponents_listsProductionSubcomponentFactory() [all …]
|
D | ComponentHierarchyValidationTest.java | 49 JavaFileObject subcomponent = in singletonSubcomponent() local 61 Compilation compilation = daggerCompiler().compile(component, subcomponent); in singletonSubcomponent() 68 .compile(component, subcomponent); in singletonSubcomponent() 99 JavaFileObject subcomponent = in productionComponents_productionScopeImplicitOnBoth() local 124 daggerCompiler().compile(component, subcomponent, parentModule, childModule); in productionComponents_productionScopeImplicitOnBoth() 150 JavaFileObject subcomponent = in producerModuleRepeated() local 159 Compilation compilation = daggerCompiler().compile(component, subcomponent, repeatedModule); in producerModuleRepeated() 184 JavaFileObject subcomponent = in factoryMethodForSubcomponentWithBuilder_isNotAllowed() local 211 Compilation compilation = daggerCompiler().compile(module, component, subcomponent); in factoryMethodForSubcomponentWithBuilder_isNotAllowed()
|
D | ComponentRequirementFieldTest.java | 223 JavaFileObject subcomponent = in componentInstances() local 238 .compile(dependency, component, subcomponent); in componentInstances() 340 JavaFileObject subcomponent = in componentRequirementNeededInFactoryCreationOfSubcomponent() local 425 .compile(parentModule, childModule, component, subcomponent); in componentRequirementNeededInFactoryCreationOfSubcomponent()
|
D | SubcomponentCreatorValidationTest.java | 842 JavaFileObject subcomponent = in covariantFactoryMethodReturnType() local 857 Compilation compilation = compile(foo, supertype, subcomponent); in covariantFactoryMethodReturnType() 892 JavaFileObject subcomponent = in covariantFactoryMethodReturnType_hasNewMethod() local 909 Compilation compilation = compile(foo, bar, supertype, subcomponent); in covariantFactoryMethodReturnType_hasNewMethod() 918 .inFile(subcomponent) in covariantFactoryMethodReturnType_hasNewMethod() 962 JavaFileObject subcomponent = in covariantFactoryMethodReturnType_hasNewMethod_buildMethodInherited() local 977 Compilation compilation = compile(foo, bar, supertype, creatorSupertype, subcomponent); in covariantFactoryMethodReturnType_hasNewMethod_buildMethodInherited()
|
D | SubcomponentCreatorRequestFulfillmentTest.java | 60 JavaFileObject subcomponent = in testInlinedSubcomponentCreators_componentMethod() local 128 Compilation compilation = compile(subcomponent, usesSubcomponent, component); in testInlinedSubcomponentCreators_componentMethod()
|
/external/dagger2/javatests/dagger/functional/subcomponent/ |
D | SubcomponentMultibindingsTest.java | 17 package dagger.functional.subcomponent; 23 import dagger.functional.subcomponent.MultibindingSubcomponents.BoundInChild; 24 import dagger.functional.subcomponent.MultibindingSubcomponents.BoundInParent; 25 import dagger.functional.subcomponent.MultibindingSubcomponents.BoundInParentAndChild; 26 import dagger.functional.subcomponent.MultibindingSubcomponents.ParentWithProvisionHasChildWithProv… 27 import dagger.functional.subcomponent.MultibindingSubcomponents.ParentWithProvisionHasChildWithoutP… 28 import dagger.functional.subcomponent.MultibindingSubcomponents.ParentWithoutProvisionHasChildWithP… 29 import dagger.functional.subcomponent.MultibindingSubcomponents.ParentWithoutProvisionHasChildWitho… 30 import dagger.functional.subcomponent.MultibindingSubcomponents.RequiresMultibindings;
|
D | GenericParentComponent.java | 17 package dagger.functional.subcomponent; 21 B subcomponent(); in subcomponent() method
|
D | ModuleWithSubcomponentsTest.java | 17 package dagger.functional.subcomponent; 22 import dagger.functional.subcomponent.UsesModuleSubcomponents.ParentIncludesSubcomponentTransitivel…
|
D | SubcomponentTest.java | 17 package dagger.functional.subcomponent; 42 { parentOfGenericComponent, parentOfGenericComponent.subcomponent() }}); in parameters()
|
/external/dagger2/javatests/dagger/functional/subcomponent/hiding/ |
D | ChildComponent.java | 17 package dagger.functional.subcomponent.hiding; 22 @Subcomponent(modules = dagger.functional.subcomponent.hiding.b.CommonModuleName.class) 25 dagger.functional.subcomponent.hiding.a.CommonName aCommonName(); in aCommonName() 27 dagger.functional.subcomponent.hiding.b.CommonName bCommonName(); in bCommonName()
|
D | ParentComponent.java | 17 package dagger.functional.subcomponent.hiding; 22 @Component(modules = dagger.functional.subcomponent.hiding.a.CommonModuleName.class) 26 dagger.functional.subcomponent.hiding.a.CommonName aCommonName(); in aCommonName()
|
/external/dagger2/javatests/dagger/functional/producers/subcomponent/ |
D | SubcomponentWithBoundExecutorTest.java | 17 package dagger.functional.producers.subcomponent; 21 import dagger.functional.producers.subcomponent.SubcomponentsWithBoundExecutor.ChildComponent; 22 import dagger.functional.producers.subcomponent.SubcomponentsWithBoundExecutor.ExecutorModule; 23 import dagger.functional.producers.subcomponent.SubcomponentsWithBoundExecutor.GrandchildComponent; 24 import dagger.functional.producers.subcomponent.SubcomponentsWithBoundExecutor.GrandchildComponentW… 25 import dagger.functional.producers.subcomponent.SubcomponentsWithBoundExecutor.ParentComponent; 26 import dagger.functional.producers.subcomponent.SubcomponentsWithBoundExecutor.ParentProductionComp…
|
D | MultiPackageSubcomponentTest.java | 17 package dagger.functional.producers.subcomponent; 21 import dagger.functional.producers.subcomponent.MultiPackageSubcomponents.ParentComponent; 22 import dagger.functional.producers.subcomponent.sub.ChildComponent;
|
D | MultiPackageSubcomponents.java | 17 package dagger.functional.producers.subcomponent; 22 import dagger.functional.producers.subcomponent.sub.ChildComponent;
|
D | ProducerModuleWithSubcomponentsTest.java | 17 package dagger.functional.producers.subcomponent; 21 import dagger.functional.producers.subcomponent.UsesProducerModuleSubcomponents.ParentIncludesProdu…
|
/external/dagger2/javatests/dagger/functional/producers/cancellation/ |
D | ProducerSubcomponentCancellationTest.java | 40 private final CancellationSubcomponent subcomponent = field in ProducerSubcomponentCancellationTest 50 ListenableFuture<String> subcomponentEntryPoint = subcomponent.subcomponentEntryPoint(); in cancellingSubcomponent_doesNotCancelParent() 82 ListenableFuture<String> subcomponentEntryPoint = subcomponent.subcomponentEntryPoint(); in cancellingSubcomponent_preventsUnstartedNodesFromStarting() 100 ListenableFuture<String> subcomponentEntryPoint = subcomponent.subcomponentEntryPoint(); in cancellingProducerFromComponentDependency_inSubcomponent_cancelsUnderlyingTask()
|
/external/dagger2/java/dagger/internal/codegen/writing/ |
D | SubcomponentNames.java | 98 .filter(subcomponent -> subcomponent.creatorDescriptor().isPresent()) in descriptorsByCreatorKey() 101 subcomponent -> in descriptorsByCreatorKey() 103 subcomponent.creatorDescriptor().get().typeElement().asType()), in descriptorsByCreatorKey() 104 subcomponent -> subcomponent)); in descriptorsByCreatorKey()
|
/external/dagger2/javatests/dagger/spi/ |
D | SpiPluginTest.java | 266 JavaFileObject subcomponent = in dependencyTraceAtDependencyRequest_subcomponents() local 279 new CompilationFactory(component, subcomponent, foo, entryPoint); in dependencyTraceAtDependencyRequest_subcomponents() 333 JavaFileObject subcomponent = in errorOnSubcomponent() local 358 .compile(component, subcomponent); in errorOnSubcomponent() 415 JavaFileObject subcomponent = in shortestPathToBindingExistsThroughSubcomponentBuilder() local 461 subcomponent, in shortestPathToBindingExistsThroughSubcomponentBuilder()
|
/external/dagger2/java/dagger/internal/codegen/binding/ |
D | ComponentDescriptorFactory.java | 149 TypeElement subcomponent = subcomponentDeclaration.subcomponentType(); in create() local 150 subcomponentsFromModules.add(subcomponentDescriptor(subcomponent)); in create() 168 .subcomponent() in create() 170 subcomponent -> { in create() 174 subcomponentsByBuilderMethod.put(componentMethodDescriptor, subcomponent); in create() 176 subcomponentsByFactoryMethod.put(componentMethodDescriptor, subcomponent); in create() 232 return descriptor.subcomponent(subcomponentDescriptor(returnTypeElement)).build(); in getDescriptorForComponentMethod() 235 descriptor.subcomponent( in getDescriptorForComponentMethod()
|
D | SubcomponentDeclaration.java | 75 for (TypeElement subcomponent : moduleAnnotation.subcomponents()) { in forModule() 81 getSubcomponentCreator(subcomponent).get().asType()), in forModule() 82 subcomponent, in forModule()
|
D | ConfigurationAnnotations.java | 58 public static Optional<TypeElement> getSubcomponentCreator(TypeElement subcomponent) { in getSubcomponentCreator() argument 59 checkArgument(subcomponentAnnotation(subcomponent).isPresent()); in getSubcomponentCreator() 60 for (TypeElement nestedType : typesIn(subcomponent.getEnclosedElements())) { in getSubcomponentCreator()
|
/external/dagger2/javatests/dagger/functional/subcomponent/pruning/ |
D | SubcomponentOnlyRequestedBySiblingTest.java | 17 package dagger.functional.subcomponent.pruning; 23 import dagger.functional.subcomponent.pruning.ParentDoesntUseSubcomponent.ChildA; 24 import dagger.functional.subcomponent.pruning.ParentDoesntUseSubcomponent.ChildB;
|
/external/dagger2/javatests/dagger/functional/producers/subcomponent/pruning/ |
D | ProductionSubcomponentOnlyRequestedBySiblingTest.java | 17 package dagger.functional.producers.subcomponent.pruning; 21 import dagger.functional.producers.subcomponent.pruning.ParentDoesntUseProductionSubcomponent.Child… 22 import dagger.functional.producers.subcomponent.pruning.ParentDoesntUseProductionSubcomponent.Child…
|
/external/dagger2/javatests/dagger/functional/factory/ |
D | SubcomponentFactoryTest.java | 65 Sub subcomponent = parent.subcomponentFactory().create("foo"); in parentComponentWithSubcomponentFactoryEntryPoint() local 66 assertThat(subcomponent.i()).isEqualTo(3); in parentComponentWithSubcomponentFactoryEntryPoint() 67 assertThat(subcomponent.s()).isEqualTo("foo"); in parentComponentWithSubcomponentFactoryEntryPoint()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | ComponentProcessingStep.java | 121 private void processSubcomponent(TypeElement subcomponent) { in processSubcomponent() argument 122 if (!isComponentValid(subcomponent)) { in processSubcomponent() 126 componentDescriptorFactory.subcomponentDescriptor(subcomponent); in processSubcomponent()
|