mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-25 06:14:46 +02:00
16 lines
208 B
Java
16 lines
208 B
Java
public class New {
|
|
public static void main(String[] args) {
|
|
new New().go();
|
|
}
|
|
|
|
void go() {
|
|
|
|
}
|
|
}
|
|
|
|
aspect A {
|
|
pointcut p(): call(* *.new(..)) && this(*);
|
|
before(): p() {
|
|
}
|
|
}
|