Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/model/pc/Deprecation.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2007 BEA Systems, Inc.
3 *
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
8 *
9 * SPDX-License-Identifier: EPL-2.0
10 *******************************************************************************/
11 package targets.model.pc;
12
13 @SuppressWarnings("deprecation")
14 @Deprecated
15 public class Deprecation {
16 @Deprecated
17 public class deprecatedClass {}
18
19 @Deprecated
20 public enum deprecatedEnum { Val1 }
21
22 @Deprecated
23 public interface deprecatedInterface {}
24
25 @Deprecated
26 public String deprecatedField;
27
28 @Deprecated
29 void deprecatedMethod() {}
30
31 public class nonDeprecatedClass {}
32
33 public enum nonDeprecatedEnum { Val1 }
34
35 public interface nonDeprecatedInterface {}
36
37 public String nonDeprecatedField;
38
39 void nonDeprecatedMethod() {}
40 }