Searched refs:creatorDescriptor (Results 1 – 9 of 9) sorted by relevance
96 Optional<ComponentCreatorDescriptor> creatorDescriptor = in create() local97 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 …]
120 if (componentDescriptor.creatorDescriptor().isPresent()) { in write()121 ComponentCreatorDescriptor creatorDescriptor = componentDescriptor.creatorDescriptor().get(); in write() local122 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()
461 Optional<ComponentCreatorDescriptor> creatorDescriptor = in createRootComponentFactoryMethod() local462 graph.componentDescriptor().creatorDescriptor(); in createRootComponentFactoryMethod()463 if (creatorDescriptor.isPresent()) { in createRootComponentFactoryMethod()464 ComponentCreatorDescriptor descriptor = creatorDescriptor.get(); in createRootComponentFactoryMethod()
76 checkArgument(componentDescriptor.creatorDescriptor().isPresent()); in getCreatorName()77 ComponentCreatorDescriptor creatorDescriptor = componentDescriptor.creatorDescriptor().get(); in getCreatorName() local78 return get(componentDescriptor) + creatorDescriptor.kind().typeName(); in getCreatorName()98 .filter(subcomponent -> subcomponent.creatorDescriptor().isPresent()) in descriptorsByCreatorKey()103 subcomponent.creatorDescriptor().get().typeElement().asType()), in descriptorsByCreatorKey()
257 .creatorDescriptor() in creatorKind()
147 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 ComponentDescriptor277 return !isSubcomponent() || creatorDescriptor().isPresent(); in hasCreator()
189 Optional<ComponentCreatorDescriptor> creatorDescriptor = in create() local212 creatorDescriptor); in create()
165 .creatorDescriptor() in createLegacyBindingGraph()167 creatorDescriptor -> in createLegacyBindingGraph()168 creatorDescriptor.boundInstanceRequirements().stream() in createLegacyBindingGraph()172 requirement, creatorDescriptor.elementForRequirement(requirement))) in createLegacyBindingGraph()
282 if (!component.creatorDescriptor().isPresent()) { in validateCreators()287 ComponentCreatorDescriptor creator = component.creatorDescriptor().get(); in validateCreators()