aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1921/github_288/SecondAspect.aj
blob: ef405e4eeb05fecb5756f4aac2fbefbaf12349e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;

@Aspect
public class SecondAspect {
  @Around("execution(* doSomething())")
  public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable {
    System.out.println(getClass().getSimpleName());
    return joinPoint.proceed();
  }
}