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