tests/AnnotationTest.java | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/AnnotationTest.java Sun Sep 18 20:25:18 2011 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 + 1.5 +class AnnotationTest { 1.6 + @Annotation(a=1, b="foo") 1.7 + public static void hello() { 1.8 + } 1.9 + @AnnotationMarker 1.10 + private static int getx() { 1.11 + return 1; 1.12 + } 1.13 + private static int addup(@Annotation(b="param") int x, 1.14 + int y) { 1.15 + return x+y; 1.16 + } 1.17 +} 1.18 \ No newline at end of file