Package io.quarkus.arc.processor
Interface AnnotationsTransformer
-
- All Superinterfaces:
BuildExtension
public interface AnnotationsTransformer extends BuildExtension
Allows a build-time extension to override the annotations that exist on bean classes.The container should use
AnnotationStoreto obtain annotations of anyClassInfo,FieldInfoandMethodInfo.- See Also:
AnnotationsTransformer.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAnnotationsTransformer.BuilderA convenient builder.static interfaceAnnotationsTransformer.TransformationContextA transformation context.-
Nested classes/interfaces inherited from interface io.quarkus.arc.processor.BuildExtension
BuildExtension.BuildContext, BuildExtension.Key<T>, BuildExtension.SimpleKey<V>
-
-
Field Summary
-
Fields inherited from interface io.quarkus.arc.processor.BuildExtension
DEFAULT_PRIORITY
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanappliesTo(org.jboss.jandex.AnnotationTarget.Kind kind)By default, the transformation is applied to all kinds of targets.static AnnotationsTransformer.Builderbuilder()voidtransform(AnnotationsTransformer.TransformationContext transformationContext)-
Methods inherited from interface io.quarkus.arc.processor.BuildExtension
getPriority, initialize
-
-
-
-
Method Detail
-
appliesTo
default boolean appliesTo(org.jboss.jandex.AnnotationTarget.Kind kind)
By default, the transformation is applied to all kinds of targets.- Parameters:
kind-- Returns:
trueif the transformation applies to the specified kind,falseotherwise
-
transform
void transform(AnnotationsTransformer.TransformationContext transformationContext)
- Parameters:
transformationContext-
-
builder
static AnnotationsTransformer.Builder builder()
- Returns:
- a new builder instance
-
-