public class MCPNamingService
extends java.lang.Object
implements cpw.mods.modlauncher.api.INameMappingService
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.String,java.lang.String> |
fields |
private static org.apache.logging.log4j.Logger |
LOGGER |
private java.util.HashMap<java.lang.String,java.lang.String> |
methods |
Constructor and Description |
---|
MCPNamingService() |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
findFieldMapping(java.lang.String origin) |
private java.lang.String |
findMapping(cpw.mods.modlauncher.api.INameMappingService.Domain domain,
java.lang.String srgName) |
private java.lang.String |
findMethodMapping(java.lang.String origin) |
private static void |
loadMappings(java.lang.String mappingFileName,
java.util.function.BiConsumer<java.lang.String,java.lang.String> mapStore) |
java.lang.String |
mappingName() |
java.lang.String |
mappingVersion() |
java.util.function.BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,java.lang.String,java.lang.String> |
namingFunction() |
java.util.Map.Entry<java.lang.String,java.lang.String> |
understanding() |
private static final org.apache.logging.log4j.Logger LOGGER
private java.util.HashMap<java.lang.String,java.lang.String> methods
private java.util.HashMap<java.lang.String,java.lang.String> fields
public java.lang.String mappingName()
mappingName
in interface cpw.mods.modlauncher.api.INameMappingService
public java.lang.String mappingVersion()
mappingVersion
in interface cpw.mods.modlauncher.api.INameMappingService
public java.util.Map.Entry<java.lang.String,java.lang.String> understanding()
understanding
in interface cpw.mods.modlauncher.api.INameMappingService
public java.util.function.BiFunction<cpw.mods.modlauncher.api.INameMappingService.Domain,java.lang.String,java.lang.String> namingFunction()
namingFunction
in interface cpw.mods.modlauncher.api.INameMappingService
private java.lang.String findMapping(cpw.mods.modlauncher.api.INameMappingService.Domain domain, java.lang.String srgName)
private java.lang.String findMethodMapping(java.lang.String origin)
private java.lang.String findFieldMapping(java.lang.String origin)
private static void loadMappings(java.lang.String mappingFileName, java.util.function.BiConsumer<java.lang.String,java.lang.String> mapStore)