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

11 lines
226 B
Plaintext

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