org.aspectj/tests/java5/covariance/CovAspect05.aj

11 lines
226 B
Plaintext

aspect CovAspect05 {
pointcut p(): call(Car Super.getCar());
before(): p() {
System.out.println("[call(Car Super.getCar()) matched on '"+thisJoinPoint+":"+thisJoinPoint.getSourceLocation()+"']");
}
}