Hi, try this: set(Object Class.x) && args(x) && if(x==null)
Regards, Rui Gonçalves On Thu, Nov 6, 2008 at 11:14 AM, Luca Ferrari <[EMAIL PROTECTED]> wrote: > > Hi, > is there a way to define a pointcut that can intercepts an explicit null > assignement to an object? > > pointcut nullAssignement : set( MyObject+ ) > > I don't know how to express it. > > Thanks, > Luca > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
