public class MappingSetModelFactoryImpl extends Object implements MappingSetModelFactory
MappingSetModelFactory
.Constructor and Description |
---|
MappingSetModelFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
FieldMapping |
createFieldMapping(ClassMapping parent,
me.jamiemansfield.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,
me.jamiemansfield.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)
MappingSetModelFactory
TopLevelClassMapping
linked to the given MappingSet
.createTopLevelClassMapping
in interface MappingSetModelFactory
parent
- 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)
MappingSetModelFactory
InnerClassMapping
linked to the given ClassMapping
.createInnerClassMapping
in interface MappingSetModelFactory
parent
- The class mapping to link toobfuscatedName
- The obfuscated name of the classdeobfuscatedName
- The de-obfuscated name to give the classpublic FieldMapping createFieldMapping(ClassMapping parent, me.jamiemansfield.bombe.type.signature.FieldSignature signature, String deobfuscatedName)
MappingSetModelFactory
FieldMapping
linked to the given ClassMapping
.createFieldMapping
in interface MappingSetModelFactory
parent
- The class mapping to link tosignature
- The signature of the fielddeobfuscatedName
- The de-obfuscated name to give the fieldpublic MethodMapping createMethodMapping(ClassMapping parent, me.jamiemansfield.bombe.type.signature.MethodSignature signature, String deobfuscatedName)
MappingSetModelFactory
MethodMapping
linked to the given ClassMapping
.createMethodMapping
in interface MappingSetModelFactory
parent
- 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)
MappingSetModelFactory
MethodParameterMapping
linked to the given MethodMapping
.createMethodParameterMapping
in interface MappingSetModelFactory
parent
- The method mapping to link toindex
- The index of the parameterdeobfuscatedName
- The de-obfuscated name to give the parameter