Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] No WEAVEINFO messages for cflow pointcuts!

Hi,

I am using AJEER (http://ajeer.sourceforge.net/) which is a load-time-weaving enabler for the eclipse Runtime. AJEER itself relies on the AspectJ LTW API.

When using pointcuts with cflow(...) I run into serious trouble, because AJEER relies on WEAVEINFO messages which seem only to be generated for certain "interesting" pointcuts.

See org.aspectj.weaver.Shadow.reportWeavingMessage(...):
		// Only report on interesting advice kinds ...
		...
		if (!( aKind.equals(AdviceKind.Before) ||
		       aKind.equals(AdviceKind.After) ||
		       aKind.equals(AdviceKind.AfterReturning) ||
		       aKind.equals(AdviceKind.AfterThrowing) ||
		       aKind.equals(AdviceKind.Around) ||
		       aKind.equals(AdviceKind.Softener))) return;

I kindly request help form the AJ gurus for that:
Why are cflow pointcuts not interesting?
Is there a chance to fix this?

Regards,
Heiko



Back to the top