Class MappingFieldSrg

java.lang.Object
org.spongepowered.asm.obfuscation.mapping.common.MappingField
org.spongepowered.asm.obfuscation.mapping.mcp.MappingFieldSrg
All Implemented Interfaces:
IMapping<MappingField>

public class MappingFieldSrg extends MappingField
An SRG field mapping
  • Constructor Details

    • MappingFieldSrg

      public MappingFieldSrg(String srg)
    • MappingFieldSrg

      public MappingFieldSrg(MappingField field)
  • Method Details

    • serialise

      public String serialise()
      Description copied from interface: IMapping
      Get a representation of this mapping for serialisation. Individual writers are free to use their own mappings, this method is for convenience only.
      Specified by:
      serialise in interface IMapping<MappingField>
      Overrides:
      serialise in class MappingField
      Returns:
      string representation of this mapping