| 1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2008 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 |
* Test case for annotations on non-generic parameters. |
| 15 |
* This code contains missing types, including missing annotation types. |
| 16 |
* The missing types all start with 'M'. |
| 17 |
* The desired behavior is specified in the javadoc for package |
| 18 |
* javax.lang.model.element: in general, missing types should be replaced |
| 19 |
* by empty types with the same name. |
| 20 |
*/ |
| 21 |
@interface A1 {} |
| 22 |
|
| 23 |
interface Negative7 extends M11 { |
| 24 |
@A1 int method1(@A1 int arg0); |
| 25 |
} |
| 26 |
|
| 27 |
interface Negative7A extends Cloneable { |
| 28 |
@A1 int method1(@A1 int arg0); |
| 29 |
} |
| 30 |
|
| 31 |
|