Home
last modified time | relevance | path

Searched refs:creatorDescriptor (Results 1 – 9 of 9) sorted by relevance

/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentCreatorImplementationFactory.java96 Optional<ComponentCreatorDescriptor> creatorDescriptor = in create() local
97 componentImplementation.componentDescriptor().creatorDescriptor(); in create()
100 creatorDescriptor.isPresent() in create()
101 ? new BuilderForCreatorDescriptor(componentImplementation, creatorDescriptor.get()) in create()
371 final ComponentCreatorDescriptor creatorDescriptor;
375 ComponentCreatorDescriptor creatorDescriptor) {
377 this.creatorDescriptor = creatorDescriptor;
382 return Maps.toMap(creatorDescriptor.userSettableRequirements(), this::requirementStatus);
392 addSupertype(classBuilder, creatorDescriptor.typeElement());
402 return ImmutableSet.copyOf(creatorDescriptor.setterMethods().keySet());
[all …]
DComponentHjarGenerator.java120 if (componentDescriptor.creatorDescriptor().isPresent()) { in write()
121 ComponentCreatorDescriptor creatorDescriptor = componentDescriptor.creatorDescriptor().get(); in write() local
122 builderMethodReturnType = ClassName.get(creatorDescriptor.typeElement()); in write()
123 creatorKind = creatorDescriptor.kind(); in write()
124 noArgFactoryMethod = creatorDescriptor.factoryParameters().isEmpty(); in write()
211 return componentDescriptor.creatorDescriptor().isPresent() in hasBindsInstanceMethods()
213 .getUnimplementedMethods(componentDescriptor.creatorDescriptor().get().typeElement()) in hasBindsInstanceMethods()
DComponentImplementationBuilder.java461 Optional<ComponentCreatorDescriptor> creatorDescriptor = in createRootComponentFactoryMethod() local
462 graph.componentDescriptor().creatorDescriptor(); in createRootComponentFactoryMethod()
463 if (creatorDescriptor.isPresent()) { in createRootComponentFactoryMethod()
464 ComponentCreatorDescriptor descriptor = creatorDescriptor.get(); in createRootComponentFactoryMethod()
/external/dagger2/java/dagger/internal/codegen/writing/
DSubcomponentNames.java76 checkArgument(componentDescriptor.creatorDescriptor().isPresent()); in getCreatorName()
77 ComponentCreatorDescriptor creatorDescriptor = componentDescriptor.creatorDescriptor().get(); in getCreatorName() local
78 return get(componentDescriptor) + creatorDescriptor.kind().typeName(); in getCreatorName()
98 .filter(subcomponent -> subcomponent.creatorDescriptor().isPresent()) in descriptorsByCreatorKey()
103 subcomponent.creatorDescriptor().get().typeElement().asType()), in descriptorsByCreatorKey()
DComponentImplementation.java257 .creatorDescriptor() in creatorKind()
/external/dagger2/java/dagger/internal/codegen/binding/
DComponentDescriptor.java147 creatorDescriptor() in requirements()
225 .filter(child -> child.creatorDescriptor().isPresent())
228 child -> child.creatorDescriptor().get().typeElement(),
269 public abstract Optional<ComponentCreatorDescriptor> creatorDescriptor(); in creatorDescriptor() method in ComponentDescriptor
277 return !isSubcomponent() || creatorDescriptor().isPresent(); in hasCreator()
DComponentDescriptorFactory.java189 Optional<ComponentCreatorDescriptor> creatorDescriptor = in create() local
212 creatorDescriptor); in create()
DBindingGraphFactory.java165 .creatorDescriptor() in createLegacyBindingGraph()
167 creatorDescriptor -> in createLegacyBindingGraph()
168 creatorDescriptor.boundInstanceRequirements().stream() in createLegacyBindingGraph()
172 requirement, creatorDescriptor.elementForRequirement(requirement))) in createLegacyBindingGraph()
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentDescriptorValidator.java282 if (!component.creatorDescriptor().isPresent()) { in validateCreators()
287 ComponentCreatorDescriptor creator = component.creatorDescriptor().get(); in validateCreators()