public class MappingUtils
extends java.lang.Object
| Constructor and Description |
|---|
MappingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
mapMethodDescriptor(java.lang.String descriptor,
Mapper mapper,
boolean reverse)
Maps a method descriptor, replacing its class references with their mapped counterparts.
|
static org.objectweb.asm.Type |
mapType(org.objectweb.asm.Type type,
Mapper mapper,
boolean reverse)
Given a
Type and a valid Mapper it returns its mapped counterpart. |
public static java.lang.String mapMethodDescriptor(java.lang.String descriptor,
Mapper mapper,
boolean reverse)
descriptor - a String containing the descriptormapper - the Mapper to use for the processreverse - if true it uses the inverted mapper rather than the normal onepublic static org.objectweb.asm.Type mapType(org.objectweb.asm.Type type,
Mapper mapper,
boolean reverse)
Type and a valid Mapper it returns its mapped counterpart.type - the type in questionmapper - the Mapper to use for the processreverse - if true it uses the inverted mapper rather than the normal one