mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-22 21:09:41 +02:00
22 lines
408 B
Java
22 lines
408 B
Java
|
public class ProceedArgsCE {
|
||
|
public static void main(String[] args){
|
||
|
new ProceedArgsCE().go();
|
||
|
}
|
||
|
|
||
|
void go() {
|
||
|
System.out.println("... ");
|
||
|
}
|
||
|
}
|
||
|
|
||
|
aspect A {
|
||
|
void around(Object o): this(o) {
|
||
|
proceed(); // CE
|
||
|
}
|
||
|
void around(Object o): this(o) {
|
||
|
proceed(2); // CE
|
||
|
}
|
||
|
void around(Object o): this(o) {
|
||
|
proceed("hi", 2); //CE
|
||
|
}
|
||
|
}
|