public class MappingSetImpl extends Object implements MappingSet
MappingSet.| Constructor and Description |
|---|
MappingSetImpl() |
MappingSetImpl(MappingSetModelFactory modelFactory) |
| Modifier and Type | Method and Description |
|---|---|
TopLevelClassMapping |
createTopLevelClassMapping(String obfuscatedName,
String deobfuscatedName)
Creates a top-level class mapping with the given obfuscated and de-obfuscated
names.
|
CascadingFieldTypeProvider |
getFieldTypeProvider()
Gets the field type provider in use for this set of mappings.
|
MappingSetModelFactory |
getModelFactory()
Gets the underlying model factory, that is used to construct
the implementation classes for all the models.
|
Optional<TopLevelClassMapping> |
getTopLevelClassMapping(String obfuscatedName)
Gets the top-level class mapping of the given obfuscated name of the
class mapping, should it exist.
|
Collection<TopLevelClassMapping> |
getTopLevelClassMappings()
Gets an immutable collection of all of the top-level class
mappings of the mapping set.
|
boolean |
hasTopLevelClassMapping(String obfuscatedName)
Establishes whether the mapping set contains a top-level class
mapping of the given obfuscated name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFieldTypeProvider, computeClassMapping, copy, create, create, deobfuscate, deobfuscate, deobfuscate, getClassMapping, getOrCreateClassMapping, getOrCreateTopLevelClassMapping, merge, merge, removeFieldTypeProvider, reverse, reversepublic MappingSetImpl()
public MappingSetImpl(MappingSetModelFactory modelFactory)
public MappingSetModelFactory getModelFactory()
MappingSetgetModelFactory in interface MappingSetpublic Collection<TopLevelClassMapping> getTopLevelClassMappings()
MappingSetgetTopLevelClassMappings in interface MappingSetpublic TopLevelClassMapping createTopLevelClassMapping(String obfuscatedName, String deobfuscatedName)
MappingSetcreateTopLevelClassMapping in interface MappingSetobfuscatedName - The obfuscated name of the top-level classdeobfuscatedName - The de-obfuscated name of the top-level classpublic Optional<TopLevelClassMapping> getTopLevelClassMapping(String obfuscatedName)
MappingSetgetTopLevelClassMapping in interface MappingSetobfuscatedName - The obfuscated name of the top-level class mappingOptionalpublic boolean hasTopLevelClassMapping(String obfuscatedName)
MappingSethasTopLevelClassMapping in interface MappingSetobfuscatedName - The obfuscated name of the top-level class
mappingtrue should a top-level class mapping of the
given obfuscated name exist in the mapping set;
false otherwisepublic CascadingFieldTypeProvider getFieldTypeProvider()
MappingSetgetFieldTypeProvider in interface MappingSet