diff options
Diffstat (limited to 'tests/bugs151/pr125699/Tracing.aj')
-rw-r--r-- | tests/bugs151/pr125699/Tracing.aj | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs151/pr125699/Tracing.aj b/tests/bugs151/pr125699/Tracing.aj new file mode 100644 index 000000000..bff3a8101 --- /dev/null +++ b/tests/bugs151/pr125699/Tracing.aj @@ -0,0 +1,16 @@ +public abstract aspect Tracing { + + before (Object obj) : execution(* *(..)) && this(obj) { + System.out.println(thisJoinPoint); + } + +// before (Object obj) : execution(* *(..)) && this(obj) { + before () : execution(* *(..)) { + System.out.println(thisJoinPointStaticPart); + } + +// before (Object obj) : execution(* *(..)) && this(obj) { + before () : execution(* *(..)) && this(Object) { + System.out.println(thisEnclosingJoinPointStaticPart); + } +} |