Class FindBugsRemapper
java.lang.Object
io.micronaut.inject.annotation.internal.FindBugsRemapper
- All Implemented Interfaces:
AnnotationRemapper
A remapper that remaps findbugs annotations to internal annotations.
- Since:
- 1.2.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.inject.annotation.AnnotationRemapper
ALL_PACKAGES
-
Constructor Summary
-
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
-
FindBugsRemapper
public FindBugsRemapper()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageName
in interfaceAnnotationRemapper
- Returns:
- The package name of the annotation.
-
remap
@NonNull public @NonNull 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
-