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

11 lines
222 B
Plaintext

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