aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/covariance/CovAspect07.aj
blob: 67a76825b84e6bc7b5cde075f5b14aa017014ee2 (plain)
1
2
3
4
5
6
7
8
9
10
aspect CovAspect07 {
	
  pointcut p(): call(Car+ Sub.getCar());

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