aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/annotations/aspectMembers/a/Annotations.java
blob: 16fef9a57b86273dd33951e635f6818a37ee1d76 (plain)
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
package a;

import java.lang.annotation.*;

@Target(ElementType.ANNOTATION_TYPE)
@interface AnnotationAnnotation {}

@Target(ElementType.CONSTRUCTOR)
@interface ConstructorAnnotation {}

@Target(ElementType.FIELD)
@interface FieldAnnotation {}

@Target(ElementType.LOCAL_VARIABLE)
@interface LocalVarAnnotation {}

@Target(ElementType.METHOD) 
@interface MethodAnnotation {}

@Target(ElementType.PACKAGE)
@interface PackageAnnotation {}

@Target(ElementType.PARAMETER) 
@interface ParameterAnnotation {}

@Target(ElementType.TYPE)
@interface TypeAnnotation {}

@Retention(RetentionPolicy.RUNTIME)
@interface AnyAnnotation {}