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

11 lines
222 B
Plaintext

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