aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr168982/TracingAspect2.java
blob: 377c5941c7e1c1542355b7d7f3d6bd389b934825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package tracing;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class TracingAspect2<T> {
        @Pointcut("execution(* *(..))")
        public void traced() {}

        @Before("traced()")
        public void log(JoinPoint thisJoinPoint) {
                System.out.println("Entering ");
        }
}