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

11 lines
214 B
Plaintext

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