Class JavaxPreDestroyTransformer
java.lang.Object
io.micronaut.inject.annotation.internal.JavaxPreDestroyTransformer
- All Implemented Interfaces:
Named
,AnnotationTransformer<Annotation>
,NamedAnnotationTransformer
@Internal
public final class JavaxPreDestroyTransformer
extends Object
implements NamedAnnotationTransformer
Transforms
javax.annotation.PreDestroy
into the javax meta-annotation AnnotationUtil.PRE_DESTROY
.- Since:
- 3.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
List<AnnotationValue<?>>
transform
(AnnotationValue<Annotation> annotation, VisitorContext visitorContext) The transform method will be called for each instances of the annotation returned via this method.
-
Constructor Details
-
JavaxPreDestroyTransformer
public JavaxPreDestroyTransformer()
-
-
Method Details
-
getName
-
transform
public List<AnnotationValue<?>> transform(AnnotationValue<Annotation> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationTransformer
The transform method will be called for each instances of the annotation returned via this method.- Specified by:
transform
in interfaceAnnotationTransformer<Annotation>
- Parameters:
annotation
- The annotation valuesvisitorContext
- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-