aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs184/449739/Code2.java
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-11-05 08:27:45 -0800
committerAndy Clement <aclement@gopivotal.com>2014-11-05 08:27:45 -0800
commit11fba64f400694713cc6571c97e194eaf3b99f40 (patch)
tree0c7501ff355c8caaecc2009864a423ad37d036e4 /tests/bugs184/449739/Code2.java
parente91fcabde7a38787ac03b5f98c6588aa8b3e411c (diff)
downloadaspectj-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.java20
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);
+ }
+}