You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DoubleValueMatching.java 317B

1234567891011121314151617
  1. import java.lang.annotation.*;
  2. public class DoubleValueMatching {
  3. public static void main(String[] args) { }
  4. @Anno(dval=37.01) public void methodOne() {}
  5. @Anno(dval=52.123) public void methodTwo() {}
  6. }
  7. @interface Anno {
  8. double dval();
  9. }
  10. aspect X {
  11. before(): execution(@Anno(dval=37.01) * *(..)) {}
  12. }