Interface AnnotationsTransformer
-
public interface AnnotationsTransformerAllows 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.
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_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()static intcompare(AnnotationsTransformer e1, AnnotationsTransformer e2)default intgetPriority()Processors with higher priority are called first.voidtransform(AnnotationsTransformer.TransformationContext transformationContext)
-
-
-
Field Detail
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
compare
static int compare(AnnotationsTransformer e1, AnnotationsTransformer e2)
-
getPriority
default int getPriority()
Processors with higher priority are called first.- Returns:
- the priority
-
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
-
-