diff options
author | Andy Clement <andrew.clement@gmail.com> | 2013-01-23 13:25:49 -0800 |
---|---|---|
committer | Andy Clement <andrew.clement@gmail.com> | 2013-01-23 13:25:49 -0800 |
commit | 8dc8d1e0b897d9ab515ed3d99abaee930b45c9d5 (patch) | |
tree | 3ba6d9b0089e76904f2048d82a24770ac87c4c2c /tests/bugs172/pr398246/Code7.java | |
parent | 83df4c5194b159f6113aade3e73549d59972fd4a (diff) | |
download | aspectj-8dc8d1e0b897d9ab515ed3d99abaee930b45c9d5.tar.gz aspectj-8dc8d1e0b897d9ab515ed3d99abaee930b45c9d5.zip |
more changes to make if point cut generated names stable
Diffstat (limited to 'tests/bugs172/pr398246/Code7.java')
-rw-r--r-- | tests/bugs172/pr398246/Code7.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs172/pr398246/Code7.java b/tests/bugs172/pr398246/Code7.java new file mode 100644 index 000000000..e8d47a5a1 --- /dev/null +++ b/tests/bugs172/pr398246/Code7.java @@ -0,0 +1,20 @@ +import java.lang.annotation.*; + +public class Code7 { + public static boolean isTrue = true; + public static boolean isTrue2 = true; + + public void m() { + } + + public static void main(String []argv) { + new Code7().m(); + } +} + +aspect X { + + before(): execution(* Code*.*(..)) && if(Code7.isTrue) && if(Code7.isTrue2) { + System.out.println("advice"); + } +} |