Path: blob/master/test/langtools/jdk/javadoc/doclet/testDeprecatedDocs/pkg/TestInterface.java
40983 views
/*1* Copyright (c) 2003, 2016, 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*/2223package pkg;2425import java.util.Iterator;26import java.util.List;27import java.util.Map;2829/**30* @deprecated interface_test1 passes.31*/32@Deprecated(forRemoval=true)33public class TestInterface {3435/**36* @deprecated interface_test2 passes.37*/38public int field;3940/**41* @deprecated interface_test3 passes.42*/43public TestInterface() {}4445/**46* @deprecated interface_test4 passes.47*/48public void method() {}4950/**51* @deprecated methodA52*/53public void methodA(Class<?> a) {}5455/**56* @deprecated methodB57*/58public void methodB(List<String> list){}5960/**61* @deprecated methodC62*/63public void methodC(List<List<String>> list){}64/**65* @deprecated methodD66*/67public void methodD(List<? extends Iterator<String>> list){}68/**69* @deprecated methodE70*/71public void methodE(Map<Integer, String> map){}72/**73* @deprecated methodF74*/75public void methodF(List<? super Integer> list){}76}777879