Uses of Interface
io.helidon.common.types.TypeName
Packages that use TypeName
Package
Description
Helidon ConfigBean Builder Processor Extensions.
The Builder Processor SPI module provides these definitions:
BuilderCreatorProvider - responsible for code generating the
implementation w/ a fluent builder.
TypeInfoCreatorProvider - responsible for code generating the model
object for the target interface.
TypeAndBody - the dom-like description of the target type of the
builder.
The Helidon Builder Processor Tools package.
Subset of Builder's SPI types that are useful for runtime.
The Pico API provide these annotation types that are typically used at compile time
to assign special meaning to the type.
Internal tooling for the pico maven plugin.
Pico runtime services.
Pico Tools.
Tools SPI support.
-
Uses of TypeName in io.helidon.builder.config.processor
Methods in io.helidon.builder.config.processor that return types with arguments of type TypeNameModifier and TypeMethodDescriptionConfigBeanBuilderCreator.baseExtendsBuilderTypeName(BodyContext ctx) ConfigBeanBuilderCreator.baseExtendsTypeName(BodyContext ctx) Methods in io.helidon.builder.config.processor with parameters of type TypeNameModifier and TypeMethodDescriptionprotected voidConfigBeanBuilderCreator.preValidate(TypeName implTypeName, TypeInfo typeInfo, AnnotationAndValue configBeanAnno) -
Uses of TypeName in io.helidon.builder.processor.spi
Methods in io.helidon.builder.processor.spi that return TypeNameModifier and TypeMethodDescriptionDefaultTypeAndBody.typeName()TypeAndBody.typeName()The type name for the source to be generated.Methods in io.helidon.builder.processor.spi with parameters of type TypeNameModifier and TypeMethodDescriptionTypeInfoCreatorProvider.createTypeInfo(TypeName annoTypeName, TypeName typeName, TypeElement element, ProcessingEnvironment processingEnv, boolean wantDefaultMethods) Creates aTypeInfo.Sets the typeName to val. -
Uses of TypeName in io.helidon.builder.processor.tools
Methods in io.helidon.builder.processor.tools that return TypeNameModifier and TypeMethodDescriptionprotected TypeNameBodyContext.ctorBuilderAcceptTypeName()Returns the streamable accept type of the builder and constructor.BodyContext.implTypeName()Returns the impl type name.protected TypeNameDefaultBuilderCreatorProvider.toAbstractImplTypeName(TypeName typeName, AnnotationAndValue builderAnnotation) Constructs the abstract implementation type name for what is code generated.static TypeNameDefaultBuilderCreatorProvider.toBuilderImplTypeName(TypeName typeName, AnnotationAndValue builderAnnotation) Returns the default implementation Builder's class name for what is code generated.Methods in io.helidon.builder.processor.tools that return types with arguments of type TypeNameModifier and TypeMethodDescriptionDefaultBuilderCreatorProvider.baseExtendsBuilderTypeName(BodyContext ctx) Returns any extra 'extends' type name that should be on the main generated builder type at the base level.DefaultBuilderCreatorProvider.baseExtendsTypeName(BodyContext ctx) Returns any extra 'extends' type name that should be on the main generated type at the base level.DefaultBuilderCreatorProvider.extraImplementedBuilderContracts(BodyContext ctx) Returns any extra 'implements' contract types that should be on the main generated builder type.DefaultBuilderCreatorProvider.extraImplementedTypeNames(BodyContext ctx) Returns any extra 'implements' contract types that should be on the main generated type.BodyContext.interceptorTypeName()Returns the interceptor implementation type name.BodyContext.parentAnnotationTypeName()Returns the parent annotation type name.BodyContext.parentTypeName()Returns the parent type name of the builder.Methods in io.helidon.builder.processor.tools with parameters of type TypeNameModifier and TypeMethodDescriptionprotected voidDefaultBuilderCreatorProvider.appendDirectNonOptionalSetter(StringBuilder builder, BodyContext ctx, String beanAttributeName, TypedElementName method, String methodName, TypeName genericType) Append the setters for the given bean attribute name.protected BodyContextDefaultBuilderCreatorProvider.createBodyContext(boolean doingConcreteType, TypeName typeName, TypeInfo typeInfo, AnnotationAndValue builderAnnotation) Creates the context for the class being built.BuilderTypeTools.createTypeInfo(TypeName annotationTypeName, TypeName typeName, TypeElement element, ProcessingEnvironment processingEnv, boolean wantDefaultMethods) static booleanBeanUtils.isBuiltInJavaType(TypeName type) Returns true if the given type is known to be a built-in java type (e.g., package name starts with "java").protected voidDefaultBuilderCreatorProvider.preValidate(TypeName implTypeName, TypeInfo typeInfo, AnnotationAndValue builderAnnotation) Validates the integrity of the provided arguments in the context of what is being code generated.protected TypeNameDefaultBuilderCreatorProvider.toAbstractImplTypeName(TypeName typeName, AnnotationAndValue builderAnnotation) Constructs the abstract implementation type name for what is code generated.static TypeNameDefaultBuilderCreatorProvider.toBuilderImplTypeName(TypeName typeName, AnnotationAndValue builderAnnotation) Returns the default implementation Builder's class name for what is code generated.protected static StringDefaultBuilderCreatorProvider.toGenerics(TypeName typeName, boolean upLevelToCollection) Produces the generic descriptor decl for the method. -
Uses of TypeName in io.helidon.common.types
Classes in io.helidon.common.types that implement TypeNameMethods in io.helidon.common.types that return TypeNameModifier and TypeMethodDescriptionstatic TypeNameDefaultTypeName.createExtendsTypeName(TypeName typeName) Given a typeName X, will return an typeName of "? extends X".AnnotationAndValue.typeName()The type name, e.g.,Objects-> "java.util.Objects".DefaultAnnotationAndValue.typeName()DefaultTypedElementName.typeName()DefaultTypeInfo.typeName()TypedElementName.typeName()The type name for the element (e.g., java.util.List).TypeInfo.typeName()The type name.Methods in io.helidon.common.types that return types with arguments of type TypeNameModifier and TypeMethodDescriptionDefaultTypedElementName.componentTypeNames()TypedElementName.componentTypeNames()Returns the component type names describing the element.DefaultTypeInfo.referencedTypeNamesToAnnotations()TypeInfo.referencedTypeNamesToAnnotations()Any Map, List, Set, or method that hastypeArguments()will be analyzed and any type arguments will have its annotations added here.DefaultTypeName.typeArguments()TypeName.typeArguments()Returns the list of generic type parameters, or an empty list if no generics are in use.Methods in io.helidon.common.types with parameters of type TypeNameModifier and TypeMethodDescriptionDefaultTypeInfo.Builder.addReferencedTypeNamesToAnnotations(TypeName key, AnnotationAndValue val) Adds a single referencedTypeNamesToAnnotations val.DefaultTypeInfo.Builder.addReferencedTypeNamesToAnnotations(TypeName key, Collection<AnnotationAndValue> vals) Adds a collection of referencedTypeNamesToAnnotations values.intprotected DefaultTypeName.BuilderCopy from an existing typeName.static DefaultAnnotationAndValueCreates an instance for an annotation with no value.static DefaultAnnotationAndValueCreates an instance for an annotation with a value.static DefaultAnnotationAndValueCreates an instance for annotation with zero or more values.static TypeNameDefaultTypeName.createExtendsTypeName(TypeName typeName) Given a typeName X, will return an typeName of "? extends X".static voidDefaultTypeName.ensureIsFQN(TypeName name) Throws an exception if the provided type name is not fully qualified, having a package and class name representation.static booleanReturns true if the provided type name is fully qualified, having a package and class name representation.static DefaultTypeName.BuilderCreates a builder initialized with a value passed.Set the type name.Set the type name.Sets the typeName to val.Method parameters in io.helidon.common.types with type arguments of type TypeNameModifier and TypeMethodDescriptionDefaultTypedElementName.Builder.componentTypeNames(List<TypeName> val) Set the component type names.DefaultTypeInfo.Builder.referencedTypeNamesToAnnotations(Map<TypeName, List<AnnotationAndValue>> val) Sets the referencedTypeNamesToAnnotations to val.DefaultTypeName.Builder.typeArguments(Collection<TypeName> val) Sets the generic type arguments to the collection passed, and if not empty will set the generic flag to true.Constructors in io.helidon.common.types with parameters of type TypeName -
Uses of TypeName in io.helidon.pico.api
Fields in io.helidon.pico.api declared as TypeNameModifier and TypeFieldDescriptionstatic final TypeNameCommonQualifiers.NAMEDRepresents aNamedtype name with no value.Methods in io.helidon.pico.api that return TypeNameModifier and TypeMethodDescriptionInvocationContext.serviceTypeName()The service type name for the root service provider.Methods in io.helidon.pico.api with parameters of type TypeNameModifier and TypeMethodDescriptionstatic DefaultQualifierAndValueCreates a qualifier.static DefaultQualifierAndValueCreates a qualifier. -
Uses of TypeName in io.helidon.pico.maven.plugin
Methods in io.helidon.pico.maven.plugin that return TypeNameMethod parameters in io.helidon.pico.maven.plugin with type arguments of type TypeNameModifier and TypeMethodDescriptionprotected StringAbstractCreatorMojo.determinePackageName(Optional<ServiceProvider<Module>> optModuleSp, Collection<TypeName> typeNames, ModuleInfoDescriptor descriptor, boolean persistIt) Determines the primary package name (which also typically doubles as the application name). -
Uses of TypeName in io.helidon.pico.runtime
Constructors in io.helidon.pico.runtime with parameters of type TypeNameModifierConstructorDescriptionprotectedInterceptedMethod(I interceptedImpl, ServiceProvider<?> serviceProvider, TypeName serviceTypeName, Collection<AnnotationAndValue> serviceLevelAnnotations, Collection<Provider<Interceptor>> interceptors, TypedElementName methodInfo) The constructor.protectedInterceptedMethod(I interceptedImpl, ServiceProvider<?> serviceProvider, TypeName serviceTypeName, Collection<AnnotationAndValue> serviceLevelAnnotations, Collection<Provider<Interceptor>> interceptors, TypedElementName methodInfo, TypedElementName[] methodArgInfo) The constructor. -
Uses of TypeName in io.helidon.pico.tools
Methods in io.helidon.pico.tools that return TypeNameModifier and TypeMethodDescriptionCustomAnnotationTemplateRequest.annoTypeName()The type of the annotation being processed.GenericTemplateCreatorRequest.generatedTypeName()The type name that should will be code generated.ModuleDetail.moduleTypeName()The FQN of the module class name.ModuleInfoCreatorRequest.moduleTypeName()The PicoModuletype name.GeneralCodeGenDetail.serviceTypeName()The FQN of the source that was generated.DefaultActivatorCreator.toActivatorImplTypeName(TypeName serviceTypeName) Methods in io.helidon.pico.tools that return types with arguments of type TypeNameModifier and TypeMethodDescriptionActivatorCreatorResponse.applicationTypeName()Set if the application stub was requested to have been created.ModuleInfoCreatorRequest.applicationTypeName()The PicoApplicationtype name.ModuleInfoCreatorRequest.contracts()The service type mapping to contracts for that service type.ModuleInfoCreatorRequest.contracts()The service type mapping to contracts for that service type.ModuleInfoCreatorRequest.externalContracts()The service type mapping to external contracts for that service type.ModuleInfoCreatorRequest.externalContracts()The service type mapping to external contracts for that service type.ActivatorCreatorCodeGen.extraClassComments()The extra source code class comments that needs to be appended to the implementation.ActivatorCreatorCodeGen.extraCodeGen()The extra source code that needs to be appended to the implementation.InterceptorCreatorResponse.generatedFiles()The generated files.CustomAnnotationTemplateResponse.generatedSourceCode()Any source that should be code generated.InterceptorCreatorResponse.interceptionPlans()The interception plans.ServicesToProcess.interceptorPlans()The interception plan for each service type that has a non-null interception plan.InterceptionPlan.interfaces()The interfaces that this service implements (usually a superset ofServiceInfoBasics.contractsImplemented()).ApplicationCreatorConfigOptions.permittedProviderQualifierTypeNames()Only applicable whenApplicationCreatorConfigOptions.permittedProviderTypes()is set toApplicationCreatorConfigOptions.PermittedProviderType.NAMED.ServicesToProcess.runLevels()Fetches the map of service types to their run levels.ServicesToProcess.scopeTypeNames()Fetches the map of service types to their scope type names.ModuleDetail.serviceProviderActivatorTypeNames()name of the service provider activators for this module.ActivatorCreatorCodeGen.serviceTypeAccessLevels()The map of service type names to access level.ActivatorCreatorCodeGen.serviceTypeContracts()TheContract's associated with each service type.ActivatorCreatorCodeGen.serviceTypeContracts()TheContract's associated with each service type.Map<TypeName,? extends GeneralCodeGenDetail> GeneralCreatorResponse.serviceTypeDetails()The detailed information generated for those service type involved in code generation.ActivatorCreatorCodeGen.serviceTypeExternalContracts()TheExternalContractsassociated with each service type.ActivatorCreatorCodeGen.serviceTypeExternalContracts()TheExternalContractsassociated with each service type.ActivatorCreatorCodeGen.serviceTypeHierarchy()The class hierarchy from Object down to and including this service type.ActivatorCreatorCodeGen.serviceTypeHierarchy()The class hierarchy from Object down to and including this service type.ActivatorCreatorCodeGen.serviceTypeInjectionPointDependencies()The injection point dependencies for each service type.ActivatorCreatorCodeGen.serviceTypeInterceptionPlan()The service type's interception plan.ActivatorCreatorResponse.serviceTypeInterceptorPlans()return The interceptors that were generated.ActivatorCreatorCodeGen.serviceTypeIsAbstractTypes()The map of service type names to whether they are abstract.GeneralCreatorRequest.serviceTypeNames()The target fully qualified class name for the service implementation to be built or analyzed.GeneralCreatorResponse.serviceTypeNames()The services that were generated.ServicesToProcess.serviceTypeNames()Fetches the set of known service type names being processed in this batch.ActivatorCreatorCodeGen.serviceTypePostConstructMethodNames()ThePostConstructmethod name for each service type.ActivatorCreatorCodeGen.serviceTypePreDestroyMethodNames()ThePreDestroymethod name for each service type.ActivatorCreatorCodeGen.serviceTypeQualifiers()The set ofQualifier's for each service type.ActivatorCreatorCodeGen.serviceTypeRunLevels()The declaredRunLevelvalue for each service type.ActivatorCreatorCodeGen.serviceTypeScopeNames()The declaredScopevalue for each service type.ActivatorCreatorCodeGen.serviceTypeToActivatorGenericDecl()Optionally, for each service, provide the generic declaration portion for the activator generic class name.ActivatorCreatorCodeGen.serviceTypeToParentServiceTypes()Optionally, for each service type also provide its parent (super class) service type mapping.ActivatorCreatorCodeGen.serviceTypeToParentServiceTypes()Optionally, for each service type also provide its parent (super class) service type mapping.ActivatorCreatorCodeGen.serviceTypeToProviderForTypes()The set of type names that the service type acts as an "is provider" for (i.e.,Provider).ActivatorCreatorCodeGen.serviceTypeToProviderForTypes()The set of type names that the service type acts as an "is provider" for (i.e.,Provider).ActivatorCreatorCodeGen.serviceTypeWeights()The declaredWeightedvalue for each service type.ServicesToProcess.weightedPriorities()Fetches the map of service types to their priorities.Methods in io.helidon.pico.tools with parameters of type TypeNameModifier and TypeMethodDescriptionvoidServicesToProcess.addAccessLevel(TypeName serviceTypeName, ElementInfo.Access access) Introduce the parent superclass for a given service type name.voidServicesToProcess.addActivatorGenericDecl(TypeName serviceTypeName, String activatorGenericDecl) Introduce the activator generic portion of the declaration (e.g., the "CB extends MySingletonConfig" portion ofMyService$$picoActivator<CB extends MySingletonConfig>).voidServicesToProcess.addDeclaredRunLevel(TypeName serviceTypeName, Integer runLevel) Sets the run level for a service type name.voidServicesToProcess.addDeclaredWeight(TypeName serviceTypeName, Double weight) Sets the weight of a service type.voidServicesToProcess.addExternalRequiredModules(TypeName serviceTypeName, Collection<String> moduleNames) Introduces the need for external modules.voidServicesToProcess.addExtraActivatorClassComments(TypeName serviceTypeName, String codeGen) Adds extra cactivator class level comments.voidServicesToProcess.addExtraCodeGen(TypeName serviceTypeName, String codeGen) Adds extra code gen per service type.voidServicesToProcess.addInterceptorPlanFor(TypeName serviceTypeName, Optional<InterceptionPlan> plan) Sets theInterceptionPlanfor the given service type.voidServicesToProcess.addIsAbstract(TypeName serviceTypeName, boolean isAbstract) Introduce the flag whether the given service type name is abstract (i.e., interface or abstract) and not concrete.booleanServicesToProcess.addParentServiceType(TypeName serviceTypeName, TypeName parentServiceTypeName) Introduce the parent superclass for a given service type name.booleanServicesToProcess.addParentServiceType(TypeName serviceTypeName, TypeName parentServiceTypeName, Optional<Boolean> lockParent) Introduce the parent superclass for a given service type name.voidServicesToProcess.addPostConstructMethod(TypeName serviceTypeName, String postConstructMethodName) Introduces aPostConstructmethod to the model for a given service type.voidServicesToProcess.addPreDestroyMethod(TypeName serviceTypeName, String preDestroyMethodName) Introduces aPreDestroymethod to the model for a given service type.voidServicesToProcess.addProviderFor(TypeName serviceTypeName, Set<TypeName> providerFor) Establishes the fact that a given service type is aProvidertype for the given provided types.voidServicesToProcess.addQualifiers(TypeName serviceTypeName, Set<QualifierAndValue> qualifiers) Sets the qualifiers associated with a service type.voidServicesToProcess.addScopeTypeName(TypeName serviceTypeName, String scopeTypeName) Adds a scope type name for a service type name.voidServicesToProcess.addServiceTypeHierarchy(TypeName serviceTypeName, List<TypeName> serviceTypeHierarchy) Introduce the parent superclass for a given service type name.voidServicesToProcess.addTypeForContract(TypeName serviceTypeName, TypeName contractTypeName, boolean isExternal) Introduces a contract associated with a service type.CodeGenFiler.codegenJavaFilerOut(TypeName typeName, String body) Code generate a java source file.static ModuleInfoItemModuleInfoDescriptor.exportsPackage(TypeName typeName) Creates a new itemexportson a package from this module descriptor.booleanServicesToProcess.hasContractsFor(TypeName serviceTypeName) Checks whether the service type has an established set of contracts that are known for it.booleanServicesToProcess.hasHierarchyFor(TypeName serviceTypeName) Checks whether the service type has an established super class hierarchy set.booleanServicesToProcess.hasVisitedInterceptorPlanFor(TypeName serviceTypeName) Checks whether the service type has been evaluated for an interceptor plan.DefaultActivatorCreator.toActivatorImplTypeName(TypeName serviceTypeName) static StringTypeTools.toFilePath(TypeName typeName) Converts the provided name to a type name path.static StringTypeTools.toFilePath(TypeName typeName, String fileType) Converts the provided name to a type name path.static ServiceInfoBasicsDefaultActivatorCreator.toServiceInfo(TypeName serviceTypeName, ActivatorCreatorCodeGen codeGen) Creates service info from the service type name and the activator create codegen request.static ModuleInfoItemModuleInfoDescriptor.usesExternalContract(TypeName externalContract) Creates a new item declaring ausesexternal contract definition from this module descriptor.Method parameters in io.helidon.pico.tools with type arguments of type TypeNameModifier and TypeMethodDescriptionvoidServicesToProcess.addProviderFor(TypeName serviceTypeName, Set<TypeName> providerFor) Establishes the fact that a given service type is aProvidertype for the given provided types.voidServicesToProcess.addServiceTypeHierarchy(TypeName serviceTypeName, List<TypeName> serviceTypeHierarchy) Introduce the parent superclass for a given service type name.DefaultActivatorCreator.codegenInterceptors(GeneralCreatorRequest req, Map<TypeName, InterceptionPlan> interceptionPlans) static StringModuleUtils.toSuggestedGeneratedPackageName(ModuleInfoDescriptor descriptor, Collection<TypeName> typeNames, String defaultPackageName) Returns the suggested package name to use. -
Uses of TypeName in io.helidon.pico.tools.spi
Methods in io.helidon.pico.tools.spi that return TypeNameModifier and TypeMethodDescriptionActivatorCreator.toActivatorImplTypeName(TypeName activatorTypeName) Generates the would-be implementation type name that will be generated ifActivatorCreator.createModuleActivators(ActivatorCreatorRequest)were to be called on this creator.Methods in io.helidon.pico.tools.spi with parameters of type TypeNameModifier and TypeMethodDescriptionActivatorCreator.toActivatorImplTypeName(TypeName activatorTypeName) Generates the would-be implementation type name that will be generated ifActivatorCreator.createModuleActivators(ActivatorCreatorRequest)were to be called on this creator.Method parameters in io.helidon.pico.tools.spi with type arguments of type TypeNameModifier and TypeMethodDescriptionActivatorCreator.codegenInterceptors(GeneralCreatorRequest request, Map<TypeName, InterceptionPlan> interceptionPlans) Generates just the interceptors.