diff options
Diffstat (limited to 'tests/java5/annotations/declare/atfield/RecursiveFields2.aj')
-rw-r--r-- | tests/java5/annotations/declare/atfield/RecursiveFields2.aj | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/java5/annotations/declare/atfield/RecursiveFields2.aj b/tests/java5/annotations/declare/atfield/RecursiveFields2.aj new file mode 100644 index 000000000..b695e0813 --- /dev/null +++ b/tests/java5/annotations/declare/atfield/RecursiveFields2.aj @@ -0,0 +1,11 @@ +// check order of application - this should work +public aspect RecursiveFields2 { + declare @field: @Colored * * : @Fruit("orange"); + declare @field: public int * : @Colored("blue"); +} + +aspect X { + before(): set(@Fruit * *) { + System.err.println("Fruit field access at "+thisJoinPoint); + } +} |