Interface PackageRenameRemapper

All Superinterfaces:
AnnotationRemapper

public interface PackageRenameRemapper extends AnnotationRemapper
A AnnotationRemapper that simply renames packages retaining the original simple class names as is.
Since:
1.1.0
Author:
graemerocher
  • Method Details

    • getTargetPackage

      @NonNull @NonNull String 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 interface AnnotationRemapper
      Parameters:
      annotation - The annotation values
      visitorContext - The context that is being visited
      Returns:
      A list of zero or many annotations and values to map to