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

Method getVar

src/main/java/matcher/type/MethodInstance.java:272–276  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

270 }
271
272 public MethodVarInstance getVar(int index) {
273 if (index < 0 || index >= vars.length) throw new IllegalArgumentException("invalid var index: "+index);
274
275 return vars[index];
276 }
277
278 public MethodVarInstance getVar(String id) {
279 return getVar(Integer.parseInt(id));

Callers 5

importMatchesMethod · 0.95
processMethod · 0.45
processRefTypeSigMethod · 0.45
getMethodVarMethod · 0.45
getScoreMethod · 0.45

Calls 1

getArgMethod · 0.95

Tested by

no test coverage detected