diff options
Diffstat (limited to 'tests/java5/autoboxing/AspectBoolean.aj')
-rw-r--r-- | tests/java5/autoboxing/AspectBoolean.aj | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/java5/autoboxing/AspectBoolean.aj b/tests/java5/autoboxing/AspectBoolean.aj new file mode 100644 index 000000000..8b980d567 --- /dev/null +++ b/tests/java5/autoboxing/AspectBoolean.aj @@ -0,0 +1,11 @@ +public aspect AspectBoolean {
+
+ // The pointcuts here expose context
+ before(Boolean i): within(AutoboxingZ) && call(* met*(..)) && args(i) {
+ System.err.println("Boolean:"+i);
+ }
+
+ before(boolean i): within(AutoboxingZ) && call(* met*(..)) && args(i) {
+ System.err.println("boolean:"+i);
+ }
+}
|