mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-15 14:13:28 +02:00
15 lines
322 B
Java
15 lines
322 B
Java
import org.aspectj.lang.annotation.*;
|
|
import org.aspectj.lang.*;
|
|
|
|
public abstract aspect Foo {
|
|
public abstract pointcut targetPointcut();
|
|
|
|
@Around("targetPointcut()")
|
|
public Object someAdvice(ProceedingJoinPoint thisJoinPoint)
|
|
{
|
|
return thisJoinPoint.proceed();
|
|
}
|
|
}
|
|
|
|
|