Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] set to null

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 <fluca1978@xxxxxxxxxxx> 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
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users

Back to the top