Home
last modified time | relevance | path

Searched refs:builderSpec (Results 1 – 6 of 6) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DComponentWriter.java70 graph.componentDescriptor().builderSpec().isPresent() in createBuilder()
74 .builderSpec() in createBuilder()
96 graph.componentDescriptor().builderSpec().isPresent() in addFactoryMethods()
99 .builderSpec() in addFactoryMethods()
DSubcomponentWriter.java114 graph.componentDescriptor().builderSpec().isPresent() in createComponentClass()
117 .builderSpec() in createComponentClass()
127 if (graph.componentDescriptor().builderSpec().isPresent()) { in addBuilder()
135 verify(graph.componentDescriptor().builderSpec().isPresent()); in createBuilder()
143 if (graph.componentDescriptor().builderSpec().isPresent()) { in addFactoryMethods()
144 BuilderSpec spec = graph.componentDescriptor().builderSpec().get(); in addFactoryMethods()
DAbstractComponentWriter.java290 Optional<BuilderSpec> builderSpec = graph.componentDescriptor().builderSpec(); in addBuilder() local
291 if (builderSpec.isPresent()) { in addBuilder()
293 builderWriter.setSupertype(builderSpec.get().builderDefinitionType()); in addBuilder()
299 addBuildMethod(builderWriter, builderSpec); in addBuilder()
300 addBuilderMethods(builderWriter, builderSpec); in addBuilder()
322 private void addBuildMethod(ClassWriter builderWriter, Optional<BuilderSpec> builderSpec) { in addBuildMethod() argument
324 if (builderSpec.isPresent()) { in addBuildMethod()
325 ExecutableElement specBuildMethod = builderSpec.get().buildMethod(); in addBuildMethod()
364 Optional<BuilderSpec> builderSpec) { in addBuilderMethods() argument
365 if (builderSpec.isPresent()) { in addBuilderMethods()
[all …]
DComponentHierarchyValidator.java73 BuilderSpec subcomponentBuilderSpec = subcomponentDescriptor.builderSpec().get(); in validateSubcomponentMethods()
DComponentDescriptor.java200 abstract Optional<BuilderSpec> builderSpec(); in builderSpec() method in ComponentDescriptor
DBindingGraphValidator.java622 if (!componentDesc.builderSpec().isPresent()) { in validateBuilders()
637 final BuilderSpec spec = componentDesc.builderSpec().get(); in validateBuilders()