Uses of Interface
io.helidon.common.types.TypeInfo
Packages that use TypeInfo
Package
Description
Code generation and processing support.
Implementation of codegen tools for Java annotation processing.
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.
Code generation for Helidon Service Registry.
SPI for extending code generation capabilities of Helidon Service Registry.
-
Uses of TypeInfo in io.helidon.codegen
Methods in io.helidon.codegen that return types with arguments of type TypeInfoModifier and TypeMethodDescriptionRoundContext.annotatedTypes
(TypeName annotationType) All types annotated with a specific annotation (including types that inherit such annotation from super types or through interfaces).TypeInfoFactoryBase.mapType
(CodegenContext ctx, TypeInfo type) Map a type using context type mappers.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.RoundContext.types()
All types that are processed in this round.Methods in io.helidon.codegen with parameters of type TypeInfoModifier and TypeMethodDescriptionstatic List
<Annotation> TypeHierarchy.hierarchyAnnotations
(CodegenContext ctx, TypeInfo type) Find all annotations on the whole type hierarchy.static List
<Annotation> TypeHierarchy.hierarchyAnnotations
(CodegenContext ctx, TypeInfo type, TypedElementInfo element) Find all annotations on the whole type hierarchy.static List
<Annotation> TypeHierarchy.hierarchyAnnotations
(CodegenContext ctx, TypeInfo type, TypedElementInfo executable, TypedElementInfo parameter, int parameterIndex) Annotations of a parameter, taken from the full inheritance hierarchy (super type(s), interface(s).TypeInfoFactoryBase.mapType
(CodegenContext ctx, TypeInfo type) Map a type using context type mappers.TypeHierarchy.nestedAnnotations
(CodegenContext ctx, TypeInfo typeInfo) Annotations on thetypeInfo
, it's methods, and method parameters.CodegenContext.uniqueName
(TypeInfo type, TypedElementInfo element) Get the unique name for the element within the provided type.CodegenContextBase.uniqueName
(TypeInfo type, TypedElementInfo element) CodegenContextDelegate.uniqueName
(TypeInfo type, TypedElementInfo element) Method parameters in io.helidon.codegen with type arguments of type TypeInfo -
Uses of TypeInfo in io.helidon.codegen.apt
Methods in io.helidon.codegen.apt that return types with arguments of type TypeInfoModifier 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.AptTypeInfoFactory.create
(AptContext ctx, TypeElement typeElement) Deprecated, for removal: This API element is subject to removal in a future version.AptTypeInfoFactory.create
(AptContext ctx, TypeElement typeElement, Predicate<TypedElementInfo> elementPredicate) Deprecated, for removal: This API element is subject to removal in a future version.Create type information from a type element.Method parameters in io.helidon.codegen.apt with type arguments of type TypeInfoModifier 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. -
Uses of TypeInfo in io.helidon.codegen.scan
Methods in io.helidon.codegen.scan that return types with arguments of type TypeInfoModifier and TypeMethodDescriptionScanTypeInfoFactory.create
(ScanContext ctx, io.github.classgraph.ClassInfo classInfo) Create type information from a type element, reading all child elements.ScanTypeInfoFactory.create
(ScanContext ctx, io.github.classgraph.ClassInfo classInfo, Predicate<TypedElementInfo> elementPredicate) Create type information from a type element.ScanTypeInfoFactory.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 TypeInfo in io.helidon.codegen.spi
Methods in io.helidon.codegen.spi that return types with arguments of type TypeInfoModifier and TypeMethodDescriptionTypeMapper.map
(CodegenContext ctx, TypeInfo typeInfo) Map the original type to a different type, or remove it from processing.Methods in io.helidon.codegen.spi with parameters of type TypeInfoModifier and TypeMethodDescriptionTypeMapper.map
(CodegenContext ctx, TypeInfo typeInfo) Map the original type to a different type, or remove it from processing.boolean
TypeMapper.supportsType
(TypeInfo type) Check if the type is supported. -
Uses of TypeInfo in io.helidon.common.types
Classes in io.helidon.common.types with type parameters of type TypeInfoModifier and TypeClassDescriptionstatic class
TypeInfo.BuilderBase<BUILDER extends TypeInfo.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TypeInfo> Fluent API builder base forTypeInfo
.Classes in io.helidon.common.types that implement TypeInfoModifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Methods in io.helidon.common.types that return TypeInfoMethods in io.helidon.common.types that return types with arguments of type TypeInfoModifier and TypeMethodDescriptionTypeInfo.BuilderBase.interfaceTypeInfo()
The interface classes for this type info.TypeInfo.BuilderBase.TypeInfoImpl.interfaceTypeInfo()
TypeInfo.BuilderBase.superTypeInfo()
The parent/super class for this type info.TypeInfo.BuilderBase.TypeInfoImpl.superTypeInfo()
Methods in io.helidon.common.types with parameters of type TypeInfoModifier and TypeMethodDescriptionTypeInfo.BuilderBase.addInterfaceTypeInfo
(TypeInfo interfaceTypeInfo) The interface classes for this type info.static TypeInfo.Builder
Create a new fluent API builder from an existing instance.Update this builder from an existing prototype instance.TypeInfo.BuilderBase.superTypeInfo
(TypeInfo superTypeInfo) The parent/super class for this type info.Method parameters in io.helidon.common.types with type arguments of type TypeInfoModifier and TypeMethodDescriptionTypeInfo.BuilderBase.addInterfaceTypeInfo
(List<? extends TypeInfo> interfaceTypeInfo) The interface classes for this type info.TypeInfo.BuilderBase.interfaceTypeInfo
(List<? extends TypeInfo> interfaceTypeInfo) The interface classes for this type info. -
Uses of TypeInfo in io.helidon.service.codegen
Methods in io.helidon.service.codegen that return TypeInfoModifier and TypeMethodDescriptionServiceContracts.FactoryAnalysis.providedTypeInfo()
Type info of the provided type.ServiceSuperType.typeInfo()
Type information of the super service type of this service.Methods in io.helidon.service.codegen with parameters of type TypeInfoModifier and TypeMethodDescriptionvoid
ServiceContracts.addContracts
(Set<ResolvedType> contractSet, HashSet<ResolvedType> processed, TypeInfo typeInfo) Add contracts from the type (from its implemented interfaces and super types).static ServiceContracts
ServiceContracts.create
(CodegenOptions options, Function<TypeName, Optional<TypeInfo>> typeInfoFactory, TypeInfo serviceInfo) Create new eligible contracts.ServiceContracts.FactoryAnalysis.create
(TypeName factoryType, TypeName providedType, TypeInfo providedTypeInfo, Set<ResolvedType> providedContracts) The requested factory interface is implemented and provides one or more contracts.static ServiceSuperType
Create a registry based super type.boolean
ServiceContracts.isEligible
(TypeInfo contractInfo) Check if a type info is eligible to be a contract.static TypeName
ServiceContracts.requiredTypeArgument
(TypeInfo typeInfo, int index) Get the desired type parameter of the type info provided.void
ServiceDescriptorCodegen.service
(TypeName generator, RegistryRoundContext roundCtx, Collection<TypeInfo> services, TypeInfo typeInfo) Describe a service type.RegistryRoundContext.serviceContracts
(TypeInfo serviceInfo) Create service contracts for the provided service that honor configuration of contract discovery.Method parameters in io.helidon.service.codegen with type arguments of type TypeInfoModifier and TypeMethodDescriptionstatic ServiceContracts
ServiceContracts.create
(CodegenOptions options, Function<TypeName, Optional<TypeInfo>> typeInfoFactory, TypeInfo serviceInfo) Create new eligible contracts.void
ServiceDescriptorCodegen.service
(TypeName generator, RegistryRoundContext roundCtx, Collection<TypeInfo> services, TypeInfo typeInfo) Describe a service type. -
Uses of TypeInfo in io.helidon.service.codegen.spi
Methods in io.helidon.service.codegen.spi with parameters of type TypeInfoModifier and TypeMethodDescriptiondefault void
InjectCodegenObserver.onInjectionPoint
(RegistryRoundContext roundContext, TypeInfo service, TypedElementInfo element, TypedElementInfo argument) Called for each injection point.
helidon-codegen
APIs, such asCodegenContext.typeInfo(io.helidon.common.types.TypeName)