MCPcopy Create free account
hub / github.com/ReadyTalk/avian / invoke

Method invoke

test/Annotations.java:51–53  ·  view source on GitHub ↗
(Object proxy, Method method, Object... args)

Source from the content-addressed store, hash-verified

49 ClassLoader loader = Annotations.class.getClassLoader();
50 InvocationHandler handler = new InvocationHandler() {
51 public Object invoke(Object proxy, Method method, Object... args) {
52 return method.getDefaultValue();
53 }
54 };
55 Test test = (Test)
56 Proxy.newProxyInstance(loader, new Class[] { Test.class }, handler);

Callers

nothing calls this directly

Calls 1

getDefaultValueMethod · 0.80

Tested by

no test coverage detected