Package io.micronaut.inject.annotation
Interface PackageRenameRemapper
- All Superinterfaces:
AnnotationRemapper
A
AnnotationRemapper
that simply renames packages retaining the original simple class
names as is.- Since:
- 1.1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.inject.annotation.AnnotationRemapper
ALL_PACKAGES
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<AnnotationValue<?>>
remap
(AnnotationValue<?> annotation, VisitorContext visitorContext) The map method will be called for each instances of the annotation returned via this method.Methods inherited from interface io.micronaut.inject.annotation.AnnotationRemapper
getPackageName
-
Method Details
-
getTargetPackage
- Returns:
- The target package name.
-
remap
default List<AnnotationValue<?>> remap(AnnotationValue<?> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationRemapper
The map method will be called for each instances of the annotation returned via this method.- Specified by:
remap
in 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
-