Class JavaxRemapper
java.lang.Object
io.micronaut.inject.annotation.internal.JavaxRemapper
- All Implemented Interfaces:
AnnotationRemapper
Remaps from
javax.inject to jakarta.inject.-
Field Summary
Fields inherited from interface io.micronaut.inject.annotation.AnnotationRemapper
ALL_PACKAGES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionremap(AnnotationValue<?> annotation, VisitorContext visitorContext) The map method will be called for each instances of the annotation returned via this method.
-
Constructor Details
-
JavaxRemapper
public JavaxRemapper()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageNamein interfaceAnnotationRemapper- Returns:
- The package name of the annotation.
-
remap
@NonNull public @NonNull List<AnnotationValue<?>> remap(AnnotationValue<?> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationRemapperThe map method will be called for each instances of the annotation returned via this method.- Specified by:
remapin interfaceAnnotationRemapper- Parameters:
annotation- The annotation valuesvisitorContext- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-