Debian Codegraph @

org.eclipse.jdt.compiler.apt.tests/resources/targets/negative/pa/Negative5.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.negative.pa;
12
13 /**
14 * This code contains missing types. The missing types all start with 'M'.
15 * The desired behavior is specified in the javadoc for package
16 * javax.lang.model.element: in general, missing types should be replaced
17 * by empty types with the same name.
18 */
19 class Negative5 {
20 class C1 extends M1 implements M2 {}
21 class C2 extends M3<M4<M5>> implements M6<M7>, M8<M9> {}
22 interface I1 extends M10 {}
23 interface I2 extends M11<M12> {}
24 }
25
26 interface INegative5 {
27 class C101 extends M101 implements M103, M104 {}
28 class C102 extends M105<M106> implements M107<M108, MP109> {}
29 interface I101 extends M110, M111 {}
30 interface I102 extends M112, M113<M114> {}
31 }