public class TSrgWriter extends TextMappingsWriter
MappingsWriter for the TSRG format.writerALPHABETISE_FIELDS, ALPHABETISE_MAPPINGS, ALPHABETISE_METHODS| Constructor and Description |
|---|
TSrgWriter(Writer writer)
Creates a new TSRG mappings writer, from the given
Writer. |
| Modifier and Type | Method and Description |
|---|---|
void |
write(MappingSet mappings)
Writes the given mappings to the previously given output.
|
protected void |
writeClassMapping(ClassMapping<?,?> mapping)
Writes the given
ClassMapping, alongside its member mappings. |
protected void |
writeFieldMapping(FieldMapping mapping)
Writes the given
FieldMapping. |
protected void |
writeMethodMapping(MethodMapping mapping)
Writes the given
MethodMapping. |
closepublic void write(MappingSet mappings)
MappingsWriterwrite in class MappingsWritermappings - The mapping setprotected void writeClassMapping(ClassMapping<?,?> mapping)
ClassMapping, alongside its member mappings.mapping - The class mappingprotected void writeFieldMapping(FieldMapping mapping)
FieldMapping.mapping - The field mappingprotected void writeMethodMapping(MethodMapping mapping)
MethodMapping.mapping - The method mapping