MCPcopy Create free account
hub / github.com/asLody/VirtualApp / call

Method call

VirtualApp/lib/src/main/java/mirror/RefMethod.java:61–74  ·  view source on GitHub ↗
(Object receiver, Object... args)

Source from the content-addressed store, hash-verified

59 }
60
61 public T call(Object receiver, Object... args) {
62 try {
63 return (T) this.method.invoke(receiver, args);
64 } catch (InvocationTargetException e) {
65 if (e.getCause() != null) {
66 e.getCause().printStackTrace();
67 } else {
68 e.printStackTrace();
69 }
70 } catch (Throwable e) {
71 e.printStackTrace();
72 }
73 return null;
74 }
75
76 public T callWithException(Object receiver, Object... args) throws Throwable {
77 try {

Callers 2

installProviderMethod · 0.45
AppPagerAdapterMethod · 0.45

Calls 2

printStackTraceMethod · 0.80
invokeMethod · 0.45

Tested by

no test coverage detected