org.aspectj/tests/errors/ProceedArgsCE.java

22 lines
408 B
Java
Raw Normal View History

2002-12-16 19:51:06 +01:00
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
}
}