1 /*
2 * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @summary Tests com.sun.beans.TypeResolver
27 * @author Eamonn McManus
28 */
29
30 import com.sun.beans.TypeResolver;
31
32 import java.lang.annotation.Annotation;
33 import java.lang.reflect.AnnotatedType;
34 import java.lang.reflect.Field;
35 import java.lang.reflect.GenericDeclaration;
36 import java.lang.reflect.Method;
37 import java.lang.reflect.Type;
38 import java.lang.reflect.TypeVariable;
39 import java.lang.reflect.WildcardType;
40 import java.util.ArrayList;
41 import java.util.Arrays;
42 import java.util.Comparator;
43 import java.util.List;
44 import java.util.Map;
45
46 import sun.reflect.generics.reflectiveObjects.GenericArrayTypeImpl;
47 import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl;
|
1 /*
2 * Copyright (c) 2007, 2015, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @summary Tests com.sun.beans.TypeResolver
27 * @author Eamonn McManus
28 * @modules java.base/sun.reflect.generics.reflectiveObjects
29 * java.desktop/com.sun.beans
30 */
31
32 import com.sun.beans.TypeResolver;
33
34 import java.lang.annotation.Annotation;
35 import java.lang.reflect.AnnotatedType;
36 import java.lang.reflect.Field;
37 import java.lang.reflect.GenericDeclaration;
38 import java.lang.reflect.Method;
39 import java.lang.reflect.Type;
40 import java.lang.reflect.TypeVariable;
41 import java.lang.reflect.WildcardType;
42 import java.util.ArrayList;
43 import java.util.Arrays;
44 import java.util.Comparator;
45 import java.util.List;
46 import java.util.Map;
47
48 import sun.reflect.generics.reflectiveObjects.GenericArrayTypeImpl;
49 import sun.reflect.generics.reflectiveObjects.ParameterizedTypeImpl;
|