MCPcopy Create free account
hub / github.com/LFYSec/MScan / testMethod

Method testMethod

src/test/resources/pta/reflection/GetMember.java:19–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 static void testMethod() throws Exception {
20 Class<U> klass = U.class;
21 Method foo1 = klass.getDeclaredMethod("foo", int.class);
22 Method foo2 = klass.getMethod("foo", U.class);
23 use(foo1, foo2);
24 }
25
26 static void testGetClass() throws Exception {
27 U u = new U();

Callers 1

mainMethod · 0.95

Calls 3

useMethod · 0.95
getDeclaredMethodMethod · 0.80
getMethodMethod · 0.65

Tested by

no test coverage detected