mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-16 14:10:51 +02:00
20 lines
253 B
Java
20 lines
253 B
Java
import org.aspectj.lang.annotation.*;
|
|
import org.aspectj.lang.*;
|
|
|
|
@interface I {}
|
|
|
|
@I
|
|
public class A {
|
|
public void m() {}
|
|
}
|
|
|
|
@Aspect
|
|
class X {
|
|
@Around("execution(* (@I *).*(..))")
|
|
public Object foo(ProceedingJoinPoint pjp) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
|