MCPcopy Create free account
hub / github.com/chibash/stone / invoke

Method invoke

src/chap14/JavaFunction.java:16–22  ·  view source on GitHub ↗
(Object[] args)

Source from the content-addressed store, hash-verified

14 return "chap14.java." + name;
15 }
16 public Object invoke(Object[] args) {
17 try {
18 return clazz.getDeclaredMethods()[0].invoke(null, args);
19 } catch (Exception e) {
20 throw new StoneException(e.getMessage());
21 }
22 }
23}

Callers 3

evalMethod · 0.95
make0Method · 0.45
callFunctionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected