blob: 1698abd3a398bc3a293fa3faa99220423b307382 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
aspect A {
pointcut p() : execution(* *.*(..)) || execution(*.new(..));
before() : p() {
}
}
class C {
public C() {}
public void method() {}
public void intMethod(int i) {}
public void stringMethod(String s) {}
public void myClassMethod(MyClass s) {}
public void twoArgsMethod(int i, String s) {}
public static void main(String[] args) {}
public void multiMethod(String[][] s) {}
public void intArray(int[] i) {}
}
class MyClass {}
|