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

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