aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features1611/metamatching/Code.java
blob: 9111ed8976e4b04c8ffe7ccca20c8ba1516d82d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 * *(..)) {
  }
}