Uses of Interface
io.helidon.common.types.TypeName
Packages that use TypeName
Package
Description
Code generation for
Blueprint
annotated interfaces.Code generation and processing support.
Implementation of codegen tools for Java annotation processing.
Class model generator for annotation processors.
Custom copyright provider that generates Helidon copyright headers.
Implementation of codegen utilities for classpath scanning.
Service provider interfaces to extend code generation support.
Subset of Builder's SPI types that are useful for runtime.
Codegen for Helidon Config Metadata.
Code generation for Langchain4j AI Services.
Reflection support to obtain instances of common types, and to synthesize instances of annotations from
Annotation
.Code generation for Helidon Service Registry.
SPI for extending code generation capabilities of Helidon Service Registry.
Metadata for service registry.
API required to define services, and to compile the code generated sources for Helidon Service Registry,
with a core service registry implementation (replacement for
ServiceLoader
).-
Uses of TypeName in io.helidon.builder.codegen
Methods in io.helidon.builder.codegen that return types with arguments of type TypeNameMethods in io.helidon.builder.codegen with parameters of type TypeNameModifier and TypeMethodDescriptionBuilderCodegenProvider.create
(CodegenContext ctx, TypeName generatorType) -
Uses of TypeName in io.helidon.codegen
Methods in io.helidon.codegen that return TypeNameModifier and TypeMethodDescriptionClassCode.mainTrigger()
Returns the value of themainTrigger
record component.ClassCode.newType()
Returns the value of thenewType
record component.Methods in io.helidon.codegen that return types with arguments of type TypeNameModifier and TypeMethodDescriptiondefault Collection
<TypeName> RoundContext.annotatedAnnotations
(TypeName metaAnnotation) Annotation types present on wanted types, annotated with the specific "meta" annotation.RoundContext.availableAnnotations()
Annotations available in this round, the collection contains only annotations valid for the extension being invoked.CodegenContext.mapperSupportedAnnotations()
Annotations supported by the mappers.CodegenContextBase.mapperSupportedAnnotations()
CodegenContextDelegate.mapperSupportedAnnotations()
TypeHierarchy.nestedAnnotations
(CodegenContext ctx, TypeInfo typeInfo) Annotations on thetypeInfo
, it's methods, and method parameters.ModuleInfo.BuilderBase.ModuleInfoImpl.provides()
ModuleInfo.BuilderBase.ModuleInfoImpl.provides()
ModuleInfo.BuilderBase.provides()
Map of provider interfaces to provider implementations provided by this module.ModuleInfo.BuilderBase.provides()
Map of provider interfaces to provider implementations provided by this module.ModuleInfo.provides()
Map of provider interfaces to provider implementations provided by this module.ModuleInfo.provides()
Map of provider interfaces to provider implementations provided by this module.Codegen.supportedAnnotations()
A set of annotation types.Codegen.supportedMetaAnnotations()
A set of annotation types that may annotate annotation types.ModuleInfo.BuilderBase.ModuleInfoImpl.uses()
ModuleInfo.BuilderBase.uses()
Used service loader providers.ModuleInfo.uses()
Used service loader providers.Methods in io.helidon.codegen with parameters of type TypeNameModifier and TypeMethodDescriptionvoid
RoundContext.addGeneratedType
(TypeName type, ClassModel.Builder newClass, TypeName mainTrigger, Object... originatingElements) Add a new class to be code generated.ModuleInfo.BuilderBase.addProvide
(TypeName key, TypeName provide) This method adds a new value to the map value, or creates a new value.ModuleInfo.BuilderBase.addProvides
(TypeName key, List<TypeName> provides) This method adds a new value to the map value, or creates a new value.Used service loader providers.default Collection
<TypeName> RoundContext.annotatedAnnotations
(TypeName metaAnnotation) Annotation types present on wanted types, annotated with the specific "meta" annotation.RoundContext.annotatedElements
(TypeName annotationType) All elements annotated with a specific annotation.RoundContext.annotatedTypes
(TypeName annotationType) All types annotated with a specific annotation (including types that inherit such annotation from super types or through interfaces).static String
Provides copyright header to be added before package declaration.static Codegen
Codegen.create
(CodegenContext ctx, TypeName generator) Create a new instance of the top level Codegen.static Annotation
CodegenUtil.generatedAnnotation
(TypeName generator, TypeName trigger, TypeName generatedType, String versionId, String comments) Create a generated annotation.RoundContext.generatedType
(TypeName type) Class model builder for a type that is to be code generated.static Predicate
<TypedElementInfo> ElementInfoPredicates.hasAnnotation
(TypeName annotation) Predicate for an existence of an annotation.static Predicate
<TypedElementInfo> Predicate for element with the specified parameters types (suitable for methods).protected static boolean
TypeInfoFactoryBase.isBuiltInJavaType
(TypeName type) Check if the provided type is either a primitive type, or is from thejava
package namespace.ModuleInfo.BuilderBase.putProvide
(TypeName key, List<TypeName> provide) This method adds a new value to the map, or replaces it if the key already exists.default void
CodegenFiler.services
(TypeName generator, TypeName providerInterface, List<TypeName> providers, Object... originatingElements) Write aMETA-INF/services
file for a specific provider interface and implementation(s).Discover information about the provided type.CodegenContext.typeInfo
(TypeName typeName, Predicate<TypedElementInfo> elementPredicate) Discover information about the provided type, with a predicate for child elements.CodegenContextDelegate.typeInfo
(TypeName typeName, Predicate<TypedElementInfo> elementPredicate) Discover information about the provided type.static String
CodegenValidator.validateDuration
(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate a duration annotation on a method, field, or constructor.static String
CodegenValidator.validateSize
(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate aSize
annotation on a method, field, or constructor.static String
CodegenValidator.validateUri
(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate a URI value in an annotation.CodegenFiler.writeSourceFile
(TypeName type, String content, Object... originatingElements) Write a source file using string content.Method parameters in io.helidon.codegen with type arguments of type TypeNameModifier and TypeMethodDescriptionModuleInfo.BuilderBase.addProvides
(TypeName key, List<TypeName> provides) This method adds a new value to the map value, or creates a new value.ModuleInfo.BuilderBase.addProvides
(Map<? extends TypeName, List<TypeName>> provides) This method keeps existing values, then puts all new values into the map.ModuleInfo.BuilderBase.addProvides
(Map<? extends TypeName, List<TypeName>> provides) This method keeps existing values, then puts all new values into the map.Used service loader providers.static Predicate
<TypedElementInfo> Predicate for element with the specified parameters types (suitable for methods).This method replaces all values with the new ones.This method replaces all values with the new ones.ModuleInfo.BuilderBase.putProvide
(TypeName key, List<TypeName> provide) This method adds a new value to the map, or replaces it if the key already exists.default void
CodegenFiler.services
(TypeName generator, TypeName providerInterface, List<TypeName> providers, Object... originatingElements) Write aMETA-INF/services
file for a specific provider interface and implementation(s).Used service loader providers.Constructors in io.helidon.codegen with parameters of type TypeNameModifierConstructorDescriptionClassCode
(TypeName newType, ClassModel.Builder classModel, TypeName mainTrigger, Object... originatingElements) Creates an instance of aClassCode
record class. -
Uses of TypeName in io.helidon.codegen.apt
Methods in io.helidon.codegen.apt that return types with arguments of type TypeNameModifier and TypeMethodDescriptionAptTypeFactory.createTypeName
(Element type) Deprecated, for removal: This API element is subject to removal in a future version.Creates a name from an element type during annotation processing.AptTypeFactory.createTypeName
(TypeElement element, TypeMirror mirror) Deprecated, for removal: This API element is subject to removal in a future version.Create type from type mirror.AptTypeFactory.createTypeName
(DeclaredType type) Deprecated, for removal: This API element is subject to removal in a future version.Creates a name from a declared type during annotation processing.AptTypeFactory.createTypeName
(TypeMirror typeMirror) Deprecated, for removal: This API element is subject to removal in a future version.Create type from type mirror.Methods in io.helidon.codegen.apt with parameters of type TypeNameModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Get a cached instance of the type info, and if not cached, cache the provided one.AptTypeInfoFactory.create
(AptContext ctx, TypeName typeName) Deprecated, for removal: This API element is subject to removal in a future version.Create type information for a type name, reading all child elements.AptTypeInfoFactory.create
(AptContext ctx, TypeName typeName, Predicate<TypedElementInfo> elementPredicate) Deprecated, for removal: This API element is subject to removal in a future version.Create type information for a type name.static Optional
<TypedElementInfo> AptTypeInfoFactory.createTypedElementInfoFromElement
(AptContext ctx, TypeName processedType, Element v, Elements elements) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aTypedElementInfo
given its type and variable element from annotation processing. -
Uses of TypeName in io.helidon.codegen.classmodel
Classes in io.helidon.codegen.classmodel that implement TypeNameMethods in io.helidon.codegen.classmodel that return TypeNameModifier and TypeMethodDescriptionTypeArgument.boxed()
TypeArgument.genericTypeName()
ClassModel.typeName()
Type name of this class.Methods in io.helidon.codegen.classmodel that return types with arguments of type TypeNameModifier and TypeMethodDescriptionExecutable.exceptions()
List of thrown exceptions.ClassBase.interfaceTypeNames()
Implemented interfaces.TypeArgument.lowerBounds()
ClassBase.superTypeName()
Type name of the super class (if this is a class and it extends another class).TypeArgument.typeArguments()
TypeArgument.upperBounds()
Methods in io.helidon.codegen.classmodel with parameters of type TypeNameModifier and TypeMethodDescriptionType this argument is bound to (may have more than one for intersection types).default T
ContentBuilder.addContent
(TypeName typeName) Add type name to content, correctly handling imports.Executable.Builder.addContent
(TypeName typeName) Field.Builder.addContent
(TypeName typeName) default T
ContentBuilder.addContentCreate
(TypeName typeName) Add content that creates a newTypeName
in the generated code that is the same as the type name provided.Add specific fully qualified type name to be imported.ClassBase.Builder.addInterface
(TypeName interfaceType) Add interface this type should implement.Add a declared throws definition.Type this argument is bound to.int
static TypeArgument
Creates a new instance from a generic type name.Find if the provided type name is handled as part of this generated class.Method.Builder.returnType
(TypeName type) Set return type of the method.Method.Builder.returnType
(TypeName type, String description) Set return type of the method.Set new super type of this type. -
Uses of TypeName in io.helidon.codegen.helidon.copyright
Methods in io.helidon.codegen.helidon.copyright with parameters of type TypeName -
Uses of TypeName in io.helidon.codegen.scan
Methods in io.helidon.codegen.scan that return TypeNameModifier and TypeMethodDescriptionstatic TypeName
ScanTypeFactory.create
(io.github.classgraph.ClassInfo classInfo) Creates a name from a class info from classpath scanning.static TypeName
ScanTypeFactory.create
(io.github.classgraph.HierarchicalTypeSignature signature) Creates a type name for a classpath scanning type with possible generic declaration.Methods in io.helidon.codegen.scan with parameters of type TypeNameModifier and TypeMethodDescriptionScanTypeInfoFactory.create
(ScanContext ctx, TypeName typeName) Create type information for a type name, reading all child elements.ScanTypeInfoFactory.create
(ScanContext ctx, TypeName typeName, Predicate<TypedElementInfo> elementPredicate) Create type information for a type name. -
Uses of TypeName in io.helidon.codegen.spi
Methods in io.helidon.codegen.spi that return types with arguments of type TypeNameModifier and TypeMethodDescriptionCodegenProvider.supportedAnnotations()
Annotations that are supported.CodegenProvider.supportedMetaAnnotations()
Inherited annotations that are supported.Methods in io.helidon.codegen.spi with parameters of type TypeNameModifier and TypeMethodDescriptionCreate a copyright header, including comment begin/end, or line comments.CodegenExtensionProvider.create
(CodegenContext ctx, TypeName generatorType) Create a new instance of the extension provider.GeneratedAnnotationProvider.create
(TypeName generator, TypeName trigger, TypeName generatedType, String versionId, String comments) Create a generated annotation. -
Uses of TypeName in io.helidon.common.types
Classes in io.helidon.common.types with type parameters of type TypeNameModifier and TypeClassDescriptionstatic class
TypeName.BuilderBase<BUILDER extends TypeName.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TypeName> Fluent API builder base forTypeName
.Classes in io.helidon.common.types that implement TypeNameModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Fields in io.helidon.common.types declared as TypeNameModifier and TypeFieldDescriptionstatic final TypeName
TypeNames.ACCESS_MODIFIER
Helidon access modifier (enum).static final TypeName
TypeNames.ANNOTATION
Helidon annotation type.static final TypeName
TypeNames.BOXED_BOOLEAN
Boxed boolean type.static final TypeName
TypeNames.BOXED_BYTE
Boxed byte type.static final TypeName
TypeNames.BOXED_CHAR
Boxed char type.static final TypeName
TypeNames.BOXED_DOUBLE
Boxed double type.static final TypeName
TypeNames.BOXED_FLOAT
Boxed float type.static final TypeName
TypeNames.BOXED_INT
Boxed int type.static final TypeName
TypeNames.BOXED_LONG
Boxed long type.static final TypeName
TypeNames.BOXED_SHORT
Boxed short type.static final TypeName
TypeNames.BOXED_VOID
Boxed void type.static final TypeName
TypeNames.COLLECTION
Type name forCollection
.static final TypeName
TypeNames.DOCUMENTED
Type name forDocumented
.static final TypeName
TypeNames.DURATION
Type name forDuration
.static final TypeName
TypeNames.ELEMENT_KIND
Helidon element kind (enum).static final TypeName
TypeNames.GENERATED
Helidon Generated annotation type.static final TypeName
TypeNames.GENERIC_TYPE
HelidonGenericType
.static final TypeName
TypeNames.INHERITED
Type name forInherited
.static final TypeName
TypeNames.LIST
Type name forList
.static final TypeName
TypeNames.MAP
Type name forMap
.static final TypeName
TypeNames.OBJECT
Type name forObject
.static final TypeName
TypeNames.OPTIONAL
Type name forOptional
.static final TypeName
TypeNames.PRIMITIVE_BOOLEAN
Primitive boolean type.static final TypeName
TypeNames.PRIMITIVE_BYTE
Primitive byte type.static final TypeName
TypeNames.PRIMITIVE_CHAR
Primitive char type.static final TypeName
TypeNames.PRIMITIVE_DOUBLE
Primitive double type.static final TypeName
TypeNames.PRIMITIVE_FLOAT
Primitive float type.static final TypeName
TypeNames.PRIMITIVE_INT
Primitive int type.static final TypeName
TypeNames.PRIMITIVE_LONG
Primitive long type.static final TypeName
TypeNames.PRIMITIVE_SHORT
Primitive short type.static final TypeName
TypeNames.PRIMITIVE_VOID
Primitive void type.static final TypeName
TypeNames.RESOLVED_TYPE_NAME
Type name of the resolved type name.static final TypeName
TypeNames.RETENTION
Type name forRetention
.static final TypeName
TypeNames.SET
Type name forSet
.static final TypeName
TypeNames.SIZE
Type name forSize
.static final TypeName
TypeNames.STRING
Type name forString
.static final TypeName
TypeNames.SUPPLIER
Type name forSupplier
.static final TypeName
TypeNames.TARGET
Type name forTarget
.static final TypeName
TypeNames.TYPE_NAME
Type name of the type name.static final TypeName
TypeNames.TYPED_ELEMENT_INFO
Type name of typed element info.static final TypeName
TypeNames.WILDCARD
Wildcard type name, represented in code by?
.Methods in io.helidon.common.types that return TypeNameModifier and TypeMethodDescriptionTypeName.boxed()
Return the boxed equivalent of this type.TypeName.BuilderBase.TypeNameImpl.boxed()
TypeName.Builder.build()
TypeName.Builder.buildPrototype()
static TypeName
Create a type name from a type (such as class).static TypeName
Creates a type name from a fully qualified class name.static TypeName
TypeName.createFromGenericDeclaration
(String genericAliasTypeName) Creates a type name from a generic alias type name.TypeInfo.BuilderBase.TypeInfoImpl.declaredType()
TypeName.BuilderBase.TypeNameImpl.genericTypeName()
TypeName.genericTypeName()
The base generic type name, stripped of anyTypeNameBlueprint.typeArguments()
.TypeInfo.BuilderBase.TypeInfoImpl.rawType()
ElementSignature.type()
Type of the element.EnumValue.type()
Type of the enumeration.ResolvedType.type()
Provides the underlying type name that backs this resolved type.Annotation.BuilderBase.AnnotationImpl.typeName()
TypedElementInfo.BuilderBase.TypedElementInfoImpl.typeName()
TypeInfo.BuilderBase.TypeInfoImpl.typeName()
Methods in io.helidon.common.types that return types with arguments of type TypeNameModifier and TypeMethodDescriptionTypedElementInfo.BuilderBase.componentTypes()
Returns the component type names describing the element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.componentTypes()
TypeInfo.BuilderBase.declaredType()
The declared type name, including type parameters.TypedElementInfo.BuilderBase.enclosingType()
The enclosing type name for this typed element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.enclosingType()
TypeName.BuilderBase.lowerBounds()
Generic types that provide keywordextends
will have a lower bound defined.TypeName.BuilderBase.TypeNameImpl.lowerBounds()
ElementSignature.parameterTypes()
Types of parameters if this represents a method or a constructor, emptyList
otherwise.TypeInfo.BuilderBase.rawType()
The raw type name.TypeInfo.BuilderBase.referencedModuleNames()
Populated if the (external) module name containing the type is known.TypeInfo.BuilderBase.TypeInfoImpl.referencedModuleNames()
TypeInfo.BuilderBase.referencedTypeNamesToAnnotations()
Any Map, List, Set, or method that hasTypeNameBlueprint.typeArguments()
will be analyzed and any type arguments will have its annotations added here.TypeInfo.BuilderBase.TypeInfoImpl.referencedTypeNamesToAnnotations()
TypedElementInfo.BuilderBase.throwsChecked()
TypedElementInfo.BuilderBase.TypedElementInfoImpl.throwsChecked()
TypeName.BuilderBase.typeArguments()
Returns the list of generic type arguments, or an empty list if no generics are in use.TypeName.BuilderBase.TypeNameImpl.typeArguments()
Annotation.BuilderBase.typeName()
The type name, e.g.,Objects
-> "java.util.Objects".TypedElementInfo.BuilderBase.typeName()
The type name for the element (e.g., java.util.List).TypeInfo.BuilderBase.typeName()
The type name.TypedElementInfo.BuilderBase.TypedElementInfoImpl.typeParameters()
TypedElementInfo.BuilderBase.typeParameters()
Type parameters of this element.TypeName.BuilderBase.TypeNameImpl.upperBounds()
TypeName.BuilderBase.upperBounds()
Generic types that provide keywordsuper
will have an upper bound defined.Methods in io.helidon.common.types with parameters of type TypeNameModifier and TypeMethodDescriptionTypeName.BuilderBase.addLowerBound
(TypeName lowerBound) Generic types that provide keywordextends
will have a lower bound defined.TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotation
(TypeName key, Annotation referencedTypeNamesToAnnotation) This method adds a new value to the map value, or creates a new value.TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotations
(TypeName key, List<Annotation> referencedTypeNamesToAnnotations) This method adds a new value to the map value, or creates a new value.TypeName.BuilderBase.addTypeArgument
(TypeName typeArgument) Returns the list of generic type arguments, or an empty list if no generics are in use.TypedElementInfo.BuilderBase.addTypeParameter
(TypeName typeParameter) Type parameters of this element.TypeName.BuilderBase.addUpperBound
(TypeName upperBound) Generic types that provide keywordsuper
will have an upper bound defined.default Annotation
Annotated.annotation
(TypeName annotationType) Get an annotation on this annotated type.static TypeName.Builder
Create a new fluent API builder from an existing instance.int
static Annotation
Creates an instance for an annotation with no value.static Annotation
Creates an instance for an annotation with a value.static Annotation
Creates an instance for annotation with zero or more values.static EnumValue
Create a new enum value, when the enum is not available on classpath.static ResolvedType
Create a type name from a type name.static ElementSignature
ElementSignature.createField
(TypeName type, String name) A field signature.static ElementSignature
ElementSignature.createMethod
(TypeName returnType, String name, List<TypeName> parameters) A method signature.TypeInfo.BuilderBase.declaredType
(TypeName declaredType) The declared type name, including type parameters.TypedElementInfo.BuilderBase.enclosingType
(TypeName enclosingType) The enclosing type name for this typed element.default Optional
<Annotation> Annotated.findAnnotation
(TypeName annotationType) Find an annotation on this annotated type.static <T extends Annotation>
Optional<T> Annotations.findFirst
(TypeName annoTypeName, Collection<T> coll) Attempts to find the annotation in the provided collection.Update this builder from an existing prototype instance.default boolean
Annotated.hasAnnotation
(TypeName annotationType) Check if the annotation exists on this annotated.TypeInfo.BuilderBase.putReferencedModuleName
(TypeName key, String referencedModuleName) This method adds a new value to the map, or replaces it if the key already exists.TypeInfo.BuilderBase.putReferencedTypeNamesToAnnotation
(TypeName key, List<Annotation> referencedTypeNamesToAnnotation) This method adds a new value to the map, or replaces it if the key already exists.The raw type name.The type name, e.g.,Objects
-> "java.util.Objects".The type name for the element (e.g., java.util.List).The type name.Method parameters in io.helidon.common.types with type arguments of type TypeNameModifier and TypeMethodDescriptionTypedElementInfo.BuilderBase.addComponentTypes
(List<? extends TypeName> componentTypes) Returns the component type names describing the element.TypeName.BuilderBase.addLowerBounds
(List<? extends TypeName> lowerBounds) Generic types that provide keywordextends
will have a lower bound defined.TypeInfo.BuilderBase.addReferencedModuleNames
(Map<? extends TypeName, ? extends String> referencedModuleNames) This method keeps existing values, then puts all new values into the map.TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotations
(Map<? extends TypeName, List<Annotation>> referencedTypeNamesToAnnotations) This method keeps existing values, then puts all new values into the map.TypedElementInfo.BuilderBase.addThrowsChecked
(Set<? extends TypeName> throwsChecked) TypeName.BuilderBase.addTypeArguments
(List<? extends TypeName> typeArguments) Returns the list of generic type arguments, or an empty list if no generics are in use.TypedElementInfo.BuilderBase.addTypeParameters
(List<? extends TypeName> typeParameters) Type parameters of this element.TypeName.BuilderBase.addUpperBounds
(List<? extends TypeName> upperBounds) Generic types that provide keywordsuper
will have an upper bound defined.TypedElementInfo.BuilderBase.componentTypes
(List<? extends TypeName> componentTypes) Returns the component type names describing the element.static ElementSignature
ElementSignature.createConstructor
(List<TypeName> parameters) A constructor signature.static ElementSignature
ElementSignature.createMethod
(TypeName returnType, String name, List<TypeName> parameters) A method signature.TypeInfo.BuilderBase.declaredType
(Supplier<? extends TypeName> supplier) The declared type name, including type parameters.TypeName.BuilderBase.lowerBounds
(List<? extends TypeName> lowerBounds) Generic types that provide keywordextends
will have a lower bound defined.The raw type name.TypeInfo.BuilderBase.referencedModuleNames
(Map<? extends TypeName, ? extends String> referencedModuleNames) This method replaces all values with the new ones.TypeInfo.BuilderBase.referencedTypeNamesToAnnotations
(Map<? extends TypeName, List<Annotation>> referencedTypeNamesToAnnotations) This method replaces all values with the new ones.TypedElementInfo.BuilderBase.throwsChecked
(Set<? extends TypeName> throwsChecked) TypeName.BuilderBase.typeArguments
(List<? extends TypeName> typeArguments) Returns the list of generic type arguments, or an empty list if no generics are in use.The type name, e.g.,Objects
-> "java.util.Objects".The type name for the element (e.g., java.util.List).The type name.TypedElementInfo.BuilderBase.typeParameters
(List<? extends TypeName> typeParameters) Type parameters of this element.TypeName.BuilderBase.upperBounds
(List<? extends TypeName> upperBounds) Generic types that provide keywordsuper
will have an upper bound defined. -
Uses of TypeName in io.helidon.config.metadata.codegen
Methods in io.helidon.config.metadata.codegen that return types with arguments of type TypeNameMethods in io.helidon.config.metadata.codegen with parameters of type TypeNameModifier and TypeMethodDescriptionConfigMetadataCodegenProvider.create
(CodegenContext ctx, TypeName generatorType) -
Uses of TypeName in io.helidon.integrations.langchain4j.codegen
Methods in io.helidon.integrations.langchain4j.codegen that return types with arguments of type TypeNameModifier and TypeMethodDescriptionAiServiceCodegenProvider.supportedAnnotations()
LcToolsMapperProvider.supportedAnnotations()
Methods in io.helidon.integrations.langchain4j.codegen with parameters of type TypeNameModifier and TypeMethodDescriptionAiServiceCodegenProvider.create
(CodegenContext ctx, TypeName generator) -
Uses of TypeName in io.helidon.metadata.reflection
Methods in io.helidon.metadata.reflection with parameters of type TypeName -
Uses of TypeName in io.helidon.service.codegen
Fields in io.helidon.service.codegen declared as TypeNameModifier and TypeFieldDescriptionstatic final TypeName
ServiceCodegenTypes.ANY_GENERIC_TYPE
AGenericType<?>
.static final TypeName
ServiceCodegenTypes.BUILDER_BLUEPRINT
TypeName
forio.helidon.builder.api.Prototype.Blueprint
.static final TypeName
ServiceCodegenTypes.DEPENDENCY_CARDINALITY
TypeName
forio.helidon.service.registry.DependencyCardinality
.static final TypeName
ServiceCodegenTypes.EVENT_EMITTER
TypeName
forio.helidon.service.registry.Event.Emitter
.static final TypeName
ServiceCodegenTypes.EVENT_MANAGER
TypeName
forio.helidon.service.registry.EventManager
.static final TypeName
ServiceCodegenTypes.EVENT_OBSERVER
TypeName
forio.helidon.service.registry.Event.Observer
.static final TypeName
ServiceCodegenTypes.EVENT_OBSERVER_ASYNC
TypeName
forio.helidon.service.registry.Event.AsyncObserver
.static final TypeName
ServiceCodegenTypes.GENERATED_ANNOTATION
static final TypeName
ServiceCodegenTypes.GENERIC_T_TYPE
AGenericType<T>
.static final TypeName
ServiceCodegenTypes.INTERCEPT_EXCEPTION
TypeName
forio.helidon.service.registry.InvocationException
.static final TypeName
ServiceCodegenTypes.INTERCEPT_G_WRAPPER_IP_FACTORY
TypeName
forio.helidon.service.registry.GeneratedService.IpFactoryInterceptionWrapper
.static final TypeName
ServiceCodegenTypes.INTERCEPT_G_WRAPPER_QUALIFIED_FACTORY
TypeName
forio.helidon.service.registry.GeneratedService.QualifiedFactoryInterceptionWrapper
.static final TypeName
ServiceCodegenTypes.INTERCEPT_G_WRAPPER_SERVICES_FACTORY
TypeName
forio.helidon.service.registry.GeneratedService.ServicesFactoryInterceptionWrapper
.static final TypeName
ServiceCodegenTypes.INTERCEPT_G_WRAPPER_SUPPLIER_FACTORY
TypeName
forio.helidon.service.registry.GeneratedService.SupplierFactoryInterceptionWrapper
.static final TypeName
ServiceCodegenTypes.INTERCEPT_INVOKER
TypeName
forio.helidon.service.registry.Invoker
.static final TypeName
ServiceCodegenTypes.INTERCEPT_METADATA
TypeName
forio.helidon.service.registry.InterceptionMetadata
.static final TypeName
ServiceCodegenTypes.INTERCEPTION_DELEGATE
TypeName
forio.helidon.service.registry.Interception.Delegate
.static final TypeName
ServiceCodegenTypes.INTERCEPTION_EXTERNAL_DELEGATE
TypeName
forio.helidon.service.registry.Interception.ExternalDelegates
.static final TypeName
ServiceCodegenTypes.INTERCEPTION_INTERCEPTED
TypeName
forio.helidon.service.registry.Interception.Intercepted
.static final TypeName
ServiceCodegenTypes.LIST_OF_ANNOTATIONS
A list of Qualifier.static final TypeName
ServiceCodegenTypes.LIST_OF_DEPENDENCIES
A list of Dependency.static final TypeName
ServiceCodegenTypes.LIST_OF_DOUBLES
A list of Double.static final TypeName
ServiceCodegenTypes.REGISTRY_STARTUP_PROVIDER
TypeName
forio.helidon.service.registry.RegistryStartupProvider
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_CONTRACT
TypeName
forio.helidon.service.registry.Service.Contract
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_DESCRIBE
TypeName
forio.helidon.service.registry.Service.Describe
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_DESCRIPTOR
TypeName
forio.helidon.service.registry.Service.Descriptor
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_EXTERNAL_CONTRACTS
TypeName
forio.helidon.service.registry.Service.ExternalContracts
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_GENERATE_BINDING
TypeName
forio.helidon.service.registry.Service.GenerateBinding
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_INJECT
TypeName
forio.helidon.service.registry.Service.Inject
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_NAMED
TypeName
forio.helidon.service.registry.Service.Named
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_NAMED_BY_TYPE
TypeName
forio.helidon.service.registry.Service.NamedByType
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_PER_INSTANCE
TypeName
forio.helidon.service.registry.Service.PerInstance
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_PER_LOOKUP
TypeName
forio.helidon.service.registry.Service.Singleton
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_POST_CONSTRUCT
TypeName
forio.helidon.service.registry.Service.PostConstruct
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_PRE_DESTROY
TypeName
forio.helidon.service.registry.Service.PreDestroy
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_PROVIDER
TypeName
forio.helidon.service.registry.Service.Provider
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_QUALIFIER
TypeName
forio.helidon.service.registry.Service.Qualifier
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_RUN_LEVEL
TypeName
forio.helidon.service.registry.Service.RunLevel
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_SCOPE
TypeName
forio.helidon.service.registry.Service.Scope
.static final TypeName
ServiceCodegenTypes.SERVICE_ANNOTATION_SINGLETON
TypeName
forio.helidon.service.registry.Service.Singleton
.static final TypeName
ServiceCodegenTypes.SERVICE_BINDING
TypeName
forio.helidon.service.registry.Binding
.static final TypeName
ServiceCodegenTypes.SERVICE_BINDING_EMPTY
TypeName
forio.helidon.service.registry.EmptyBinding
.static final TypeName
ServiceCodegenTypes.SERVICE_CONFIG
TypeName
forio.helidon.service.registry.ServiceRegistryConfig
.static final TypeName
ServiceCodegenTypes.SERVICE_CONFIG_BUILDER
TypeName
forio.helidon.service.registry.ServiceRegistryConfig.Builder
.static final TypeName
ServiceCodegenTypes.SERVICE_DEPENDENCY
TypeName
forio.helidon.service.registry.Dependency
.static final TypeName
ServiceCodegenTypes.SERVICE_DEPENDENCY_CONTEXT
TypeName
forio.helidon.service.registry.DependencyContext
.static final TypeName
ServiceCodegenTypes.SERVICE_DESCRIPTOR
TypeName
forio.helidon.service.registry.ServiceDescriptor
.static final TypeName
ServiceCodegenTypes.SERVICE_FACTORY_TYPE
TypeName
forio.helidon.service.registry.FactoryType
.static final TypeName
ServiceCodegenTypes.SERVICE_G_DEPENDENCY_SUPPORT
TypeName
for"io.helidon.service.registry.GeneratedService.DependencySupport"
.static final TypeName
ServiceCodegenTypes.SERVICE_G_EVENT_OBSERVER_REGISTRATION
TypeName
forio.helidon.service.registry.GeneratedService.EventObserverRegistration
.static final TypeName
ServiceCodegenTypes.SERVICE_G_PER_INSTANCE_DESCRIPTOR
TypeName
forio.helidon.service.registry.GeneratedService.PerInstanceDescriptor
.static final TypeName
ServiceCodegenTypes.SERVICE_G_QUALIFIED_FACTORY_DESCRIPTOR
TypeName
forio.helidon.service.registry.GeneratedService.QualifiedFactoryDescriptor
.static final TypeName
ServiceCodegenTypes.SERVICE_G_SCOPE_HANDLER_DESCRIPTOR
TypeName
forio.helidon.service.registry.GeneratedService.ScopeHandlerDescriptor
.static final TypeName
ServiceCodegenTypes.SERVICE_INJECTION_POINT_FACTORY
TypeName
forio.helidon.service.registry.Service.InjectionPointFactory
.static final TypeName
ServiceCodegenTypes.SERVICE_LOADER_DESCRIPTOR
TypeName
forio.helidon.service.registry.DependencyCardinality
.static final TypeName
ServiceCodegenTypes.SERVICE_LOOKUP
TypeName
forio.helidon.service.registry.Lookup
.static final TypeName
ServiceCodegenTypes.SERVICE_PLAN_BINDER
TypeName
forio.helidon.service.registry.DependencyPlanBinder
.static final TypeName
ServiceCodegenTypes.SERVICE_QUALIFIED_FACTORY
TypeName
forio.helidon.service.registry.Service.QualifiedFactory
.static final TypeName
ServiceCodegenTypes.SERVICE_QUALIFIED_INSTANCE
TypeName
forio.helidon.service.registry.Service.QualifiedInstance
.static final TypeName
ServiceCodegenTypes.SERVICE_QUALIFIER
TypeName
forio.helidon.service.registry.Qualifier
.static final TypeName
ServiceCodegenTypes.SERVICE_REGISTRY
TypeName
forio.helidon.service.registry.ServiceRegistry
.static final TypeName
ServiceCodegenTypes.SERVICE_REGISTRY_MANAGER
TypeName
forio.helidon.service.registry.ServiceRegistryManager
.static final TypeName
ServiceCodegenTypes.SERVICE_SCOPE_HANDLER
TypeName
forio.helidon.service.registry.Service.ScopeHandler
.static final TypeName
ServiceCodegenTypes.SERVICE_SERVICE_INSTANCE
TypeName
forio.helidon.service.registry.ServiceInstance
.static final TypeName
ServiceCodegenTypes.SERVICE_SERVICES_FACTORY
TypeName
forio.helidon.service.registry.Service.ServiceFactory
.static final TypeName
ServiceCodegenTypes.SET_OF_QUALIFIERS
A Set of Qualifier.static final TypeName
ServiceCodegenTypes.SET_OF_RESOLVED_TYPES
A set of ResolvedType.static final TypeName
ServiceCodegenTypes.SET_OF_STRINGS
A set of String.Fields in io.helidon.service.codegen with type parameters of type TypeNameModifier and TypeFieldDescriptionServiceOptions.NON_CONTRACT_TYPES
A set of interface/class types that should not be considered contracts, even if implemented by a service.ServiceOptions.SCOPE_META_ANNOTATIONS
Additional meta annotations that mark scope annotations.Methods in io.helidon.service.codegen that return TypeNameModifier and TypeMethodDescriptionRegistryCodegenContext.descriptorType
(TypeName serviceType) Create a descriptor type for a service.ServiceSuperType.descriptorType()
Type name of the service descriptor of the super service type.ServiceContracts.FactoryAnalysis.factoryType()
Type of the factory interface with type arguments (such asSupplier×String>
, guard access byServiceContracts.FactoryAnalysis.valid()
).ServiceContracts.FactoryAnalysis.providedType()
The contract provided (guard access byServiceContracts.FactoryAnalysis.valid()
).static TypeName
ServiceContracts.requiredTypeArgument
(TypeInfo typeInfo, int index) Get the desired type parameter of the type info provided.Methods in io.helidon.service.codegen that return types with arguments of type TypeNameModifier and TypeMethodDescriptionEventObserverExtensionProvider.supportedAnnotations()
MapNamedByTypeMapperProvider.supportedAnnotations()
ServiceBindingCodegenProvider.supportedAnnotations()
ServiceExtensionProvider.supportedAnnotations()
ServiceRegistryCodegenProvider.supportedAnnotations()
ServiceExtensionProvider.supportedMetaAnnotations()
ServiceRegistryCodegenProvider.supportedMetaAnnotations()
Methods in io.helidon.service.codegen with parameters of type TypeNameModifier and TypeMethodDescriptionvoid
RegistryRoundContext.addDescriptor
(TypeName serviceType, TypeName descriptorType, ClassModel.Builder descriptor, double weight, Set<ResolvedType> contracts, Set<ResolvedType> factoryContracts, Object... originatingElements) Add a new service descriptor.ServiceContracts.analyseFactory
(TypeName factoryInterface) Analyse the service info if it is in fact a factory of the expected type.ServiceBindingCodegenProvider.create
(CodegenContext ctx, TypeName generatorType) ServiceContracts.FactoryAnalysis.create
(TypeName factoryType, TypeName providedType, TypeInfo providedTypeInfo, Set<ResolvedType> providedContracts) The requested factory interface is implemented and provides one or more contracts.ServiceRegistryCodegenProvider.create
(CodegenContext ctx, TypeName generatorType) static ServiceSuperType
Create a registry based super type.RegistryCodegenContext.descriptorType
(TypeName serviceType) Create a descriptor type for a service.boolean
ServiceContracts.isEligible
(TypeName contractType) Check if a type is eligible to be a contract.void
ServiceDescriptorCodegen.service
(TypeName generator, RegistryRoundContext roundCtx, Collection<TypeInfo> services, TypeInfo typeInfo) Describe a service type.Method parameters in io.helidon.service.codegen with type arguments of type TypeNameModifier and TypeMethodDescriptionstatic ServiceContracts
ServiceContracts.create
(CodegenOptions options, Function<TypeName, Optional<TypeInfo>> typeInfoFactory, TypeInfo serviceInfo) Create new eligible contracts. -
Uses of TypeName in io.helidon.service.codegen.spi
Methods in io.helidon.service.codegen.spi that return TypeNameModifier and TypeMethodDescriptionInjectAssignment.Assignment.usedType()
Type to use as the dependency type using only Helidon supported types (i.e.Methods in io.helidon.service.codegen.spi with parameters of type TypeNameModifier and TypeMethodDescriptionInjectAssignment.assignment
(TypeName typeName, String valueSource) Map the type to the correct one.static InjectAssignment.Assignment
InjectAssignment.Assignment.create
(TypeName usedType, Consumer<ContentBuilder<?>> codeGenerator) Create a new assignment instance. -
Uses of TypeName in io.helidon.service.metadata
Methods in io.helidon.service.metadata that return TypeNameMethods in io.helidon.service.metadata with parameters of type TypeNameModifier and TypeMethodDescriptionstatic DescriptorMetadata
DescriptorMetadata.create
(TypeName descriptor, double weight, Set<ResolvedType> contracts, Set<ResolvedType> factoryContracts) Create a new instance from descriptor information, i.e. -
Uses of TypeName in io.helidon.service.registry
Fields in io.helidon.service.registry declared as TypeNameModifier and TypeFieldDescriptionstatic final TypeName
Binding.TYPE
Type name of this interface.static final TypeName
Scopes.TYPE
Type name of this interface.static final TypeName
Service.Descriptor.TYPE
Type name of this interface.static final TypeName
Service.InjectionPointFactory.TYPE
Type name of this interface.static final TypeName
Service.InstanceName.TYPE
Type name of this interface.static final TypeName
Service.Named.TYPE
Type name of this annotation.static final TypeName
Service.NamedByType.TYPE
Type name of this interface.static final TypeName
Service.PerLookup.TYPE
Type name of this interface.static final TypeName
Service.PerRequest.TYPE
This interface type.static final TypeName
Service.Provider.TYPE
Deprecated, for removal: This API element is subject to removal in a future version.Type name of this annotation.static final TypeName
Service.QualifiedFactory.TYPE
Type name of this interface.static final TypeName
Service.ScopeHandler.TYPE
Type name of this interface.static final TypeName
Service.ServicesFactory.TYPE
Type name of this interface.static final TypeName
Service.Singleton.TYPE
Type name of this annotation.static final TypeName
ServiceInstance.TYPE
Type name of this interface.static final TypeName
ServiceRegistry.TYPE
Type name of this interface.Methods in io.helidon.service.registry that return TypeNameModifier and TypeMethodDescriptionDependency.BuilderBase.DependencyImpl.contract()
GeneratedService.PerInstanceDescriptor.createFor()
Service instances may be created for instances of another service.Dependency.BuilderBase.DependencyImpl.descriptor()
ExistingInstanceDescriptor.descriptorType()
ServiceInfo.descriptorType()
Type of the service descriptor (usually generated).VirtualDescriptor.descriptorType()
GeneratedService.ScopeHandlerDescriptor.handledScope()
Scope handled by the scope handler service.default TypeName
ServiceInfo.providedType()
The type that implementsServiceInfo.contracts()
.GeneratedService.QualifiedFactoryDescriptor.qualifierType()
Type of qualifier aService.QualifiedFactory
provides.ScopeNotActiveException.scope()
Scope that was not active.default TypeName
ServiceDescriptor.scope()
Scope of this service.ServiceInfo.scope()
Scope of this service.ServiceInstance.scope()
Scope this instance was created in.Dependency.BuilderBase.DependencyImpl.service()
ExistingInstanceDescriptor.serviceType()
ServiceInfo.serviceType()
Type of the service this descriptor describes.ServiceInstance.serviceType()
Service type responsible for creating this value, inherited fromServiceInfo.serviceType()
.VirtualDescriptor.serviceType()
Dependency.BuilderBase.DependencyImpl.typeName()
Methods in io.helidon.service.registry that return types with arguments of type TypeNameModifier and TypeMethodDescriptionDependency.BuilderBase.contract()
Each dependency ia a specific contract.Dependency.BuilderBase.descriptor()
Descriptor declaring this dependency.Lookup.BuilderBase.LookupImpl.scopes()
Lookup.BuilderBase.scopes()
The managed service assigned Scope.Dependency.BuilderBase.service()
Type name of the service that uses this dependency.Lookup.BuilderBase.LookupImpl.serviceType()
Lookup.BuilderBase.serviceType()
The managed service implementation type name.Dependency.BuilderBase.typeName()
Type of the dependency (exact parameter type with all generics).Methods in io.helidon.service.registry with parameters of type TypeNameModifier and TypeMethodDescriptionLookup.BuilderBase.addContract
(TypeName contract) The managed services advertised types (i.e., typically its interfaces).The managed service assigned Scope.<T> List
<T> Get all service instances matching the contract with the expectation that there may not be a match available.static <T> List
<T> Get all instances of the contract.ServiceRegistry.allServices
(TypeName contract) Get all services for a specific contract.Each dependency ia a specific contract.static Lookup
Create service lookup from a contract type.static Qualifier
Creates a qualifier from an annotation.static Qualifier
Creates a qualifier with a value from an annotation.Scopes.createScope
(TypeName scope, String id, Map<ServiceDescriptor<?>, Object> initialBindings) Create a registry managed scope.Dependency.BuilderBase.descriptor
(TypeName descriptor) Descriptor declaring this dependency.<T> Optional
<T> Get the first service instance matching the contract with the expectation that there may not be a match available.static <T> Optional
<T> Get first instance of the contract from the registry, all an empty optional if none exist.<T> T
Get the first service instance matching the contract with the expectation that there is a match available.static <T> T
Get the first instance of the contract, expecting the contract is available.ServiceRegistryConfig.BuilderBase.putContractInstance
(TypeName contract, Object instance) Put an instance of a contract.Type name of the service that uses this dependency.static <T> Optional
<T> RegistryBuilderSupport.service
(Optional<ServiceRegistry> registry, TypeName contract, Optional<T> existingValue, boolean useRegistry) Get the first service from the registry if not configured in the builder.static <T> List
<T> RegistryBuilderSupport.serviceList
(Optional<ServiceRegistry> registry, TypeName contract, boolean useRegistry) Discover services from the registry.static <T> Set
<T> RegistryBuilderSupport.serviceSet
(Optional<ServiceRegistry> registry, TypeName contract, boolean useRegistry) Discover services from the registry.Lookup.BuilderBase.serviceType
(TypeName serviceType) The managed service implementation type name.<T> Supplier
<T> Get the first service supplier matching the contract with the expectation that there is a match available.Lookup a supplier of a list of instances of the requested contract, with the expectation that there may not be a match available.ServiceRegistry.supplyFirst
(TypeName contract) Get the first service supplier matching the contract with the expectation that there may not be a match available.Type of the dependency (exact parameter type with all generics).Method parameters in io.helidon.service.registry with type arguments of type TypeNameModifier and TypeMethodDescriptionThe managed service assigned Scope.Each dependency ia a specific contract.Dependency.BuilderBase.descriptor
(Supplier<? extends TypeName> supplier) Descriptor declaring this dependency.The managed service assigned Scope.Type name of the service that uses this dependency.Type of the dependency (exact parameter type with all generics).Constructors in io.helidon.service.registry with parameters of type TypeNameModifierConstructorDescriptionScopeNotActiveException
(String msg, TypeName scope) Create a new exception with a description and scope this exception is created for.