Package io.quarkus.arc.deployment
Class AnnotationsTransformerBuildItem
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.arc.deployment.AnnotationsTransformerBuildItem
-
public final class AnnotationsTransformerBuildItem extends io.quarkus.builder.item.MultiBuildItem
Make it possible to add, remove or alter annotations on various components. The provided transformer usesAnnotationsTransformer.appliesTo(AnnotationTarget.Kind)
to limit the scope of transformer to classes, fields, methods, method params or a combination of those. These metadata changes are not stored in Jandex directly (Jandex is immutable) but instead in an abstraction layer. Users/extensions can accessAnnotationStore
to view the updated annotation model. NOTE: Extensions that operate purely on Jandex index analysis won't be able to see any changes made viaAnnotationsTransformer
!
-
-
Constructor Summary
Constructors Constructor Description AnnotationsTransformerBuildItem(AnnotationsTransformer transformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationsTransformer
getAnnotationsTransformer()
-
-
-
Constructor Detail
-
AnnotationsTransformerBuildItem
public AnnotationsTransformerBuildItem(AnnotationsTransformer transformer)
-
-
Method Detail
-
getAnnotationsTransformer
public AnnotationsTransformer getAnnotationsTransformer()
-
-