56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
|
@interface pkg1.A
|
||
|
elements:
|
||
|
String value() default "sigh"
|
||
|
int i() default 2
|
||
|
double d() default 3.14
|
||
|
boolean b() default true
|
||
|
java.lang.Class c() default java.lang.Boolean.class
|
||
|
java.lang.Class<? extends java.lang.Number> w() default java.lang.Long.class
|
||
|
ElementType e() default java.lang.annotation.ElementType.TYPE
|
||
|
A a() default @pkg1.A(d=2.718)
|
||
|
java.lang.String[] sa() default {"up", "down"}
|
||
|
|
||
|
method pkg1.B.m1()
|
||
|
signature: ()
|
||
|
()
|
||
|
annotations:
|
||
|
@pkg1.A
|
||
|
returns:
|
||
|
void
|
||
|
method pkg1.B.m2()
|
||
|
signature: ()
|
||
|
()
|
||
|
annotations:
|
||
|
@pkg1.A("flip")
|
||
|
returns:
|
||
|
void
|
||
|
method pkg1.B.m3()
|
||
|
signature: ()
|
||
|
()
|
||
|
annotations:
|
||
|
@pkg1.A("flop")
|
||
|
returns:
|
||
|
void
|
||
|
method pkg1.B.m4()
|
||
|
signature: ()
|
||
|
()
|
||
|
annotations:
|
||
|
@pkg1.A(c=java.lang.Boolean.class, w=java.lang.Long.class, sa={})
|
||
|
returns:
|
||
|
void
|
||
|
method pkg1.B.m5()
|
||
|
signature: ()
|
||
|
()
|
||
|
annotations:
|
||
|
@pkg1.A(i=0, e=java.lang.annotation.ElementType.FIELD)
|
||
|
returns:
|
||
|
void
|
||
|
method pkg1.B.m6()
|
||
|
signature: ()
|
||
|
()
|
||
|
annotations:
|
||
|
@pkg1.A(a=@pkg1.A("splat"))
|
||
|
returns:
|
||
|
void
|
||
|
|