Class AnnotationsTransformerBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.resteasy.reactive.server.spi.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 uses
AnnotationsTransformer.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 access AnnotationStore to view the updated annotation
model.
NOTE: Extensions that operate purely on Jandex index analysis won't be able to see any changes made via
AnnotationsTransformer!-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationsTransformerBuildItem(org.jboss.jandex.AnnotationTransformation transformation) AnnotationsTransformerBuildItem(org.jboss.resteasy.reactive.common.processor.transformation.AnnotationsTransformer transformer) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.resteasy.reactive.common.processor.transformation.AnnotationsTransformerDeprecated, for removal: This API element is subject to removal in a future version.org.jboss.jandex.AnnotationTransformation
-
Constructor Details
-
AnnotationsTransformerBuildItem
@Deprecated(forRemoval=true) public AnnotationsTransformerBuildItem(org.jboss.resteasy.reactive.common.processor.transformation.AnnotationsTransformer transformer) Deprecated, for removal: This API element is subject to removal in a future version. -
AnnotationsTransformerBuildItem
public AnnotationsTransformerBuildItem(org.jboss.jandex.AnnotationTransformation transformation)
-
-
Method Details
-
getAnnotationsTransformer
@Deprecated(forRemoval=true) public org.jboss.resteasy.reactive.common.processor.transformation.AnnotationsTransformer getAnnotationsTransformer()Deprecated, for removal: This API element is subject to removal in a future version. -
getAnnotationTransformation
public org.jboss.jandex.AnnotationTransformation getAnnotationTransformation()
-
AnnotationsTransformerBuildItem(AnnotationTransformation)