blob: 96a191728ae06f3d97a6292fb118533bed459f0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
aspect DeclareWarnings {
pointcut p() : execution(* C.amethod());
declare warning : p() : "warning 1";
declare warning : p() : "warning 2";
declare warning : p() : "warning 3";
declare warning : p() : "warning 4";
declare warning : p() : "warning 5";
declare warning : p() : "warning 6";
declare warning : p() : "warning 7";
declare warning : p() : "warning 8";
declare warning : p() : "warning 9";
declare warning : p() : "warning 10";
}
class C {
public void amethod() {}
}
|