You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910 |
- import org.aspectj.lang.JoinPoint;
- import org.aspectj.lang.annotation.*;
-
- aspect SampleAspect {
- //@Aspect public class SampleAspect {
- //@Before("@annotation(logMe)") public void beforeAdvice(JoinPoint thisJoinPoint, LogMe logMe) {
- before(LogMe logMe): @annotation(logMe) {
- System.out.println(thisJoinPoint);
- }
- }
|