DeprecatedClassByAnnotation.java revision 3233:b5d08bc0d224
1139749Simp/* 250461Swpaul * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. 350461Swpaul * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 450461Swpaul * 550461Swpaul * This code is free software; you can redistribute it and/or modify it 650461Swpaul * under the terms of the GNU General Public License version 2 only, as 750461Swpaul * published by the Free Software Foundation. 850461Swpaul * 950461Swpaul * This code is distributed in the hope that it will be useful, but WITHOUT 1050461Swpaul * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1150461Swpaul * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1250461Swpaul * version 2 for more details (a copy is included in the LICENSE file that 1350461Swpaul * accompanied this code). 1450461Swpaul * 1550461Swpaul * You should have received a copy of the GNU General Public License version 1650461Swpaul * 2 along with this work; if not, write to the Free Software Foundation, 1750461Swpaul * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1850461Swpaul * 1950461Swpaul * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2050461Swpaul * or visit www.oracle.com if you need additional information or have any 2150461Swpaul * questions. 2250461Swpaul */ 2350461Swpaul 2450461Swpaulpackage pkg2; 2550461Swpaul 2650461Swpaul@Deprecated() 2750461Swpaulpublic class DeprecatedClassByAnnotation { 2850461Swpaul 2950461Swpaul @Deprecated() 3050461Swpaul public int field; 3150461Swpaul 3250461Swpaul @Deprecated() 3350461Swpaul public DeprecatedClassByAnnotation() {} 34119418Sobrien 35119418Sobrien @Deprecated() 36119418Sobrien public void method() {} 3750461Swpaul} 3850461Swpaul