Uses of Interface
io.helidon.common.types.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.
-
Uses of TypedElementInfo in io.helidon.codegen
Modifier and TypeFieldDescriptionstatic final Predicate
<TypedElementInfo> ElementInfoPredicates.ALL_PREDICATE
A predicate that accepts all.Modifier 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.Modifier and TypeMethodDescriptionstatic boolean
ElementInfoPredicates.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 boolean
ElementInfoPredicates.isDefault
(TypedElementInfo element) Predicate for default modifier (default methods on interfaces).static boolean
ElementInfoPredicates.isField
(TypedElementInfo element) Predicate for field element kind.static boolean
ElementInfoPredicates.isMethod
(TypedElementInfo element) Predicate for method element kind.static boolean
ElementInfoPredicates.isPrivate
(TypedElementInfo element) Predicate for private modifier.static boolean
ElementInfoPredicates.isPublic
(TypedElementInfo element) Predicate for public modifier.static boolean
ElementInfoPredicates.isStatic
(TypedElementInfo element) Predicate for static modifier.static boolean
ElementInfoPredicates.isVoid
(TypedElementInfo element) Predicate for void methods.protected static Optional
<TypedElementInfo> TypeInfoFactoryBase.mapElement
(CodegenContext ctx, TypedElementInfo element) Map an element using context type mappers.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.validateUri
(TypeName enclosingType, TypedElementInfo element, TypeName annotationType, String property, String value) Validate a URI value in an annotation.Modifier 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
Modifier 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 aTypedElementInfo
given 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.Modifier 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
Modifier and TypeMethodDescriptiondefault T
ContentBuilder.addContentCreate
(TypedElementInfo element) Add content that creates a newTypedElementInfo
in the generated code that is the same as the element provided. -
Uses of TypedElementInfo in io.helidon.codegen.scan
Modifier 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
Modifier and TypeMethodDescriptionElementMapper.mapElement
(CodegenContext ctx, TypedElementInfo element) Map an element to a different element (changing any of its properties), or remove the element.Modifier and TypeMethodDescriptionElementMapper.mapElement
(CodegenContext ctx, TypedElementInfo element) Map an element to a different element (changing any of its properties), or remove the element.boolean
ElementMapper.supportsElement
(TypedElementInfo element) Check if the element is supported. -
Uses of TypedElementInfo in io.helidon.common.types
Modifier and TypeClassDescriptionstatic class
TypedElementInfo.BuilderBase<BUILDER extends TypedElementInfo.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends TypedElementInfo> Fluent API builder base forTypedElementInfo
.Modifier and TypeClassDescriptionprotected static class
Generated implementation of the prototype, can be extended by descendant prototype implementations.Modifier and TypeMethodDescriptionTypedElementInfo.Builder.build()
TypedElementInfo.Builder.buildPrototype()
Modifier 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()
Modifier 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.Builder
TypedElementInfo.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.Modifier 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
.
AptTypeInfoFactory.createTypedElementInfoFromElement(AptContext, io.helidon.common.types.TypeName, javax.lang.model.element.Element, javax.lang.model.util.Elements)
instead