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

11 lines
210 B
Plaintext

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