blob: 25e4ac329b36bfeca3722ef6aa95da1cca3d0771 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package example;
import org.aspectj.lang.annotation.*;
import java.util.Date;
@Aspect
public class Main {
@Pointcut("execution(Date foo())")
public void pc() {}
@Before("pc()")
public void log() {}
}
|