diff options
Diffstat (limited to 'tests/features160/annotationValueMatching/ShortValueMatching.java')
-rw-r--r-- | tests/features160/annotationValueMatching/ShortValueMatching.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/features160/annotationValueMatching/ShortValueMatching.java b/tests/features160/annotationValueMatching/ShortValueMatching.java new file mode 100644 index 000000000..b24825acb --- /dev/null +++ b/tests/features160/annotationValueMatching/ShortValueMatching.java @@ -0,0 +1,17 @@ +import java.lang.annotation.*; + +public class ShortValueMatching { + public static void main(String[] args) { } + + @Anno(sval=32700) public void methodOne() {} + @Anno(sval=27) public void methodTwo() {} +} + +@interface Anno { + short sval(); +} + + +aspect X { + before(): execution(@Anno(sval=32700) * *(..)) {} +} |