Thanks for your reply. I just want to get it working first, before tuning the aspects.
result in error
Syntax error on token "new", "method name (not constructor)" expected
Could i be using the wrong version? I am using 1.6.1
Andrew Eisenberg wrote:
That is quite an aggressive aspect that you have there. :-) First,
are you sure that you want to use load time weaving?
It tends to be
more difficult to develop LTW aspects because there is no tooling
support for them (so you don't know if it works until you run your
So, you want to trace every single method and constructor execution of
a subclass of com.sun.jbi..*.
execution(* com.sun.jbi..*+.*(..)) && execution(* com.sun.jbi..*+.new(..))
Although, you may really want to advise the initialization of new
classes, rather than the execution of constructors:
But, as I mentioned, try compile time weaving first to make sure this
is doing what you want it to do.
I am able to quickly test with LTW.
Any idea on the other errors i receive that were in the original message?
aspectj-users mailing list
aspectj-users mailing listaspectj-users@xxxxxxxxxxxhttps://dev.eclipse.org/mailman/listinfo/aspectj-users