mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-17 14:10:58 +02:00
17 lines
237 B
Plaintext
17 lines
237 B
Plaintext
import org.aspectj.lang.annotation.*;
|
|
|
|
@Aspect("perthis(pc())")
|
|
public class AtAspectWithPerClause {
|
|
|
|
@Pointcut("execution(* *(..))")
|
|
public void pc() {}
|
|
|
|
}
|
|
|
|
@Aspect
|
|
class Foo {
|
|
|
|
@Pointcut("execution(* *(..))")
|
|
public void pc() {}
|
|
|
|
} |