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

11 lines
218 B
Plaintext

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