|
Java example source code file (expected.out)
The expected.out Java example source code
@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
Other Java examples (source code examples)Here is a short list of links related to this Java expected.out source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.