Lines Matching refs:Main1
17 class Main1 { class
52 class Main2 extends Main1 {
64 class Main3 extends Main1 {
71 static Main1 sMain1;
72 static Main1 sMain2;
94 sMain1.foo(sMain1.getClass() == Main1.class ? 1 : 2); in testOverride()
122 sMain1.foo(sMain1.getClass() == Main1.class ? 1 : 2); in testOverride()
129 sMain2.foo(sMain2.getClass() == Main1.class ? 1 : 2); in testOverride()
133 static Main1[] sArray;
135 static long calcValue(Main1 m) { in calcValue()
155 sArray = new Main1[3]; in testNoOverride()
156 sArray[0] = new Main1(); in testNoOverride()
210 sMain1 = new Main1(); in main()
216 assertSingleImplementation(Main1.class, "foo", true); in main()
220 assertSingleImplementation(Main1.class, "getValue1", true); in main()
232 assertSingleImplementation(Main1.class, "foo", false); in main()
233 assertSingleImplementation(Main1.class, "getValue1", true); in main()
247 static Main1 createMain2() { in createMain2()
250 static Main1 createMain3() { in createMain3()