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.

FirstAspect.java 308B

1234567891011
  1. import org.aspectj.lang.JoinPoint;
  2. import org.aspectj.lang.annotation.Aspect;
  3. import org.aspectj.lang.annotation.Before;
  4. @Aspect
  5. public class FirstAspect {
  6. @Before("execution(@MarkerOne * *(..))")
  7. public void beforeAdvice(JoinPoint joinPoint){
  8. System.out.println("FirstAspect: " + joinPoint);
  9. }
  10. }