@Internal public final class JakartaPreDestroyTransformer extends java.lang.Object implements NamedAnnotationTransformer
PreDestroy
into the javax meta-annotation AnnotationUtil.PRE_DESTROY
.Constructor and Description |
---|
JakartaPreDestroyTransformer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.util.List<AnnotationValue<?>> |
transform(AnnotationValue<java.lang.annotation.Annotation> annotation,
VisitorContext visitorContext)
The transform method will be called for each instances of the annotation returned via this method.
|
@NonNull public java.lang.String getName()
public java.util.List<AnnotationValue<?>> transform(AnnotationValue<java.lang.annotation.Annotation> annotation, VisitorContext visitorContext)
AnnotationTransformer
transform
in interface AnnotationTransformer<java.lang.annotation.Annotation>
annotation
- The annotation valuesvisitorContext
- The context that is being visited