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