diff options
Diffstat (limited to 'tests/bugs169/pr292584/ClassWithJoinPoint.java')
-rw-r--r-- | tests/bugs169/pr292584/ClassWithJoinPoint.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs169/pr292584/ClassWithJoinPoint.java b/tests/bugs169/pr292584/ClassWithJoinPoint.java new file mode 100644 index 000000000..32b646fc8 --- /dev/null +++ b/tests/bugs169/pr292584/ClassWithJoinPoint.java @@ -0,0 +1,17 @@ + +public class ClassWithJoinPoint { + public Boolean getValue() { + return Boolean.FALSE; + } + + public static void main(String[] arguments) { +/* + System.out.println("Testing aspect style (should print \"true\"):"); + System.out.println(new aspect_style.ClassWithJoinPoint().getValue()); + + System.out.println(); +*/ + System.out.println("Testing annotation style (should print \"true\"):"); + System.out.println(new ClassWithJoinPoint().getValue()); + } +} |