Java Code Examples for org.objectweb.asm.commons.Remapper#mapMethodName()
The following examples show how to use
org.objectweb.asm.commons.Remapper#mapMethodName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ObfMapping.java From GregTech with GNU Lesser General Public License v3.0 | 6 votes |
public ObfMapping map(Remapper mapper) { if (mapper == null) { return this; } if (isMethod()) { s_name = mapper.mapMethodName(s_owner, s_name, s_desc); } else if (isField()) { s_name = mapper.mapFieldName(s_owner, s_name, s_desc); } s_owner = mapper.mapType(s_owner); if (isMethod()) { s_desc = mapper.mapMethodDesc(s_desc); } else if (s_desc.length() > 0) { s_desc = mapper.mapDesc(s_desc); } return this; }
Example 2
Source File: ObfMapping.java From CodeChickenLib with GNU Lesser General Public License v2.1 | 6 votes |
public ObfMapping map(Remapper mapper) { if (mapper == null) { return this; } if (isMethod()) { s_name = mapper.mapMethodName(s_owner, s_name, s_desc); } else if (isField()) { s_name = mapper.mapFieldName(s_owner, s_name, s_desc); } s_owner = mapper.mapType(s_owner); if (isMethod()) { s_desc = mapper.mapMethodDesc(s_desc); } else if (s_desc.length() > 0) { s_desc = mapper.mapDesc(s_desc); } return this; }
Example 3
Source File: ObfMapping.java From NOVA-Core with GNU Lesser General Public License v3.0 | 6 votes |
public ObfMapping map(Remapper mapper) { if (isMethod()) { s_name = mapper.mapMethodName(s_owner, s_name, s_desc); } else if (isField()) { s_name = mapper.mapFieldName(s_owner, s_name, s_desc); } s_owner = mapper.mapType(s_owner); if (isMethod()) { s_desc = mapper.mapMethodDesc(s_desc); } else if (s_desc.length() > 0) { s_desc = mapper.mapDesc(s_desc); } return this; }
Example 4
Source File: ObfMapping.java From NOVA-Core with GNU Lesser General Public License v3.0 | 6 votes |
public ObfMapping map(Remapper mapper) { if (isMethod()) { s_name = mapper.mapMethodName(s_owner, s_name, s_desc); } else if (isField()) { s_name = mapper.mapFieldName(s_owner, s_name, s_desc); } s_owner = mapper.mapType(s_owner); if (isMethod()) { s_desc = mapper.mapMethodDesc(s_desc); } else if (s_desc.length() > 0) { s_desc = mapper.mapDesc(s_desc); } return this; }
Example 5
Source File: ObfMapping.java From NOVA-Core with GNU Lesser General Public License v3.0 | 6 votes |
public ObfMapping map(Remapper mapper) { if (isMethod()) { s_name = mapper.mapMethodName(s_owner, s_name, s_desc); } else if (isField()) { s_name = mapper.mapFieldName(s_owner, s_name, s_desc); } s_owner = mapper.mapType(s_owner); if (isMethod()) { s_desc = mapper.mapMethodDesc(s_desc); } else if (s_desc.length() > 0) { s_desc = mapper.mapDesc(s_desc); } return this; }
Example 6
Source File: ObfMapping.java From CodeChickenLib with GNU Lesser General Public License v2.1 | 6 votes |
public ObfMapping map(Remapper mapper) { if (mapper == null) return this; if (isMethod()) s_name = mapper.mapMethodName(s_owner, s_name, s_desc); else if (isField()) s_name = mapper.mapFieldName(s_owner, s_name, s_desc); s_owner = mapper.mapType(s_owner); if (isMethod()) s_desc = mapper.mapMethodDesc(s_desc); else if (s_desc.length() > 0) s_desc = mapper.mapDesc(s_desc); return this; }