diff options
author | wisberg <wisberg> | 2002-12-16 17:58:19 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2002-12-16 17:58:19 +0000 |
commit | d842c4f1139629c1f062b74ba818d233b2c31043 (patch) | |
tree | 842d3871620bc0eb60edcd95e55804d67e0f61fa /org.aspectj.ajdt.core/testdata/src1/UnimplementedSyntax.java | |
parent | 3ce247199704eae6b2c92c6e38c69584e3250c52 (diff) | |
download | aspectj-d842c4f1139629c1f062b74ba818d233b2c31043.tar.gz aspectj-d842c4f1139629c1f062b74ba818d233b2c31043.zip |
initial version
Diffstat (limited to 'org.aspectj.ajdt.core/testdata/src1/UnimplementedSyntax.java')
-rw-r--r-- | org.aspectj.ajdt.core/testdata/src1/UnimplementedSyntax.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/testdata/src1/UnimplementedSyntax.java b/org.aspectj.ajdt.core/testdata/src1/UnimplementedSyntax.java new file mode 100644 index 000000000..3ea1a1685 --- /dev/null +++ b/org.aspectj.ajdt.core/testdata/src1/UnimplementedSyntax.java @@ -0,0 +1,23 @@ +/** + * + * + */ +aspect A dominates Foo persingleton() { } + +//aspect B perthis(foo()) { +//XXX don't forget an error test for foo() not found} + +aspect C { + pointcut w(int x): args(x) && if(x < 10); + pointcut x(): cflow(y()); + pointcut y(): withincode(int m()); + + pointcut z(): execution(void m()) a b c; + declare error: execution(void m()): "hi" ac; + + pointcut p(): handler(Foo); + + pointcut p2(): initialization(Object.new(..)); +} + +aspect D a b c {}
\ No newline at end of file |