public final class ClassMapper extends Object
The class name is intended to be in the format like java/lang/String.
Note that remapping result changes when the map changes.
| Constructor and Description |
|---|
ClassMapper(Function<String,String> classMapping)
Creates the mapper.
|
ClassMapper(Map<String,String> map)
Creates the mapper.
|
| Modifier and Type | Method and Description |
|---|---|
String |
mapClass(String old)
Maps a class name.
|
String |
mapDescriptor(String old)
Maps a descriptor.
|