Browse Source

experimental meta anno matching syntax test case

tags/V1_6_12M2
aclement 12 years ago
parent
commit
816abde05d
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      tests/features1611/metamatching/Code.java

+ 19
- 0
tests/features1611/metamatching/Code.java View File

@@ -0,0 +1,19 @@
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@interface Meta {}

@Retention(RetentionPolicy.RUNTIME)
@Meta
@interface Foo {}

public class Code {

@Foo
public void m() {}
}
aspect X {
before(): execution(@@Meta * *(..)) {
}
}


Loading…
Cancel
Save