Path: blob/aarch64-shenandoah-jdk8u272-b10/langtools/test/tools/javap/4870651/Test.java
32285 views
/*1* Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/2223import java.util.*;2425abstract class Test<T,E extends Exception & Comparable<T>,U extends Comparable> {26T t;2728Test(T t) { }29<G> Test(G g, int i) { }3031Test(String... args) { }32Test(int i, Object[]... args) { }33abstract void v1(String... args);34abstract void v2(int i, String[]... args);3536abstract void a1(int x);37abstract void a2(int[] x);38abstract void a3(T x);39abstract void a4(T[] x);4041abstract int r1();42abstract int[] r2();43abstract T r3();44abstract T[] r4();4546abstract <G> void ga1(int x);47abstract <G> void ga2(int[] x);48abstract <G> void ga3(G x);49abstract <G> void ga4(G[] x);5051abstract <G> int gr1();52abstract <G> int[] gr2();53abstract <G> G gr3();54abstract <G> G[] gr4();5556abstract <G extends Exception> void ge() throws G;5758abstract void w(List<?> l);59abstract void we(List<? extends T> l);60abstract void ws(List<? super T> l);6162abstract void t1() throws Error;63abstract void t2() throws E;64abstract void t3() throws E,Error;6566abstract void i1(Test<T, E, Comparable> x);67abstract void i3(Test<T, E, Comparable>.Inner<String> x);6869class Inner<Q> { }70class Inner2<Q> extends Inner<Q> { }7172class Simple { }7374enum Enum { e1, e2, e3 }75}767778