summaryrefslogtreecommitdiffstats
path: root/tests/bugs170/xmldefs/Anno4.java
blob: ebff22092d791aee2a5947d0bbcbb3110952105a (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
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@interface AnnoString {
  String value() default "xyz";
  String sss() default "xyz";
}

@Retention(RetentionPolicy.RUNTIME)
@interface AnnoLong {
  long value() default 111L;
  long jjj() default 111L;
}

@Retention(RetentionPolicy.RUNTIME)
@interface AnnoBoolean {
  boolean value() default false;
  boolean zzz() default false;
}

@Retention(RetentionPolicy.RUNTIME)
@interface AnnoClass {
  Class value() default String.class;
  Class ccc() default String.class;
}