public class MappingSetModelFactoryImpl extends Object implements MappingSetModelFactory
MappingSetModelFactory.| Constructor and Description |
|---|
MappingSetModelFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
FieldMapping |
createFieldMapping(ClassMapping parent,
org.cadixdev.bombe.type.signature.FieldSignature signature,
String deobfuscatedName)
Creates a
FieldMapping linked to the given ClassMapping. |
InnerClassMapping |
createInnerClassMapping(ClassMapping parent,
String obfuscatedName,
String deobfuscatedName)
Creates a
InnerClassMapping linked to the given ClassMapping. |
MethodMapping |
createMethodMapping(ClassMapping parent,
org.cadixdev.bombe.type.signature.MethodSignature signature,
String deobfuscatedName)
Creates a
MethodMapping linked to the given ClassMapping. |
MethodParameterMapping |
createMethodParameterMapping(MethodMapping parent,
int index,
String deobfuscatedName)
Creates a
MethodParameterMapping linked to the given MethodMapping. |
TopLevelClassMapping |
createTopLevelClassMapping(MappingSet parent,
String obfuscatedName,
String deobfuscatedName)
Creates a
TopLevelClassMapping linked to the given MappingSet. |
public TopLevelClassMapping createTopLevelClassMapping(MappingSet parent, String obfuscatedName, String deobfuscatedName)
MappingSetModelFactoryTopLevelClassMapping linked to the given MappingSet.createTopLevelClassMapping in interface MappingSetModelFactoryparent - The mapping set to link toobfuscatedName - The obfuscated name of the classdeobfuscatedName - The de-obfuscated name to give the classpublic InnerClassMapping createInnerClassMapping(ClassMapping parent, String obfuscatedName, String deobfuscatedName)
MappingSetModelFactoryInnerClassMapping linked to the given ClassMapping.createInnerClassMapping in interface MappingSetModelFactoryparent - The class mapping to link toobfuscatedName - The obfuscated name of the classdeobfuscatedName - The de-obfuscated name to give the classpublic FieldMapping createFieldMapping(ClassMapping parent, org.cadixdev.bombe.type.signature.FieldSignature signature, String deobfuscatedName)
MappingSetModelFactoryFieldMapping linked to the given ClassMapping.createFieldMapping in interface MappingSetModelFactoryparent - The class mapping to link tosignature - The signature of the fielddeobfuscatedName - The de-obfuscated name to give the fieldpublic MethodMapping createMethodMapping(ClassMapping parent, org.cadixdev.bombe.type.signature.MethodSignature signature, String deobfuscatedName)
MappingSetModelFactoryMethodMapping linked to the given ClassMapping.createMethodMapping in interface MappingSetModelFactoryparent - The class mapping to link tosignature - The signature of the obfuscated methoddeobfuscatedName - The de-obfuscated name to give the methodpublic MethodParameterMapping createMethodParameterMapping(MethodMapping parent, int index, String deobfuscatedName)
MappingSetModelFactoryMethodParameterMapping linked to the given MethodMapping.createMethodParameterMapping in interface MappingSetModelFactoryparent - The method mapping to link toindex - The index of the parameterdeobfuscatedName - The de-obfuscated name to give the parameter