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.
-
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 themainTriggerrecord component.ClassCode.newType()Returns the value of thenewTyperecord component.Methods in io.helidon.codegen that return types with arguments of type TypeNameModifier and TypeMethodDescriptionRoundContext.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()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.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 TypeMethodDescriptionvoidRoundContext.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.RoundContext.annotatedElements(TypeName annotationType) All elements annotated with a specific annotation.RoundContext.annotatedTypes(TypeName annotationType) All types annotated with a specific annotation.static StringProvides copyright header to be added before package declaration.static CodegenCodegen.create(CodegenContext ctx, TypeName generator) Create a new instance of the top level Codegen.static AnnotationCodegenUtil.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 booleanTypeInfoFactoryBase.isBuiltInJavaType(TypeName type) Check if the provided type is either a primitive type, or is from thejavapackage 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 voidCodegenFiler.services(TypeName generator, TypeName providerInterface, List<TypeName> providers, Object... originatingElements) Write aMETA-INF/servicesfile 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) 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 voidCodegenFiler.services(TypeName generator, TypeName providerInterface, List<TypeName> providers, Object... originatingElements) Write aMETA-INF/servicesfile 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 aClassCoderecord 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) Creates a name from an element type during annotation processing.AptTypeFactory.createTypeName(TypeElement element, TypeMirror mirror) Create type from type mirror.AptTypeFactory.createTypeName(DeclaredType type) Creates a name from a declared type during annotation processing.AptTypeFactory.createTypeName(TypeMirror typeMirror) Create type from type mirror.Methods in io.helidon.codegen.apt with parameters of type TypeNameModifier and TypeMethodDescriptionAptTypeInfoFactory.create(AptContext ctx, TypeName typeName) Create type information for a type name, reading all child elements.AptTypeInfoFactory.create(AptContext ctx, TypeName typeName, Predicate<TypedElementInfo> elementPredicate) Create type information for a type name. -
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 TypeNameMethods in io.helidon.codegen.classmodel with parameters of type TypeNameModifier and TypeMethodDescriptiondefault TContentBuilder.addContent(TypeName typeName) Add type name to content, correctly handling imports.Executable.Builder.addContent(TypeName typeName) Field.Builder.addContent(TypeName typeName) default TContentBuilder.addContentCreate(TypeName typeName) Add content that creates a newTypeNamein 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.intMethod.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 TypeNameScanTypeFactory.create(io.github.classgraph.ClassInfo classInfo) Creates a name from a class info from classpath scanning.static TypeNameScanTypeFactory.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.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 classTypeName.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 classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Fields in io.helidon.common.types declared as TypeNameModifier and TypeFieldDescriptionstatic final TypeNameTypeNames.ACCESS_MODIFIERHelidon access modifier (enum).static final TypeNameTypeNames.ANNOTATIONHelidon annotation type.static final TypeNameTypeNames.BOXED_BOOLEANBoxed boolean type.static final TypeNameTypeNames.BOXED_BYTEBoxed byte type.static final TypeNameTypeNames.BOXED_CHARBoxed char type.static final TypeNameTypeNames.BOXED_DOUBLEBoxed double type.static final TypeNameTypeNames.BOXED_FLOATBoxed float type.static final TypeNameTypeNames.BOXED_INTBoxed int type.static final TypeNameTypeNames.BOXED_LONGBoxed long type.static final TypeNameTypeNames.BOXED_SHORTBoxed short type.static final TypeNameTypeNames.BOXED_VOIDBoxed void type.static final TypeNameTypeNames.COLLECTIONType name forCollection.static final TypeNameTypeNames.DURATIONType name forDuration.static final TypeNameTypeNames.ELEMENT_KINDHelidon element kind (enum).static final TypeNameTypeNames.GENERATEDHelidon Generated annotation type.static final TypeNameTypeNames.GENERIC_TYPEHelidonGenericType.static final TypeNameTypeNames.LISTType name forList.static final TypeNameTypeNames.MAPType name forMap.static final TypeNameTypeNames.OBJECTType name forObject.static final TypeNameTypeNames.OPTIONALType name forOptional.static final TypeNameTypeNames.PRIMITIVE_BOOLEANPrimitive boolean type.static final TypeNameTypeNames.PRIMITIVE_BYTEPrimitive byte type.static final TypeNameTypeNames.PRIMITIVE_CHARPrimitive char type.static final TypeNameTypeNames.PRIMITIVE_DOUBLEPrimitive double type.static final TypeNameTypeNames.PRIMITIVE_FLOATPrimitive float type.static final TypeNameTypeNames.PRIMITIVE_INTPrimitive int type.static final TypeNameTypeNames.PRIMITIVE_LONGPrimitive long type.static final TypeNameTypeNames.PRIMITIVE_SHORTPrimitive short type.static final TypeNameTypeNames.PRIMITIVE_VOIDPrimitive void type.static final TypeNameTypeNames.RETENTIONType name forRetention.static final TypeNameTypeNames.SETType name forSet.static final TypeNameTypeNames.STRINGType name forString.static final TypeNameTypeNames.SUPPLIERType name forSupplier.static final TypeNameTypeNames.TYPE_NAMEType name of the type name.static final TypeNameTypeNames.TYPED_ELEMENT_INFOType name of typed element info.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 TypeNameCreate a type name from a type (such as class).static TypeNameCreates a type name from a fully qualified class name.static TypeNameTypeName.createFromGenericDeclaration(String genericAliasTypeName) Creates a type name from a generic alias type name.TypeName.BuilderBase.TypeNameImpl.genericTypeName()TypeName.genericTypeName()The base generic type name, stripped of anyTypeNameBlueprint.typeArguments().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()TypedElementInfo.BuilderBase.enclosingType()The enclosing type name for this typed element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.enclosingType()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.Methods in io.helidon.common.types with parameters of type TypeNameModifier and TypeMethodDescriptionTypeInfo.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.default AnnotationAnnotated.annotation(TypeName annotationType) Get an annotation on this annotated type.static TypeName.BuilderCreate a new fluent API builder from an existing instance.intstatic AnnotationCreates an instance for an annotation with no value.static AnnotationCreates an instance for an annotation with a value.static AnnotationCreates an instance for annotation with zero or more values.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 booleanAnnotated.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 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.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.componentTypes(List<? extends TypeName> componentTypes) Returns the component type names describing the element.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.