+++ /dev/null
-public aspect BindingLimitation {
-
- pointcut doSomethingExecution() : execution(* doSomething());
- pointcut doSomethingCall() : call(* doSomething());
-
- after(MyAnnotation ann) returning : @target(ann) && doSomethingCall() {
- // should be compile time error (limitation)
- }
-
-}
\ No newline at end of file
--- /dev/null
+public aspect BindingLimitation {\r
+ \r
+ pointcut doSomethingExecution() : execution(* doSomething());\r
+ pointcut doSomethingCall() : call(* doSomething());\r
+ \r
+ after(MyAnnotation ann) returning : @target(ann) && doSomethingCall() {\r
+ System.err.println("Annotation is "+ann);\r
+ // should be compile time error (limitation)\r
+ }\r
+ \r
+}\r