diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-11-05 08:27:45 -0800 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-11-05 08:27:45 -0800 |
commit | 11fba64f400694713cc6571c97e194eaf3b99f40 (patch) | |
tree | 0c7501ff355c8caaecc2009864a423ad37d036e4 /tests/bugs184/449739/Code2.java | |
parent | e91fcabde7a38787ac03b5f98c6588aa8b3e411c (diff) | |
download | aspectj-11fba64f400694713cc6571c97e194eaf3b99f40.tar.gz aspectj-11fba64f400694713cc6571c97e194eaf3b99f40.zip |
Fix 449739: support is(FinalType)
Diffstat (limited to 'tests/bugs184/449739/Code2.java')
-rw-r--r-- | tests/bugs184/449739/Code2.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/bugs184/449739/Code2.java b/tests/bugs184/449739/Code2.java new file mode 100644 index 000000000..1ad0fee50 --- /dev/null +++ b/tests/bugs184/449739/Code2.java @@ -0,0 +1,20 @@ +public class Code2 { + public static void main(String[] argv) { + new Code2().run(); + } + + public void run() { + new Helper().run(); + } +} + +final class Helper { + public void run() { + } +} + +aspect X { + before(): execution(* (is(FinalType)).run(..)) { + System.out.println(thisJoinPointStaticPart); + } +} |