MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / invoke

Method invoke

generics/DynamicProxyMixin.java:25–31  ·  view source on GitHub ↗
(Object proxy, Method method,
    Object[] args)

Source from the content-addressed store, hash-verified

23 }
24 }
25 @Override
26 public Object invoke(Object proxy, Method method,
27 Object[] args) throws Throwable {
28 String methodName = method.getName();
29 Object delegate = delegatesByMethod.get(methodName);
30 return method.invoke(delegate, args);
31 }
32 @SuppressWarnings("unchecked")
33 public static Object newInstance(Tuple2... pairs) {
34 Class[] interfaces = new Class[pairs.length];

Callers 5

speakMethod · 0.45
processMethod · 0.45
createTestObjectMethod · 0.45
applyMethod · 0.45
performMethod · 0.45

Calls 1

getMethod · 0.65

Tested by

no test coverage detected