mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
05dabd1821
proceed used as method name in around advice
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");
|
|
}
|
|
} |