blob: 02d6e88f01ddcd2b809cc72b21817ffe71159869 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@interface B {}
public class A {
@B
public void foo() {}
}
aspect X {
before(): execution(@B * foo(..)) {}
}
|