MCPcopy Create free account
hub / github.com/FabricMC/Matcher / visitMethod

Method visitMethod

src/main/java/matcher/mapping/Mappings.java:91–106  ·  view source on GitHub ↗
(String srcName, String srcDesc)

Source from the content-addressed store, hash-verified

89 }
90
91 @Override
92 public boolean visitMethod(String srcName, String srcDesc) {
93 field = null;
94 arg = null;
95 var = null;
96
97 cur = method = cls.getMethod(srcName, srcDesc, fieldSource.type);
98
99 if (method == null || !method.isReal()) {
100 Matcher.LOGGER.warn("Can't find mapped method {}/{}{}",
101 cls.getName(fieldSource.type), srcName, srcDesc);
102 return false;
103 }
104
105 return true;
106 }
107
108 @Override
109 public boolean visitMethodArg(int argPosition, int lvIndex, String srcArgName) {

Callers 1

exportMethodsMethod · 0.45

Calls 3

getNameMethod · 0.65
getMethodMethod · 0.45
isRealMethod · 0.45

Tested by

no test coverage detected