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

Method getArg

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

Source from the content-addressed store, hash-verified

260 }
261
262 public MethodVarInstance getArg(int index) {
263 if (index < 0 || index >= args.length) throw new IllegalArgumentException("invalid arg index: "+index);
264
265 return args[index];
266 }
267
268 public MethodVarInstance getArg(String id) {
269 return getArg(Integer.parseInt(id));

Callers 5

getVarMethod · 0.95
mapArgNameMethod · 0.95
propagateNamesMethod · 0.80
getMethodVarMethod · 0.80
getScoreMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected