MCPcopy Create free account
hub / github.com/GraxCode/zelixkiller / mapMethodName

Method mapMethodName

src/me/lpk/mapping/SkidRemapper.java:75–88  ·  view source on GitHub ↗
(String owner, String name, String desc)

Source from the content-addressed store, hash-verified

73 }
74
75 @Override
76 public String mapMethodName(String owner, String name, String desc) {
77 MappedClass mc = mappings.get(owner);
78 if (mc == null) {
79 // Default behavior if there is no mapping for the given method.
80 return super.mapMethodName(owner, name, desc);
81 } else {
82 MappedMember mm = ParentUtils.findMethodInParentInclusive(mc, name, desc, true);
83 if (mm != null) {
84 return super.mapMethodName(owner, mm.getNewName(), desc);
85 }
86 }
87 return super.mapMethodName(owner, name, desc);
88 }
89
90 @Override
91 public String mapInvokeDynamicMethodName(String name, String desc) {

Callers

nothing calls this directly

Calls 3

getNewNameMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected