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

Method main

src/test/resources/pta/basic/Clinit.java:10–23  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

8 }
9
10 public static void main(String[] args) {
11 new A();
12 B[][][] barr = new B[1][1][1]; // newarray doesn't trigger <clinit>
13 new D();
14 E.f = new Object();
15 Object o = F.f;
16 G g;
17 H.foo();
18 new I();
19 // A a = K.f;
20 // By JLS, this does not trigger initialization of interface K,
21 // as K does not declare default methods.
22 new L();
23 }
24}
25
26class A {

Callers

nothing calls this directly

Calls 1

fooMethod · 0.95

Tested by

no test coverage detected