Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Problem with annotation based pointcut and inner classes

Hello

I have a problem with an annotation based pointcut that should match
annotated methods. Here's the aspect code:

privileged aspect JetmMeasurement {
    pointcut jetmMeasure(): call(@Jetm * *(..));

    Object around(): jetmMeasure() {
	[...]
    }

Unfortunately the pointcut doesn't work with annotated methods in inner
classes. I tried some other matching pattern like call(@Jetm * *..*(..))
but this didn't help.

I'd appreciate any hints.

Christian


Back to the top