mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 05:57:44 +02:00
17 lines
424 B
Plaintext
17 lines
424 B
Plaintext
aspect CovAspect08 {
|
|
|
|
pointcut p1(): call(FastCar getCar());
|
|
|
|
before(): p1() {
|
|
System.out.println("[call(FastCar getCar()) matched on '"+thisJoinPoint+":"+thisJoinPoint.getSourceLocation()+"']");
|
|
}
|
|
|
|
pointcut p2(): call(FastCar Sub.getCar());
|
|
|
|
before(): p2() {
|
|
System.out.println("[call(FastCar Sub.getCar()) matched on '"+thisJoinPoint+":"+thisJoinPoint.getSourceLocation()+"']");
|
|
}
|
|
|
|
}
|
|
|