rename
Renames any classes that match the provided pattern.
The pattern will match class names, with optional wildcards:
*
will match a single package component.**
will match against the remainder of any valid fully-qualified class name.
replacement is a class name which can optionally reference the substrings matched by the wildcards. A numbered reference is available for every wildcard in the pattern, starting from left to right: @1
, @2
, etc. A special @0
reference contains the entire matched class name.