MCPcopy Create free account
hub / github.com/LSPosed/LSPlant / NeedInitialize

Class NeedInitialize

test/src/main/java/org/lsposed/lsplant/LSPTest.java:30–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30 public static class NeedInitialize {
31 static int x;
32
33 static {
34 x = 0;
35 }
36
37 static boolean staticMethod() {
38 try {
39 return x != 0;
40 } catch (Throwable e) {
41 return false;
42 }
43 }
44
45 static boolean callStaticMethod() {
46 try {
47 return staticMethod();
48 } catch (Throwable e) {
49 return false;
50 }
51 }
52 }
53
54 public interface ForProxy {
55 String abstractMethod(String a, boolean b, byte c, short d, int e, long f, float g, double h, Integer i, Long j);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected