summaryrefslogtreecommitdiffstats
path: root/tests/java5/covariance/CovAspect06.aj
blob: a96618b75309c227e18a46147bc029450403dc91 (plain)
1
2
3
4
5
6
7
8
9
10
11
aspect CovAspect06 {
	
  pointcut p(): call(Car Sub.getCar());
 
  @org.aspectj.lang.annotation.SuppressAjWarnings("adviceDidNotMatch")
  before(): p() {
  	System.out.println("[call(Car Sub.getCar()) matched on '"+thisJoinPoint+":"+thisJoinPoint.getSourceLocation()+"']");
  }
  
}