[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] A Pointcut that matches nothing

Martin GÃrg wrote:
> I remember reading about a pointcut expression that would never match
> anything. It's a convenient way to deactivate some advices instead of
> commenting them out. I can't find the syntax anymore, though.

> Does anybody know what I mean?

Oh well, I had it figured out already. Only set my parentheses wrong.

The pointcut
pointcut empty();
works fine for me.

Greetings
Martin