1 2 class AnnotationTest { 3 @Annotation(a=1, b="foo") 4 public static void hello() { 5 } 6 @AnnotationMarker 7 private static int getx() { 8 return 1; 9 } 10 private static int addup(@Annotation(b="param") int x, 11 int y) { 12 return x+y; 13 } 14 }