File: Negative7.java

package info (click to toggle)
eclipse-jdt-core 4.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 98,212 kB
  • sloc: java: 1,490,876; xml: 6,198; makefile: 5; sh: 1
file content (31 lines) | stat: -rw-r--r-- 1,017 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
 * Copyright (c) 2008 BEA Systems, Inc.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *******************************************************************************/
package targets.negative.pa;

/**
 * Test case for annotations on non-generic parameters.
 * This code contains missing types, including missing annotation types.  
 * The missing types all start with 'M'.
 * The desired behavior is specified in the javadoc for package 
 * javax.lang.model.element: in general, missing types should be replaced
 * by empty types with the same name.
 */
@interface A1 {}

interface Negative7 extends M11 {
	@A1 int method1(@A1 int arg0);
}

interface Negative7A extends Cloneable {
	@A1 int method1(@A1 int arg0);
}