public class MapperConfig
extends java.lang.Object
AMapper.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
fillSuperMappings |
protected boolean |
remapTransformer |
protected FailStrategy |
superMappingsFailStrategy |
| Modifier and Type | Method and Description |
|---|---|
static MapperConfig |
create() |
MapperConfig |
fillSuperMappings(boolean fillSuperMappings)
Fill all super mappings of the remapper.
This is required if the mappings are missing mappings for super methods. |
MapperConfig |
fillSuperMappings(boolean fillSuperMappings,
FailStrategy superMappingsFailStrategy)
Fill all super mappings of the remapper.
This is required if the mappings are missing mappings for super methods. |
MapperConfig |
remapTransformer(boolean remapTransformer)
Remap the transformer class to match the transformed class.
This can be used if the transformer is made using a remapped class which is still obfuscated during runtime. |
protected boolean fillSuperMappings
protected FailStrategy superMappingsFailStrategy
protected boolean remapTransformer
public static MapperConfig create()
public MapperConfig fillSuperMappings(boolean fillSuperMappings)
fillSuperMappings - If super mappings should be filled (default: false)public MapperConfig fillSuperMappings(boolean fillSuperMappings, @Nonnull FailStrategy superMappingsFailStrategy)
fillSuperMappings - If super mappings should be filled (default: false)superMappingsFailStrategy - The fail strategy to use if super mappings could not be filled (default: FailStrategy.CONTINUE)public MapperConfig remapTransformer(boolean remapTransformer)
remapTransformer - If the transformer should be remapped (default: false)