xref: /aosp_15_r20/art/test/725-imt-conflict-object/src/Main.java (revision 795d594fd825385562da6b089ea9b2033f3abf5a)
1*795d594fSAndroid Build Coastguard Worker /*
2*795d594fSAndroid Build Coastguard Worker  * Copyright (C) 2020 The Android Open Source Project
3*795d594fSAndroid Build Coastguard Worker  *
4*795d594fSAndroid Build Coastguard Worker  * Licensed under the Apache License, Version 2.0 (the "License");
5*795d594fSAndroid Build Coastguard Worker  * you may not use this file except in compliance with the License.
6*795d594fSAndroid Build Coastguard Worker  * You may obtain a copy of the License at
7*795d594fSAndroid Build Coastguard Worker  *
8*795d594fSAndroid Build Coastguard Worker  *      http://www.apache.org/licenses/LICENSE-2.0
9*795d594fSAndroid Build Coastguard Worker  *
10*795d594fSAndroid Build Coastguard Worker  * Unless required by applicable law or agreed to in writing, software
11*795d594fSAndroid Build Coastguard Worker  * distributed under the License is distributed on an "AS IS" BASIS,
12*795d594fSAndroid Build Coastguard Worker  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*795d594fSAndroid Build Coastguard Worker  * See the License for the specific language governing permissions and
14*795d594fSAndroid Build Coastguard Worker  * limitations under the License.
15*795d594fSAndroid Build Coastguard Worker  */
16*795d594fSAndroid Build Coastguard Worker 
17*795d594fSAndroid Build Coastguard Worker import java.lang.reflect.Method;
18*795d594fSAndroid Build Coastguard Worker 
19*795d594fSAndroid Build Coastguard Worker interface Itf {
method0a()20*795d594fSAndroid Build Coastguard Worker   public void method0a();
method0b()21*795d594fSAndroid Build Coastguard Worker   public void method0b();
method0c()22*795d594fSAndroid Build Coastguard Worker   public void method0c();
method0d()23*795d594fSAndroid Build Coastguard Worker   public void method0d();
method0e()24*795d594fSAndroid Build Coastguard Worker   public void method0e();
method0f()25*795d594fSAndroid Build Coastguard Worker   public void method0f();
method0g()26*795d594fSAndroid Build Coastguard Worker   public void method0g();
method0h()27*795d594fSAndroid Build Coastguard Worker   public void method0h();
method0i()28*795d594fSAndroid Build Coastguard Worker   public void method0i();
method0j()29*795d594fSAndroid Build Coastguard Worker   public void method0j();
method0k()30*795d594fSAndroid Build Coastguard Worker   public void method0k();
method0l()31*795d594fSAndroid Build Coastguard Worker   public void method0l();
method0m()32*795d594fSAndroid Build Coastguard Worker   public void method0m();
method0n()33*795d594fSAndroid Build Coastguard Worker   public void method0n();
method0o()34*795d594fSAndroid Build Coastguard Worker   public void method0o();
method0p()35*795d594fSAndroid Build Coastguard Worker   public void method0p();
method0q()36*795d594fSAndroid Build Coastguard Worker   public void method0q();
method0r()37*795d594fSAndroid Build Coastguard Worker   public void method0r();
method0s()38*795d594fSAndroid Build Coastguard Worker   public void method0s();
method0t()39*795d594fSAndroid Build Coastguard Worker   public void method0t();
method0u()40*795d594fSAndroid Build Coastguard Worker   public void method0u();
method0v()41*795d594fSAndroid Build Coastguard Worker   public void method0v();
method0w()42*795d594fSAndroid Build Coastguard Worker   public void method0w();
method0x()43*795d594fSAndroid Build Coastguard Worker   public void method0x();
method0y()44*795d594fSAndroid Build Coastguard Worker   public void method0y();
method0z()45*795d594fSAndroid Build Coastguard Worker   public void method0z();
method1a()46*795d594fSAndroid Build Coastguard Worker   public void method1a();
method1b()47*795d594fSAndroid Build Coastguard Worker   public void method1b();
method1c()48*795d594fSAndroid Build Coastguard Worker   public void method1c();
method1d()49*795d594fSAndroid Build Coastguard Worker   public void method1d();
method1e()50*795d594fSAndroid Build Coastguard Worker   public void method1e();
method1f()51*795d594fSAndroid Build Coastguard Worker   public void method1f();
method1g()52*795d594fSAndroid Build Coastguard Worker   public void method1g();
method1h()53*795d594fSAndroid Build Coastguard Worker   public void method1h();
method1i()54*795d594fSAndroid Build Coastguard Worker   public void method1i();
method1j()55*795d594fSAndroid Build Coastguard Worker   public void method1j();
method1k()56*795d594fSAndroid Build Coastguard Worker   public void method1k();
method1l()57*795d594fSAndroid Build Coastguard Worker   public void method1l();
method1m()58*795d594fSAndroid Build Coastguard Worker   public void method1m();
method1n()59*795d594fSAndroid Build Coastguard Worker   public void method1n();
method1o()60*795d594fSAndroid Build Coastguard Worker   public void method1o();
method1p()61*795d594fSAndroid Build Coastguard Worker   public void method1p();
method1q()62*795d594fSAndroid Build Coastguard Worker   public void method1q();
method1r()63*795d594fSAndroid Build Coastguard Worker   public void method1r();
method1s()64*795d594fSAndroid Build Coastguard Worker   public void method1s();
method1t()65*795d594fSAndroid Build Coastguard Worker   public void method1t();
method1u()66*795d594fSAndroid Build Coastguard Worker   public void method1u();
method1v()67*795d594fSAndroid Build Coastguard Worker   public void method1v();
method1w()68*795d594fSAndroid Build Coastguard Worker   public void method1w();
method1x()69*795d594fSAndroid Build Coastguard Worker   public void method1x();
method1y()70*795d594fSAndroid Build Coastguard Worker   public void method1y();
method1z()71*795d594fSAndroid Build Coastguard Worker   public void method1z();
method2a()72*795d594fSAndroid Build Coastguard Worker   public void method2a();
method2b()73*795d594fSAndroid Build Coastguard Worker   public void method2b();
method2c()74*795d594fSAndroid Build Coastguard Worker   public void method2c();
method2d()75*795d594fSAndroid Build Coastguard Worker   public void method2d();
method2e()76*795d594fSAndroid Build Coastguard Worker   public void method2e();
method2f()77*795d594fSAndroid Build Coastguard Worker   public void method2f();
method2g()78*795d594fSAndroid Build Coastguard Worker   public void method2g();
method2h()79*795d594fSAndroid Build Coastguard Worker   public void method2h();
method2i()80*795d594fSAndroid Build Coastguard Worker   public void method2i();
method2j()81*795d594fSAndroid Build Coastguard Worker   public void method2j();
method2k()82*795d594fSAndroid Build Coastguard Worker   public void method2k();
method2l()83*795d594fSAndroid Build Coastguard Worker   public void method2l();
method2m()84*795d594fSAndroid Build Coastguard Worker   public void method2m();
method2n()85*795d594fSAndroid Build Coastguard Worker   public void method2n();
method2o()86*795d594fSAndroid Build Coastguard Worker   public void method2o();
method2p()87*795d594fSAndroid Build Coastguard Worker   public void method2p();
method2q()88*795d594fSAndroid Build Coastguard Worker   public void method2q();
method2r()89*795d594fSAndroid Build Coastguard Worker   public void method2r();
method2s()90*795d594fSAndroid Build Coastguard Worker   public void method2s();
method2t()91*795d594fSAndroid Build Coastguard Worker   public void method2t();
method2u()92*795d594fSAndroid Build Coastguard Worker   public void method2u();
method2v()93*795d594fSAndroid Build Coastguard Worker   public void method2v();
method2w()94*795d594fSAndroid Build Coastguard Worker   public void method2w();
method2x()95*795d594fSAndroid Build Coastguard Worker   public void method2x();
method2y()96*795d594fSAndroid Build Coastguard Worker   public void method2y();
method2z()97*795d594fSAndroid Build Coastguard Worker   public void method2z();
method3a()98*795d594fSAndroid Build Coastguard Worker   public void method3a();
method3b()99*795d594fSAndroid Build Coastguard Worker   public void method3b();
method3c()100*795d594fSAndroid Build Coastguard Worker   public void method3c();
method3d()101*795d594fSAndroid Build Coastguard Worker   public void method3d();
method3e()102*795d594fSAndroid Build Coastguard Worker   public void method3e();
method3f()103*795d594fSAndroid Build Coastguard Worker   public void method3f();
method3g()104*795d594fSAndroid Build Coastguard Worker   public void method3g();
method3h()105*795d594fSAndroid Build Coastguard Worker   public void method3h();
method3i()106*795d594fSAndroid Build Coastguard Worker   public void method3i();
method3j()107*795d594fSAndroid Build Coastguard Worker   public void method3j();
method3k()108*795d594fSAndroid Build Coastguard Worker   public void method3k();
method3l()109*795d594fSAndroid Build Coastguard Worker   public void method3l();
method3m()110*795d594fSAndroid Build Coastguard Worker   public void method3m();
method3n()111*795d594fSAndroid Build Coastguard Worker   public void method3n();
method3o()112*795d594fSAndroid Build Coastguard Worker   public void method3o();
method3p()113*795d594fSAndroid Build Coastguard Worker   public void method3p();
method3q()114*795d594fSAndroid Build Coastguard Worker   public void method3q();
method3r()115*795d594fSAndroid Build Coastguard Worker   public void method3r();
method3s()116*795d594fSAndroid Build Coastguard Worker   public void method3s();
method3t()117*795d594fSAndroid Build Coastguard Worker   public void method3t();
method3u()118*795d594fSAndroid Build Coastguard Worker   public void method3u();
method3v()119*795d594fSAndroid Build Coastguard Worker   public void method3v();
method3w()120*795d594fSAndroid Build Coastguard Worker   public void method3w();
method3x()121*795d594fSAndroid Build Coastguard Worker   public void method3x();
method3y()122*795d594fSAndroid Build Coastguard Worker   public void method3y();
method3z()123*795d594fSAndroid Build Coastguard Worker   public void method3z();
124*795d594fSAndroid Build Coastguard Worker }
125*795d594fSAndroid Build Coastguard Worker 
126*795d594fSAndroid Build Coastguard Worker public class Main implements Itf {
127*795d594fSAndroid Build Coastguard Worker   public static Itf main;
main(String[] args)128*795d594fSAndroid Build Coastguard Worker   public static void main(String[] args) throws Exception {
129*795d594fSAndroid Build Coastguard Worker     main = new Main();
130*795d594fSAndroid Build Coastguard Worker     Class<?> c = Class.forName("TestCase");
131*795d594fSAndroid Build Coastguard Worker     Method m = c.getMethod("test");
132*795d594fSAndroid Build Coastguard Worker     String result = (String)m.invoke(null);
133*795d594fSAndroid Build Coastguard Worker     if (!"MainInstance".equals(result)) {
134*795d594fSAndroid Build Coastguard Worker       throw new Error("Expected 'MainInstance', got '" + result + "'");
135*795d594fSAndroid Build Coastguard Worker     }
136*795d594fSAndroid Build Coastguard Worker   }
137*795d594fSAndroid Build Coastguard Worker 
toString()138*795d594fSAndroid Build Coastguard Worker   public String toString() {
139*795d594fSAndroid Build Coastguard Worker     return "MainInstance";
140*795d594fSAndroid Build Coastguard Worker   }
141*795d594fSAndroid Build Coastguard Worker 
method0a()142*795d594fSAndroid Build Coastguard Worker   public void method0a() {}
method0b()143*795d594fSAndroid Build Coastguard Worker   public void method0b() {}
method0c()144*795d594fSAndroid Build Coastguard Worker   public void method0c() {}
method0d()145*795d594fSAndroid Build Coastguard Worker   public void method0d() {}
method0e()146*795d594fSAndroid Build Coastguard Worker   public void method0e() {}
method0f()147*795d594fSAndroid Build Coastguard Worker   public void method0f() {}
method0g()148*795d594fSAndroid Build Coastguard Worker   public void method0g() {}
method0h()149*795d594fSAndroid Build Coastguard Worker   public void method0h() {}
method0i()150*795d594fSAndroid Build Coastguard Worker   public void method0i() {}
method0j()151*795d594fSAndroid Build Coastguard Worker   public void method0j() {}
method0k()152*795d594fSAndroid Build Coastguard Worker   public void method0k() {}
method0l()153*795d594fSAndroid Build Coastguard Worker   public void method0l() {}
method0m()154*795d594fSAndroid Build Coastguard Worker   public void method0m() {}
method0n()155*795d594fSAndroid Build Coastguard Worker   public void method0n() {}
method0o()156*795d594fSAndroid Build Coastguard Worker   public void method0o() {}
method0p()157*795d594fSAndroid Build Coastguard Worker   public void method0p() {}
method0q()158*795d594fSAndroid Build Coastguard Worker   public void method0q() {}
method0r()159*795d594fSAndroid Build Coastguard Worker   public void method0r() {}
method0s()160*795d594fSAndroid Build Coastguard Worker   public void method0s() {}
method0t()161*795d594fSAndroid Build Coastguard Worker   public void method0t() {}
method0u()162*795d594fSAndroid Build Coastguard Worker   public void method0u() {}
method0v()163*795d594fSAndroid Build Coastguard Worker   public void method0v() {}
method0w()164*795d594fSAndroid Build Coastguard Worker   public void method0w() {}
method0x()165*795d594fSAndroid Build Coastguard Worker   public void method0x() {}
method0y()166*795d594fSAndroid Build Coastguard Worker   public void method0y() {}
method0z()167*795d594fSAndroid Build Coastguard Worker   public void method0z() {}
method1a()168*795d594fSAndroid Build Coastguard Worker   public void method1a() {}
method1b()169*795d594fSAndroid Build Coastguard Worker   public void method1b() {}
method1c()170*795d594fSAndroid Build Coastguard Worker   public void method1c() {}
method1d()171*795d594fSAndroid Build Coastguard Worker   public void method1d() {}
method1e()172*795d594fSAndroid Build Coastguard Worker   public void method1e() {}
method1f()173*795d594fSAndroid Build Coastguard Worker   public void method1f() {}
method1g()174*795d594fSAndroid Build Coastguard Worker   public void method1g() {}
method1h()175*795d594fSAndroid Build Coastguard Worker   public void method1h() {}
method1i()176*795d594fSAndroid Build Coastguard Worker   public void method1i() {}
method1j()177*795d594fSAndroid Build Coastguard Worker   public void method1j() {}
method1k()178*795d594fSAndroid Build Coastguard Worker   public void method1k() {}
method1l()179*795d594fSAndroid Build Coastguard Worker   public void method1l() {}
method1m()180*795d594fSAndroid Build Coastguard Worker   public void method1m() {}
method1n()181*795d594fSAndroid Build Coastguard Worker   public void method1n() {}
method1o()182*795d594fSAndroid Build Coastguard Worker   public void method1o() {}
method1p()183*795d594fSAndroid Build Coastguard Worker   public void method1p() {}
method1q()184*795d594fSAndroid Build Coastguard Worker   public void method1q() {}
method1r()185*795d594fSAndroid Build Coastguard Worker   public void method1r() {}
method1s()186*795d594fSAndroid Build Coastguard Worker   public void method1s() {}
method1t()187*795d594fSAndroid Build Coastguard Worker   public void method1t() {}
method1u()188*795d594fSAndroid Build Coastguard Worker   public void method1u() {}
method1v()189*795d594fSAndroid Build Coastguard Worker   public void method1v() {}
method1w()190*795d594fSAndroid Build Coastguard Worker   public void method1w() {}
method1x()191*795d594fSAndroid Build Coastguard Worker   public void method1x() {}
method1y()192*795d594fSAndroid Build Coastguard Worker   public void method1y() {}
method1z()193*795d594fSAndroid Build Coastguard Worker   public void method1z() {}
method2a()194*795d594fSAndroid Build Coastguard Worker   public void method2a() {}
method2b()195*795d594fSAndroid Build Coastguard Worker   public void method2b() {}
method2c()196*795d594fSAndroid Build Coastguard Worker   public void method2c() {}
method2d()197*795d594fSAndroid Build Coastguard Worker   public void method2d() {}
method2e()198*795d594fSAndroid Build Coastguard Worker   public void method2e() {}
method2f()199*795d594fSAndroid Build Coastguard Worker   public void method2f() {}
method2g()200*795d594fSAndroid Build Coastguard Worker   public void method2g() {}
method2h()201*795d594fSAndroid Build Coastguard Worker   public void method2h() {}
method2i()202*795d594fSAndroid Build Coastguard Worker   public void method2i() {}
method2j()203*795d594fSAndroid Build Coastguard Worker   public void method2j() {}
method2k()204*795d594fSAndroid Build Coastguard Worker   public void method2k() {}
method2l()205*795d594fSAndroid Build Coastguard Worker   public void method2l() {}
method2m()206*795d594fSAndroid Build Coastguard Worker   public void method2m() {}
method2n()207*795d594fSAndroid Build Coastguard Worker   public void method2n() {}
method2o()208*795d594fSAndroid Build Coastguard Worker   public void method2o() {}
method2p()209*795d594fSAndroid Build Coastguard Worker   public void method2p() {}
method2q()210*795d594fSAndroid Build Coastguard Worker   public void method2q() {}
method2r()211*795d594fSAndroid Build Coastguard Worker   public void method2r() {}
method2s()212*795d594fSAndroid Build Coastguard Worker   public void method2s() {}
method2t()213*795d594fSAndroid Build Coastguard Worker   public void method2t() {}
method2u()214*795d594fSAndroid Build Coastguard Worker   public void method2u() {}
method2v()215*795d594fSAndroid Build Coastguard Worker   public void method2v() {}
method2w()216*795d594fSAndroid Build Coastguard Worker   public void method2w() {}
method2x()217*795d594fSAndroid Build Coastguard Worker   public void method2x() {}
method2y()218*795d594fSAndroid Build Coastguard Worker   public void method2y() {}
method2z()219*795d594fSAndroid Build Coastguard Worker   public void method2z() {}
method3a()220*795d594fSAndroid Build Coastguard Worker   public void method3a() {}
method3b()221*795d594fSAndroid Build Coastguard Worker   public void method3b() {}
method3c()222*795d594fSAndroid Build Coastguard Worker   public void method3c() {}
method3d()223*795d594fSAndroid Build Coastguard Worker   public void method3d() {}
method3e()224*795d594fSAndroid Build Coastguard Worker   public void method3e() {}
method3f()225*795d594fSAndroid Build Coastguard Worker   public void method3f() {}
method3g()226*795d594fSAndroid Build Coastguard Worker   public void method3g() {}
method3h()227*795d594fSAndroid Build Coastguard Worker   public void method3h() {}
method3i()228*795d594fSAndroid Build Coastguard Worker   public void method3i() {}
method3j()229*795d594fSAndroid Build Coastguard Worker   public void method3j() {}
method3k()230*795d594fSAndroid Build Coastguard Worker   public void method3k() {}
method3l()231*795d594fSAndroid Build Coastguard Worker   public void method3l() {}
method3m()232*795d594fSAndroid Build Coastguard Worker   public void method3m() {}
method3n()233*795d594fSAndroid Build Coastguard Worker   public void method3n() {}
method3o()234*795d594fSAndroid Build Coastguard Worker   public void method3o() {}
method3p()235*795d594fSAndroid Build Coastguard Worker   public void method3p() {}
method3q()236*795d594fSAndroid Build Coastguard Worker   public void method3q() {}
method3r()237*795d594fSAndroid Build Coastguard Worker   public void method3r() {}
method3s()238*795d594fSAndroid Build Coastguard Worker   public void method3s() {}
method3t()239*795d594fSAndroid Build Coastguard Worker   public void method3t() {}
method3u()240*795d594fSAndroid Build Coastguard Worker   public void method3u() {}
method3v()241*795d594fSAndroid Build Coastguard Worker   public void method3v() {}
method3w()242*795d594fSAndroid Build Coastguard Worker   public void method3w() {}
method3x()243*795d594fSAndroid Build Coastguard Worker   public void method3x() {}
method3y()244*795d594fSAndroid Build Coastguard Worker   public void method3y() {}
method3z()245*795d594fSAndroid Build Coastguard Worker   public void method3z() {}
246*795d594fSAndroid Build Coastguard Worker }
247