Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Tracing while using GEF

I don't know enough about GEF to say, but is the call to createEditPart() dynamic? If so, then you will have to use the execution() join point and not call() (as the call was to Method.invoke() and not to createEditPart()). This will also make your life much easier because you won't have to worry about weaving the gef.jar and can focus just on the code you develop. It will mean that you don't have access to the caller, if that's important.

-adrian.


Sven Bartel wrote:

Hello,

i´m using GEF and i want to do some tracing using AspectJ. For instance, i
want to monitor calls from GEF to the EditPartFactory and i´m using the
following primitive pointcut:

call(* MyEditPartFactory.createEditPart(..))

The createEditPart-method is automatically invoked by GEF when it is needed,
but no calls are matched.
I also added the gef.jar-file to the AspectJ inPath, but without any effect.

Can anybody help me?

Sven Bartel

_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-users



Back to the top