Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/model/pb/D.java

raw
1 /*******************************************************************************
2 * Copyright (c) 2007 - 2009 BEA Systems, Inc. and others
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.pb;
12
13 import targets.model.pa.AnnoZ;
14 import org.eclipse.jdt.compiler.apt.tests.annotations.TypedAnnos.AnnoArrayString;
15
16 @AnnoZ(annoZString = "annoZOnD")
17 public class D extends AB {
18 public enum DEnum { DEnum1, DEnum2, DEnum3 }
19
20 @AnnoZ(annoZint = 31, annoZString = "annoZOnDMethod")
21 public void methodDvoid(DEnum dEnum1) {}
22
23 @AnnoZ(annoZString = "annoZOnDMethod2", annoZint = 12)
24 public void methodDvoid2() {}
25
26 @AnnoArrayString(value = "methodDvoid3Value")
27 public void methodDvoid3() {}
28 }
29
30 // Should inherit AnnoZ
31 class DChild extends D {}