MCPcopy Create free account
hub / github.com/core-lib/xjar / invoke

Method invoke

src/main/java/io/xjar/reflection/XMethod.java:19–25  ·  view source on GitHub ↗
(Object target, Object... args)

Source from the content-addressed store, hash-verified

17 }
18
19 public XValue invoke(Object target, Object... args) throws InvocationTargetException {
20 try {
21 return new XValue(method.invoke(target, args));
22 } catch (IllegalAccessException e) {
23 throw new IllegalStateException(e);
24 }
25 }
26
27 public Method method() {
28 return method;

Callers 3

launchMethod · 0.80
findClassMethod · 0.80
findClassMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected