Home
last modified time | relevance | path

Searched refs:rootMetadata (Results 1 – 5 of 5) sorted by relevance

/external/dagger2/java/dagger/hilt/processor/internal/root/
DTestComponentDataGenerator.java46 private final RootMetadata rootMetadata; field in TestComponentDataGenerator
51 RootMetadata rootMetadata) { in TestComponentDataGenerator() argument
53 this.rootMetadata = rootMetadata; in TestComponentDataGenerator()
56 Processors.getEnclosedClassName(rootMetadata.testRootMetadata().testName()), in TestComponentDataGenerator()
94 JavaFile.builder(rootMetadata.testRootMetadata().testName().packageName(), generator.build()) in generate()
100 TypeElement testElement = rootMetadata.testRootMetadata().testElement(); in getMethod()
105 rootMetadata.modulesThatDaggerCannotConstruct(ClassNames.SINGLETON_COMPONENT); in getMethod()
117 rootMetadata.waitForBindValue(), in getMethod()
196 TypeElement testElement = rootMetadata.testRootMetadata().testElement(); in getTestInjectInternalMethod()
DRootProcessor.java143 for (RootMetadata rootMetadata : rootMetadatas) { in postRoundProcess()
144 setProcessingState(rootMetadata.root()); in postRoundProcess()
145 generateComponents(rootMetadata); in postRoundProcess()
163 private void generateComponents(RootMetadata rootMetadata) throws IOException { in generateComponents() argument
164 RootGenerator.generate(rootMetadata, getProcessingEnv()); in generateComponents()
169 for (RootMetadata rootMetadata : rootMetadatas) { in generateTestComponentData()
171 TypeElement testElement = rootMetadata.testRootMetadata().testElement(); in generateTestComponentData()
177 new TestComponentDataGenerator(getProcessingEnv(), rootMetadata).generate(); in generateTestComponentData()
DTestComponentDataSupplierGenerator.java99 for (RootMetadata rootMetadata : rootMetadatas) { in constructor()
100 ClassName testName = rootMetadata.testRootMetadata().testName(); in constructor()
/external/dagger2/java/dagger/hilt/android/processor/internal/androidentrypoint/
DAndroidEntryPointMetadata.java91 public AndroidEntryPointMetadata rootMetadata() { in rootMetadata() method in AndroidEntryPointMetadata
92 return baseMetadata().map(AndroidEntryPointMetadata::rootMetadata).orElse(this); in rootMetadata()
96 return this.equals(rootMetadata()); in isRootMetadata()
DGenerators.java419 !metadata.isRootMetadata() && metadata.rootMetadata().requiresBytecodeInjection() in generatedComponentCallBlock()
433 !metadata.isRootMetadata() && metadata.rootMetadata().requiresBytecodeInjection() in componentManagerCallBlock()