Interface AnnotationsTransformer
public interface AnnotationsTransformer
Allows a build-time extension to override the annotations that exist on bean classes.
The container should use AnnotationStore to obtain annotations of any ClassInfo,
FieldInfo and MethodInfo.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA convenient builder.static interfaceA transformation context. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanappliesTo(org.jboss.jandex.AnnotationTarget.Kind kind) By default, the transformation is applied to all kinds of targets.builder()static intdefault intProcessors with higher priority are called first.voidtransform(AnnotationsTransformer.TransformationContext transformationContext)
-
Field Details
-
DEFAULT_PRIORITY
static final int DEFAULT_PRIORITY- See Also:
-
-
Method Details
-
compare
-
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
- Parameters:
transformationContext-
-
builder
- Returns:
- a new builder instance
-