mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
14 lines
407 B
Plaintext
14 lines
407 B
Plaintext
import org.aspectj.testing.Tester;
|
|
|
|
public class Proceeding3 {
|
|
public static void main(String[] args) {
|
|
}
|
|
static aspect A {
|
|
void around() : execution(void main(String[])) {
|
|
proceed(); // special form or Proceeding.proceed()?
|
|
}
|
|
}
|
|
void proceed() {
|
|
Tester.checkFailed("A bare call to proceed inside around advice should never refer to a method");
|
|
}
|
|
} |