Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] super.foo

Hi Javier,
 
There isn't a join point in the current AspectJ model for super calls, as you have discovered. I think it would be a good enhancement request for AspectJ to add this join point & an associated pointcut. In some cases, you can use cflow on execution of the superclass's method to implement what you would have using a super call pointcut (e.g., execution(* SuperType.foo()) && cflow(execution(* DerivedType.foo()))).
 
Ron Bodkin
Chief Technology Officer
New Aspects of Software
(o) (415) 824-4690
(m) (415) 509-2895
 
 
------------Original Message------------
From: Javier G Garcia <javierg@xxxxxxxxxx>
To: aspectj-users@xxxxxxxxxxx
Date: Tue, Jan-11-2005 1:17 PM
Subject: [aspectj-users] super.foo

How can I create a pointcut for "super.foo",  no matter what I do I cant seem to create a pointcut for this call.

Javier Garcia
Advisory Software Engineer
(919) 486-3246
IBM Rational Software Group

Back to the top