equal
deleted
inserted
replaced
|
1 @interface pkg1.A |
|
2 elements: |
|
3 String value() default "sigh" |
|
4 int i() default 2 |
|
5 double d() default 3.14 |
|
6 boolean b() default true |
|
7 java.lang.Class c() default java.lang.Boolean.class |
|
8 java.lang.Class<? extends java.lang.Number> w() default java.lang.Long.class |
|
9 ElementType e() default java.lang.annotation.ElementType.TYPE |
|
10 A a() default @pkg1.A(d=2.718) |
|
11 java.lang.String[] sa() default {"up", "down"} |
|
12 |
|
13 method pkg1.B.m1() |
|
14 signature: () |
|
15 () |
|
16 annotations: |
|
17 @pkg1.A |
|
18 returns: |
|
19 void |
|
20 method pkg1.B.m2() |
|
21 signature: () |
|
22 () |
|
23 annotations: |
|
24 @pkg1.A("flip") |
|
25 returns: |
|
26 void |
|
27 method pkg1.B.m3() |
|
28 signature: () |
|
29 () |
|
30 annotations: |
|
31 @pkg1.A("flop") |
|
32 returns: |
|
33 void |
|
34 method pkg1.B.m4() |
|
35 signature: () |
|
36 () |
|
37 annotations: |
|
38 @pkg1.A(c=java.lang.Boolean.class, w=java.lang.Long.class, sa={}) |
|
39 returns: |
|
40 void |
|
41 method pkg1.B.m5() |
|
42 signature: () |
|
43 () |
|
44 annotations: |
|
45 @pkg1.A(i=0, e=java.lang.annotation.ElementType.FIELD) |
|
46 returns: |
|
47 void |
|
48 method pkg1.B.m6() |
|
49 signature: () |
|
50 () |
|
51 annotations: |
|
52 @pkg1.A(a=@pkg1.A("splat")) |
|
53 returns: |
|
54 void |
|
55 |