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

Method testConstructor

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

Source from the content-addressed store, hash-verified

10 }
11
12 static void testConstructor() throws Exception {
13 Class<U> klass = U.class;
14 Constructor<U> ctor1 = klass.getConstructor(V.class);
15 Constructor<U> ctor2 = klass.getDeclaredConstructor();
16 use(ctor1, ctor2);
17 }
18
19 static void testMethod() throws Exception {
20 Class<U> klass = U.class;

Callers 1

mainMethod · 0.95

Calls 1

useMethod · 0.95

Tested by

no test coverage detected