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

11 lines
224 B
Plaintext

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