Uses of Interface
io.helidon.common.types.TypedElementInfo
Packages that use TypedElementInfo
Package
Description
Code generation and processing support.
Implementation of codegen tools for Java annotation processing.
Class model generator for annotation processors.
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.
Common code processing and generation.
Service provider interface for code processing and generation.
HTTP Rest related code generation.
HTTP Rest model.
Reflection support to obtain instances of common types, and to synthesize instances of annotations from
Annotation.SPI for extending code generation capabilities of Helidon 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).Helidon WebServer HTTP specific APIs.
-
Uses of TypedElementInfo in io.helidon.codegen
Fields in io.helidon.codegen with type parameters of type TypedElementInfoModifier and TypeFieldDescriptionstatic final Predicate<TypedElementInfo> ElementInfoPredicates.ALL_PREDICATEA predicate that accepts all.Methods in io.helidon.codegen that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionRoundContext.annotatedElements(TypeName annotationType) All elements annotated with a specific annotation.static Predicate<TypedElementInfo> ElementInfoPredicates.elementName(String name) Predicate for element name (such as method name, or field name).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).static Predicate<TypedElementInfo> Predicate for element with the specified parameters types (suitable for methods).protected static Optional<TypedElementInfo> TypeInfoFactoryBase.mapElement(CodegenContext ctx, TypedElementInfo element) Map an element using context type mappers.Methods in io.helidon.codegen with parameters of type TypedElementInfoModifier and TypeMethodDescriptionstatic booleanElementInfoPredicates.hasNoArgs(TypedElementInfo element) Predicate for element with no arguments (suitable for methods).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).static booleanElementInfoPredicates.isAbstract(TypedElementInfo element) Predicate for abstract modifier.static booleanElementInfoPredicates.isConstructor(TypedElementInfo element) Predicate for constructor element kind.static booleanElementInfoPredicates.isDefault(TypedElementInfo element) Predicate for default modifier (default methods on interfaces).static booleanElementInfoPredicates.isField(TypedElementInfo element) Predicate for field element kind.static booleanElementInfoPredicates.isMethod(TypedElementInfo element) Predicate for method element kind.static booleanElementInfoPredicates.isPrivate(TypedElementInfo element) Predicate for private modifier.static booleanElementInfoPredicates.isPublic(TypedElementInfo element) Predicate for public modifier.static booleanElementInfoPredicates.isStatic(TypedElementInfo element) Predicate for static modifier.static booleanElementInfoPredicates.isVoid(TypedElementInfo element) Predicate for void methods.protected static Optional<TypedElementInfo> TypeInfoFactoryBase.mapElement(CodegenContext ctx, TypedElementInfo element) Map an element using context type mappers.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) static StringCodegenValidator.validateDuration(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate a duration annotation on a method, field, or constructor.static StringCodegenValidator.validateSize(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate aSizeannotation on a method, field, or constructor.static StringCodegenValidator.validateUri(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate a URI value in an annotation.Method parameters in io.helidon.codegen with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionCodegenContext.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) -
Uses of TypedElementInfo in io.helidon.codegen.apt
Methods in io.helidon.codegen.apt that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionstatic 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 aTypedElementInfogiven its type and variable element from annotation processing.static Optional<TypedElementInfo> AptTypeInfoFactory.createTypedElementInfoFromElement(AptContext ctx, TypeName processedType, Element v, Elements elements, boolean varargType) Deprecated, for removal: This API element is subject to removal in a future version.Creates an instance of aTypedElementInfogiven its type and variable element from annotation processing.static Optional<TypedElementInfo> AptTypeInfoFactory.createTypedElementInfoFromElement(AptContext ctx, Element v, Elements elements) Deprecated, for removal: This API element is subject to removal in a future version.Method parameters in io.helidon.codegen.apt with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionAptTypeInfoFactory.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, Predicate<TypedElementInfo> elementPredicate) Deprecated, for removal: This API element is subject to removal in a future version.Create type information from a type element. -
Uses of TypedElementInfo in io.helidon.codegen.classmodel
Methods in io.helidon.codegen.classmodel with parameters of type TypedElementInfoModifier and TypeMethodDescriptiondefault TContentBuilder.addContentCreate(TypedElementInfo element) Add content that creates a newTypedElementInfoin the generated code that is the same as the element provided. -
Uses of TypedElementInfo in io.helidon.codegen.scan
Method parameters in io.helidon.codegen.scan with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionScanTypeInfoFactory.create(ScanContext ctx, io.github.classgraph.ClassInfo classInfo, Predicate<TypedElementInfo> elementPredicate) Create type information from a type element.ScanTypeInfoFactory.create(ScanContext ctx, TypeName typeName, Predicate<TypedElementInfo> elementPredicate) Create type information for a type name. -
Uses of TypedElementInfo in io.helidon.codegen.spi
Methods in io.helidon.codegen.spi that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionElementMapper.mapElement(CodegenContext ctx, TypedElementInfo element) Map an element to a different element (changing any of its properties), or remove the element.Methods in io.helidon.codegen.spi with parameters of type TypedElementInfoModifier and TypeMethodDescriptionElementMapper.mapElement(CodegenContext ctx, TypedElementInfo element) Map an element to a different element (changing any of its properties), or remove the element.booleanElementMapper.supportsElement(TypedElementInfo element) Check if the element is supported. -
Uses of TypedElementInfo in io.helidon.common.types
Classes in io.helidon.common.types with type parameters of type TypedElementInfoModifier and TypeClassDescriptionstatic classTypedElementInfo.BuilderBase<BUILDER extends TypedElementInfo.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TypedElementInfo> Fluent API builder base forTypedElementInfo.Classes in io.helidon.common.types that implement TypedElementInfoModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Methods in io.helidon.common.types that return TypedElementInfoModifier and TypeMethodDescriptionTypedElementInfo.Builder.build()TypedElementInfo.Builder.buildPrototype()Methods in io.helidon.common.types that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionTypeInfo.BuilderBase.elementInfo()The elements that make up the type that are relevant for processing.TypeInfo.BuilderBase.TypeInfoImpl.elementInfo()TypeInfo.BuilderBase.otherElementInfo()The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.TypeInfo.BuilderBase.TypeInfoImpl.otherElementInfo()TypedElementInfo.BuilderBase.parameterArguments()Parameter arguments applicable if this type element represents aElementKind.METHOD.TypedElementInfo.BuilderBase.TypedElementInfoImpl.parameterArguments()Methods in io.helidon.common.types with parameters of type TypedElementInfoModifier and TypeMethodDescriptionTypeInfo.BuilderBase.addElementInfo(TypedElementInfo elementInfo) The elements that make up the type that are relevant for processing.TypeInfo.BuilderBase.addOtherElementInfo(TypedElementInfo otherElementInfo) The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.TypedElementInfo.BuilderBase.addParameterArgument(TypedElementInfo parameterArgument) Parameter arguments applicable if this type element represents aElementKind.METHOD.static TypedElementInfo.BuilderTypedElementInfo.builder(TypedElementInfo instance) Create a new fluent API builder from an existing instance.TypedElementInfo.BuilderBase.from(TypedElementInfo prototype) Update this builder from an existing prototype instance.Method parameters in io.helidon.common.types with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionTypeInfo.BuilderBase.addElementInfo(List<? extends TypedElementInfo> elementInfo) The elements that make up the type that are relevant for processing.TypeInfo.BuilderBase.addOtherElementInfo(List<? extends TypedElementInfo> otherElementInfo) The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.TypedElementInfo.BuilderBase.addParameterArguments(List<? extends TypedElementInfo> parameterArguments) Parameter arguments applicable if this type element represents aElementKind.METHOD.TypeInfo.BuilderBase.elementInfo(List<? extends TypedElementInfo> elementInfo) The elements that make up the type that are relevant for processing.TypeInfo.BuilderBase.otherElementInfo(List<? extends TypedElementInfo> otherElementInfo) The elements that make up this type that are considered "other", or being skipped because they are irrelevant to processing.TypedElementInfo.BuilderBase.parameterArguments(List<? extends TypedElementInfo> parameterArguments) Parameter arguments applicable if this type element represents aElementKind.METHOD. -
Uses of TypedElementInfo in io.helidon.data.codegen.common
Methods in io.helidon.data.codegen.common that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionMethodParams.BuilderBase.MethodParamsImpl.order()MethodParams.BuilderBase.order()Query result ordering parameter.MethodParams.order()Query result ordering parameter.MethodParams.BuilderBase.MethodParamsImpl.pageRequest()MethodParams.BuilderBase.pageRequest()Pageable query result parameter.MethodParams.pageRequest()Pageable query result parameter.MethodParams.BuilderBase.MethodParamsImpl.parameters()MethodParams.BuilderBase.parameters()List of common method parameters to be added to method prototype.MethodParams.parameters()List of common method parameters to be added to method prototype.Methods in io.helidon.data.codegen.common with parameters of type TypedElementInfoModifier and TypeMethodDescriptionMethodParams.BuilderBase.addParameter(TypedElementInfo parameter) List of common method parameters to be added to method prototype.protected MethodParamsBaseRepositoryMethodsGenerator.generateHeader(Method.Builder builder, TypedElementInfo methodInfo) Generate method header matching interface prototype and return method parameters.protected static TypeNameBaseRepositoryMethodsGenerator.genericReturnTypeArgument(TypedElementInfo methodInfo) protected voidBaseRepositoryInterfaceGenerator.methodWarning(TypedElementInfo methodInfo, String message) Log method generation warning.MethodParams.BuilderBase.order(TypedElementInfo order) Query result ordering parameter.MethodParams.BuilderBase.pageRequest(TypedElementInfo pageRequest) Pageable query result parameter.protected static StringBaseRepositoryMethodsGenerator.paramElementName(TypedElementInfo param) Retrieve name of the method parameter from providedTypedElementInfoparam.protected abstract voidBaseRepositoryMethodsGenerator.processParam(MethodParams.Builder builder, TypedElementInfo paramInfo) Process method parameter.Method parameters in io.helidon.data.codegen.common with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionMethodParams.BuilderBase.addParameters(List<? extends TypedElementInfo> parameters) List of common method parameters to be added to method prototype.MethodParams.BuilderBase.parameters(List<? extends TypedElementInfo> parameters) List of common method parameters to be added to method prototype. -
Uses of TypedElementInfo in io.helidon.data.codegen.common.spi
Methods in io.helidon.data.codegen.common.spi with parameters of type TypedElementInfoModifier and TypeMethodDescriptionvoidPersistenceGenerator.StatementGenerator.addDynamicDml(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, TypeName returnType) Add code to execute dynamic DML statement.PersistenceGenerator.StatementGenerator.addDynamicPageQueries(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, String dataQueryStatement, String countQueryStatement, TypeName returnType) Add code to create dynamic queries forPage.PersistenceGenerator.StatementGenerator.addDynamicSliceQuery(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, String dataQueryStatement, TypeName returnType) Add code to create dynamic query forSlice.voidPersistenceGenerator.StatementGenerator.addExecuteDynamicQueryItem(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, TypeName returnType) Add code to execute query and return singlereturnTypeinstance.voidPersistenceGenerator.StatementGenerator.addExecuteDynamicQueryItemOrNull(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, TypeName returnType) Add code to execute query and return singlereturnTypeinstance ornull.voidPersistenceGenerator.StatementGenerator.addExecuteDynamicQueryList(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, TypeName returnType) Add code to execute dynamic query and returnListofreturnTypeinstances.voidPersistenceGenerator.StatementGenerator.addExecuteDynamicQueryStream(Method.Builder builder, RepositoryInfo repositoryInfo, TypedElementInfo methodInfo, MethodParams methodParams, DataQuery dataQuery, TypeName returnType) Add code to execute dynamic query and returnStreamofreturnTypeinstances. -
Uses of TypedElementInfo in io.helidon.declarative.codegen.http
Methods in io.helidon.declarative.codegen.http with parameters of type TypedElementInfoModifier and TypeMethodDescriptionprotected HttpMethodRestExtensionBase.httpMethodFromAnnotation(TypedElementInfo element, Annotation httpMethodAnnotation) Extract HTTP Method from its annotation. -
Uses of TypedElementInfo in io.helidon.declarative.codegen.model.http
Methods in io.helidon.declarative.codegen.model.http that return TypedElementInfoModifier and TypeMethodDescriptionRestMethod.BuilderBase.RestMethodImpl.method()RestMethod.method()Method element info.RestMethodParameter.BuilderBase.RestMethodParameterImpl.method()RestMethodParameter.method()Owning method.RestMethodParameter.BuilderBase.RestMethodParameterImpl.parameter()RestMethodParameter.parameter()Parameter info.Methods in io.helidon.declarative.codegen.model.http that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionRestMethod.BuilderBase.method()Method element info.RestMethodParameter.BuilderBase.method()Owning method.RestMethodParameter.BuilderBase.parameter()Parameter info.Methods in io.helidon.declarative.codegen.model.http with parameters of type TypedElementInfoModifier and TypeMethodDescriptionRestMethod.BuilderBase.method(TypedElementInfo method) Method element info.RestMethodParameter.BuilderBase.method(TypedElementInfo method) Owning method.RestMethodParameter.BuilderBase.parameter(TypedElementInfo parameter) Parameter info.Method parameters in io.helidon.declarative.codegen.model.http with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionRestMethod.BuilderBase.method(Supplier<? extends TypedElementInfo> supplier) Method element info.RestMethodParameter.BuilderBase.method(Supplier<? extends TypedElementInfo> supplier) Owning method.RestMethodParameter.BuilderBase.parameter(Supplier<? extends TypedElementInfo> supplier) Parameter info. -
Uses of TypedElementInfo in io.helidon.metadata.reflection
Methods in io.helidon.metadata.reflection that return TypedElementInfoModifier and TypeMethodDescriptionstatic TypedElementInfoCreate an element info from a field.static TypedElementInfoCreate an element info from method.static TypedElementInfoCreate an element info from parameter. -
Uses of TypedElementInfo in io.helidon.service.codegen.spi
Methods in io.helidon.service.codegen.spi with parameters of type TypedElementInfoModifier and TypeMethodDescriptiondefault voidInjectCodegenObserver.onInjectionPoint(RegistryRoundContext roundContext, TypeInfo service, TypedElementInfo element, TypedElementInfo argument) Called for each injection point.Method parameters in io.helidon.service.codegen.spi with type arguments of type TypedElementInfoModifier and TypeMethodDescriptiondefault voidInjectCodegenObserver.onProcessingEvent(RegistryRoundContext roundContext, Set<TypedElementInfo> elements) Called after a processing event that occurred in the codegen extension. -
Uses of TypedElementInfo in io.helidon.service.registry
Methods in io.helidon.service.registry that return TypedElementInfoModifier and TypeMethodDescriptionInterceptionContext.BuilderBase.InterceptionContextImpl.elementInfo()InterceptionContext.elementInfo()The element info represents the method, field, or the constructor being invoked.Methods in io.helidon.service.registry that return types with arguments of type TypedElementInfoModifier and TypeMethodDescriptionInterceptionContext.BuilderBase.elementInfo()The element info represents the method, field, or the constructor being invoked.Methods in io.helidon.service.registry with parameters of type TypedElementInfoModifier and TypeMethodDescription<T> InterceptionInvoker<T> InterceptionMetadata.createInvoker(ServiceInfo descriptor, Set<Qualifier> typeQualifiers, List<Annotation> typeAnnotations, TypedElementInfo element, InterceptionInvoker<T> targetInvoker, Set<Class<? extends Throwable>> checkedExceptions) Create an invoker that handles interception if needed, for constructors.<T> InterceptionInvoker<T> InterceptionMetadata.createInvoker(Object serviceInstance, ServiceInfo descriptor, Set<Qualifier> typeQualifiers, List<Annotation> typeAnnotations, TypedElementInfo element, InterceptionInvoker<T> targetInvoker, Set<Class<? extends Throwable>> checkedExceptions) Create an invoker that handles interception if needed.InterceptionContext.BuilderBase.elementInfo(TypedElementInfo elementInfo) The element info represents the method, field, or the constructor being invoked.Method parameters in io.helidon.service.registry with type arguments of type TypedElementInfoModifier and TypeMethodDescriptionInterceptionContext.BuilderBase.elementInfo(Supplier<? extends TypedElementInfo> supplier) The element info represents the method, field, or the constructor being invoked. -
Uses of TypedElementInfo in io.helidon.webserver.http
Methods in io.helidon.webserver.http with parameters of type TypedElementInfoModifier and TypeMethodDescriptionHttpEntryPoint.EntryPoints.handler(ServiceDescriptor<?> descriptor, Set<Qualifier> typeQualifiers, List<Annotation> typeAnnotations, TypedElementInfo methodInfo, Handler actualHandler) Handler that triggers interceptors.
AptTypeInfoFactory.createTypedElementInfoFromElement(AptContext, io.helidon.common.types.TypeName, javax.lang.model.element.Element, javax.lang.model.util.Elements)instead