Uses of Interface
io.helidon.common.types.Annotation
Packages that use Annotation
Package
Description
Code generation and processing support.
Class model generator for annotation processors.
Service provider interfaces to extend code generation support.
Support for mapping of types.
Subset of Builder's SPI types that are useful for runtime.
Code generation for Helidon declarative.
HTTP Rest related code generation.
Code generation for Helidon Webserver (HTTP endpoints etc.).
HTTP Rest model.
Reflection support to obtain instances of common types, and to synthesize instances of annotations from
Annotation.Code generation for 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 Annotation in io.helidon.codegen
Methods in io.helidon.codegen that return AnnotationModifier and TypeMethodDescriptionstatic AnnotationCodegenUtil.generatedAnnotation(TypeName generator, TypeName trigger, TypeName generatedType, String versionId, String comments) Create a generated annotation.Methods in io.helidon.codegen that return types with arguments of type AnnotationModifier 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).protected static List<Annotation> TypeInfoFactoryBase.mapAnnotation(CodegenContext ctx, Annotation annotation, ElementKind kind) Map an annotation using context type mappers.Methods in io.helidon.codegen with parameters of type AnnotationModifier and TypeMethodDescriptionprotected static booleanTypeInfoFactoryBase.annotationFilter(Annotation annotation) A filter for annotations to exclude ones we are not interested in (SuppressWarnings,Override,Target,Retention,Repeatable.protected static List<Annotation> TypeInfoFactoryBase.mapAnnotation(CodegenContext ctx, Annotation annotation, ElementKind kind) Map an annotation using context type mappers. -
Uses of Annotation in io.helidon.codegen.classmodel
Methods in io.helidon.codegen.classmodel that return AnnotationModifier and TypeMethodDescriptionAnnotation.toTypesAnnotation()Convert class model annotation to Helidon Common Types annotation.Methods in io.helidon.codegen.classmodel with parameters of type AnnotationModifier and TypeMethodDescriptiondefault TContentBuilder.addContentCreate(Annotation annotation) Add content that creates a newAnnotationin the generated code that is the same as the annotation provided.static AnnotationAnnotation.create(Annotation annotation) Create a class model annotation from common types annotation. -
Uses of Annotation in io.helidon.codegen.spi
Methods in io.helidon.codegen.spi that return AnnotationModifier and TypeMethodDescriptionGeneratedAnnotationProvider.create(TypeName generator, TypeName trigger, TypeName generatedType, String versionId, String comments) Create a generated annotation.Methods in io.helidon.codegen.spi that return types with arguments of type AnnotationModifier and TypeMethodDescriptionAnnotationMapper.mapAnnotation(CodegenContext ctx, Annotation original, ElementKind elementKind) Map an annotation to a set of new annotations.Methods in io.helidon.codegen.spi with parameters of type AnnotationModifier and TypeMethodDescriptionAnnotationMapper.mapAnnotation(CodegenContext ctx, Annotation original, ElementKind elementKind) Map an annotation to a set of new annotations.booleanAnnotationMapper.supportsAnnotation(Annotation annotation) Check if the annotation is supported. -
Uses of Annotation in io.helidon.common.mapper
Method parameters in io.helidon.common.mapper with type arguments of type AnnotationModifier and TypeMethodDescriptionList<?> DefaultsResolver.resolve(Set<Annotation> annotations, GenericType<?> expectedType, String name) Resolve defaults from the set of annotations. -
Uses of Annotation in io.helidon.common.types
Classes in io.helidon.common.types with type parameters of type AnnotationModifier and TypeClassDescriptionstatic classAnnotation.BuilderBase<BUILDER extends Annotation.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends Annotation> Fluent API builder base forAnnotation.Classes in io.helidon.common.types that implement AnnotationModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Fields in io.helidon.common.types declared as AnnotationModifier and TypeFieldDescriptionstatic final AnnotationAnnotations.DEPRECATEDDeprecated annotation.static final AnnotationAnnotations.OVERRIDEOverride annotation.Methods in io.helidon.common.types with type parameters of type AnnotationModifier and TypeMethodDescriptionstatic <T extends Annotation>
Optional<T> Annotations.findFirst(TypeName annoTypeName, Collection<T> coll) Attempts to find the annotation in the provided collection.static <T extends Annotation>
Optional<T> Annotations.findFirst(Class<? extends Annotation> annoType, Collection<T> coll) Attempts to find the annotation in the provided collection.static <T extends Annotation>
Optional<T> Annotations.findFirst(String annoTypeName, Collection<T> coll) Deprecated, for removal: This API element is subject to removal in a future version.Methods in io.helidon.common.types that return AnnotationModifier and TypeMethodDescriptiondefault AnnotationAnnotated.annotation(TypeName annotationType) Get an annotation on this annotated type.Annotation.Builder.build()Annotation.Builder.buildPrototype()static 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.static AnnotationAnnotation.create(Class<? extends Annotation> annoType) Creates an instance for an annotation with no value.static AnnotationAnnotation.create(Class<? extends Annotation> annoType, String value) Creates an instance for an annotation with a value.static AnnotationAnnotation.create(Class<? extends Annotation> annoType, Map<String, ?> values) Creates an instance for an annotation with a value.Methods in io.helidon.common.types that return types with arguments of type AnnotationModifier and TypeMethodDescriptiondefault List<Annotation> Annotated.allAnnotations()List of all annotations - bothAnnotated.annotations()andAnnotated.inheritedAnnotations().Annotated.annotations()List of declared and known annotations for this element.ModuleTypeInfo.BuilderBase.annotations()List of declared and known annotations for this element.ModuleTypeInfo.BuilderBase.ModuleTypeInfoImpl.annotations()TypedElementInfo.BuilderBase.annotations()List of declared and known annotations for this element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.annotations()TypeInfo.BuilderBase.annotations()List of declared and known annotations for this element.TypeInfo.BuilderBase.TypeInfoImpl.annotations()TypedElementInfo.BuilderBase.elementTypeAnnotations()The list of known annotations on the type name referenced byTypedElementInfoBlueprint.typeName().TypedElementInfo.BuilderBase.TypedElementInfoImpl.elementTypeAnnotations()default Optional<Annotation> Annotated.findAnnotation(TypeName annotationType) Find an annotation on this annotated type.Annotated.inheritedAnnotations()List of all inherited annotations for this element.ModuleTypeInfo.BuilderBase.inheritedAnnotations()List of all inherited annotations for this element.ModuleTypeInfo.BuilderBase.ModuleTypeInfoImpl.inheritedAnnotations()TypedElementInfo.BuilderBase.inheritedAnnotations()List of all inherited annotations for this element.TypedElementInfo.BuilderBase.TypedElementInfoImpl.inheritedAnnotations()TypeInfo.BuilderBase.inheritedAnnotations()List of all inherited annotations for this element.TypeInfo.BuilderBase.TypeInfoImpl.inheritedAnnotations()Annotation.BuilderBase.AnnotationImpl.metaAnnotations()Annotation.BuilderBase.metaAnnotations()A list of inherited annotations (from the whole hierarchy).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()Methods in io.helidon.common.types with parameters of type AnnotationModifier and TypeMethodDescriptionModuleTypeInfo.BuilderBase.addAnnotation(Annotation annotation) List of declared and known annotations for this element.TypedElementInfo.BuilderBase.addAnnotation(Annotation annotation) List of declared and known annotations for this element.TypeInfo.BuilderBase.addAnnotation(Annotation annotation) List of declared and known annotations for this element.ModuleTypeInfo.BuilderBase.addInheritedAnnotation(Annotation inheritedAnnotation) List of all inherited annotations for this element.TypedElementInfo.BuilderBase.addInheritedAnnotation(Annotation inheritedAnnotation) List of all inherited annotations for this element.TypeInfo.BuilderBase.addInheritedAnnotation(Annotation inheritedAnnotation) List of all inherited annotations for this element.Annotation.BuilderBase.addMetaAnnotation(Annotation metaAnnotation) A list of inherited annotations (from the whole hierarchy).TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotation(TypeName key, Annotation referencedTypeNamesToAnnotation) This method adds a new value to the map value, or creates a new value.static Annotation.BuilderAnnotation.builder(Annotation instance) Create a new fluent API builder from an existing instance.intAnnotation.BuilderBase.AnnotationImpl.compareTo(Annotation o) Annotation.BuilderBase.from(Annotation prototype) Update this builder from an existing prototype instance.Method parameters in io.helidon.common.types with type arguments of type AnnotationModifier and TypeMethodDescriptionModuleTypeInfo.BuilderBase.addAnnotations(List<? extends Annotation> annotations) List of declared and known annotations for this element.TypedElementInfo.BuilderBase.addAnnotations(List<? extends Annotation> annotations) List of declared and known annotations for this element.TypeInfo.BuilderBase.addAnnotations(List<? extends Annotation> annotations) List of declared and known annotations for this element.TypedElementInfo.BuilderBase.addElementTypeAnnotations(List<? extends Annotation> elementTypeAnnotations) The list of known annotations on the type name referenced byTypedElementInfoBlueprint.typeName().ModuleTypeInfo.BuilderBase.addInheritedAnnotations(List<? extends Annotation> inheritedAnnotations) List of all inherited annotations for this element.TypedElementInfo.BuilderBase.addInheritedAnnotations(List<? extends Annotation> inheritedAnnotations) List of all inherited annotations for this element.TypeInfo.BuilderBase.addInheritedAnnotations(List<? extends Annotation> inheritedAnnotations) List of all inherited annotations for this element.Annotation.BuilderBase.addMetaAnnotations(List<? extends Annotation> metaAnnotations) A list of inherited annotations (from the whole hierarchy).TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotations(TypeName key, List<Annotation> referencedTypeNamesToAnnotations) This method adds a new value to the map value, or creates a new value.TypeInfo.BuilderBase.addReferencedTypeNamesToAnnotations(Map<? extends TypeName, List<Annotation>> referencedTypeNamesToAnnotations) This method keeps existing values, then puts all new values into the map.ModuleTypeInfo.BuilderBase.annotations(List<? extends Annotation> annotations) List of declared and known annotations for this element.TypedElementInfo.BuilderBase.annotations(List<? extends Annotation> annotations) List of declared and known annotations for this element.TypeInfo.BuilderBase.annotations(List<? extends Annotation> annotations) List of declared and known annotations for this element.TypedElementInfo.BuilderBase.elementTypeAnnotations(List<? extends Annotation> elementTypeAnnotations) The list of known annotations on the type name referenced byTypedElementInfoBlueprint.typeName().ModuleTypeInfo.BuilderBase.inheritedAnnotations(List<? extends Annotation> inheritedAnnotations) List of all inherited annotations for this element.TypedElementInfo.BuilderBase.inheritedAnnotations(List<? extends Annotation> inheritedAnnotations) List of all inherited annotations for this element.TypeInfo.BuilderBase.inheritedAnnotations(List<? extends Annotation> inheritedAnnotations) List of all inherited annotations for this element.Annotation.BuilderBase.metaAnnotations(List<? extends Annotation> metaAnnotations) A list of inherited annotations (from the whole hierarchy).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.TypeInfo.BuilderBase.referencedTypeNamesToAnnotations(Map<? extends TypeName, List<Annotation>> referencedTypeNamesToAnnotations) This method replaces all values with the new ones. -
Uses of Annotation in io.helidon.declarative.codegen
Fields in io.helidon.declarative.codegen declared as AnnotationModifier and TypeFieldDescriptionstatic final AnnotationDeclarativeTypes.SINGLETON_ANNOTATIONAnnotation instance forServiceCodegenTypes.SERVICE_ANNOTATION_SINGLETON. -
Uses of Annotation in io.helidon.declarative.codegen.http
Methods in io.helidon.declarative.codegen.http that return types with arguments of type AnnotationModifier and TypeMethodDescriptionprotected Optional<Annotation> RestExtensionBase.findMetaAnnotated(TypeName metaAnnotation, Set<Annotation> annotations) Find an annotation with the provided "meta-annotation".Methods in io.helidon.declarative.codegen.http with parameters of type AnnotationModifier and TypeMethodDescriptionprotected HttpMethodRestExtensionBase.httpMethodFromAnnotation(TypedElementInfo element, Annotation httpMethodAnnotation) Extract HTTP Method from its annotation.Method parameters in io.helidon.declarative.codegen.http with type arguments of type AnnotationModifier and TypeMethodDescriptionprotected voidRestExtensionBase.computedHeaders(Set<Annotation> annotations, HttpAnnotated.BuilderBase<?, ?> builder, TypeName repeatedAnnotationType, TypeName singleAnnotationType) Find computed headers in the annotations and set it on the builder.protected voidRestExtensionBase.consumes(Set<Annotation> annotations, HttpAnnotated.BuilderBase<?, ?> builder) Find consumes in the annotations and set it on the builder.protected Optional<Annotation> RestExtensionBase.findMetaAnnotated(TypeName metaAnnotation, Set<Annotation> annotations) Find an annotation with the provided "meta-annotation".protected voidRestExtensionBase.headers(Set<Annotation> annotations, HttpAnnotated.BuilderBase<?, ?> builder, TypeName repeatedAnnotationType, TypeName singleAnnotationType) Find headers in the annotations and set it on the builder.protected voidRestExtensionBase.path(Set<Annotation> annotations, HttpAnnotated.BuilderBase<?, ?> builder) Find path in the annotations and set it on the builder.protected voidRestExtensionBase.produces(Set<Annotation> annotations, HttpAnnotated.BuilderBase<?, ?> builder) Find produces in the annotations and set it on the builder. -
Uses of Annotation in io.helidon.declarative.codegen.http.webserver
Methods in io.helidon.declarative.codegen.http.webserver that return types with arguments of type Annotation -
Uses of Annotation in io.helidon.declarative.codegen.model.http
Methods in io.helidon.declarative.codegen.model.http that return types with arguments of type AnnotationModifier and TypeMethodDescriptionModelElement.annotations()All annotations on this element, and inherited from supertype/interface and annotations.ModelElement.BuilderBase.annotations()All annotations on this element, and inherited from supertype/interface and annotations.ModelElement.BuilderBase.ModelElementImpl.annotations()Methods in io.helidon.declarative.codegen.model.http with parameters of type AnnotationModifier and TypeMethodDescriptionModelElement.BuilderBase.addAnnotation(Annotation annotation) All annotations on this element, and inherited from supertype/interface and annotations.Method parameters in io.helidon.declarative.codegen.model.http with type arguments of type AnnotationModifier and TypeMethodDescriptionModelElement.BuilderBase.addAnnotations(Set<? extends Annotation> annotations) All annotations on this element, and inherited from supertype/interface and annotations.ModelElement.BuilderBase.annotations(Set<? extends Annotation> annotations) All annotations on this element, and inherited from supertype/interface and annotations. -
Uses of Annotation in io.helidon.metadata.reflection
Methods in io.helidon.metadata.reflection that return AnnotationModifier and TypeMethodDescriptionstatic AnnotationAnnotationFactory.create(Annotation annotation) Create a Helidon annotation from Java annotation instance.Methods in io.helidon.metadata.reflection that return types with arguments of type AnnotationModifier and TypeMethodDescriptionstatic List<Annotation> AnnotationFactory.create(AnnotatedElement annotated) Create Helidon annotations from Java annotated element (method, field, class).Methods in io.helidon.metadata.reflection with parameters of type AnnotationModifier and TypeMethodDescriptionstatic <T extends Annotation>
Optional<T> AnnotationFactory.synthesize(Annotation annotation) Creates an instance of the provided annotation using reflection (and proxying). -
Uses of Annotation in io.helidon.service.codegen
Methods in io.helidon.service.codegen that return AnnotationModifier and TypeMethodDescriptionDefaultsCodegen.DefaultCode.annotation()The default annotation.Method parameters in io.helidon.service.codegen with type arguments of type AnnotationModifier and TypeMethodDescriptionstatic Optional<DefaultsCodegen.DefaultCode> DefaultsCodegen.findDefault(Set<Annotation> annotations, TypeName targetType) Find a default annotation within the set of annotations on an element. -
Uses of Annotation in io.helidon.service.registry
Subinterfaces of Annotation in io.helidon.service.registryModifier and TypeInterfaceDescriptioninterfaceRepresents a qualifier annotation (a specific case of annotations, annotated withService.Qualifier).(package private) interfaceio.helidon.service.registry.QualifierBlueprintRepresents a qualifier annotation (a specific case of annotations, annotated withService.Qualifier).Classes in io.helidon.service.registry that implement AnnotationModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Methods in io.helidon.service.registry that return types with arguments of type AnnotationModifier and TypeMethodDescriptionDependency.annotations()The annotations on this element, excludingDependency.qualifiers().Dependency.BuilderBase.annotations()The annotations on this element, excludingDependency.qualifiers().Dependency.BuilderBase.DependencyImpl.annotations()InterceptionContext.BuilderBase.InterceptionContextImpl.typeAnnotations()InterceptionContext.BuilderBase.typeAnnotations()Annotations on the enclosing type.InterceptionContext.typeAnnotations()Annotations on the enclosing type.Methods in io.helidon.service.registry with parameters of type AnnotationModifier and TypeMethodDescriptionDependency.BuilderBase.addAnnotation(Annotation annotation) The annotations on this element, excludingDependency.qualifiers().static QualifierQualifier.create(Annotation annotation) Creates a qualifier from an annotation.Method parameters in io.helidon.service.registry with type arguments of type AnnotationModifier and TypeMethodDescriptionDependency.BuilderBase.addAnnotations(Set<? extends Annotation> annotations) The annotations on this element, excludingDependency.qualifiers().InterceptionContext.BuilderBase.addTypeAnnotations(List<? extends Annotation> typeAnnotations) Annotations on the enclosing type.Dependency.BuilderBase.annotations(Set<? extends Annotation> annotations) The annotations on this element, excludingDependency.qualifiers().<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.typeAnnotations(List<? extends Annotation> typeAnnotations) Annotations on the enclosing type. -
Uses of Annotation in io.helidon.webserver.http
Method parameters in io.helidon.webserver.http with type arguments of type AnnotationModifier and TypeMethodDescriptionHttpEntryPoint.EntryPoints.handler(ServiceDescriptor<?> descriptor, Set<Qualifier> typeQualifiers, List<Annotation> typeAnnotations, TypedElementInfo methodInfo, Handler actualHandler) Handler that triggers interceptors.
Annotations.findFirst(TypeName, java.util.Collection)instead