Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9c99af67e645fb6363f1ab9ea750784ad916feef (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package x.y.z;
/*******************************************************************************
 * Copyright (c) 2013 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/

/**
 * Tests all tags are invalid when parent annotation is private or package default
 */
public @interface test3 {

	public @interface inner1 {

		/**
		 * @noextend
		 * @noinstantiate
		 * @noreference
		 */
		public static class Clazz {
		}

		/**
		 * @noextend
		 * @noimplement
		 * @noreference
		 */
		public interface inter {
		}

		/**
		 */
		public int field = 0;

		/**
		 * @noreference
		 */
		public @interface annot {

		}

		/**
		 * @noreference
		 */
		enum enu {
		}
	}

}

Back to the top