blob: 65b90d37a61da5f72aac212db48c94fe77ac7f64 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
import java.util.List;
aspect A {
pointcut p() : execution(* *.*(..));
before() : p() {}
public void MyClass.method() {}
public MyClass.new() {super();}
}
class C {
public C() {}
public void method() {}
public void intMethod(int i) {}
public void stringMethod(String s) {}
public void myClassMethod(MyClass s) {}
public void genericMethod(List<String> l) {}
public void twoArgsMethod(int i, String s) {}
public void genericMethod2(MyGenericClass<String,MyClass> m) {}
public static void main(String[] args) {}
public void multiMethod(String[][] s) {}
public void intArray(int[] i) {}
}
class MyClass {
public MyClass(String s) {}
}
class MyGenericClass<X,Y> {}
|