Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Defining a pointcut selecting no joinpoints.

Hi,

is there a special pointcut syntax which is defined to select no joinpoints at
all?

I'm writing a concrete extension of an abstract aspect and want to ensure that
an inherited abstract pointcut will not match any joinpoints.

I used 'if (false)' but that's a bit ugly, and it seems that the current
compiler (1.1.1) doesn't appear to optimise it out.
I could use something like cflowbelow && !cflow but that's even uglier.

Thanks
Daniel



Back to the top