Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
1234567891011121314151617 |
- 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) * *(..)) {}
- }
|