鏡像自
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-03 17:56:34 +02:00
17 行
368 B
Java
17 行
368 B
Java
import org.aspectj.testing.Tester;
|
|
|
|
public class Binkley {
|
|
public static void main(String[] args) {
|
|
new Binkley().realMain(args);
|
|
}
|
|
public void realMain(String[] args) {
|
|
Tester.check(true, "compiled!");
|
|
}
|
|
}
|
|
|
|
aspect A percflow(pc())
|
|
{
|
|
pointcut pc() : within(Binkley);
|
|
before(): cflow(pc()) && !(call (new())) && !within(A) { }
|
|
}
|