blob: 3495fc2e337ad9176cc18fd43e6264c938e63c52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
public class PointcutsInGenericClasses<T> {
pointcut foo() : execution(* T.*(..));
}
aspect X {
declare warning : PointcutsInGenericClasses<C>.foo() : "a match";
}
class C {
void bar() {}
}
|