|Capturing join points inside Eclipse code. [message #594409]
||Fri, 21 July 2006 14:20
| Daniel Mahler
Registered: July 2009
I am using AJDT for EMF plug-in development.|
It has worked well so far,
but now I need to capture a join point that is inside the EMF plugin itself.
More specifically I have many classes that extend
I want to capture a join point that occurs inside when any my classes is
inside code inherited from
and apply the same piece of advice in all cases.
However, at least in the default configuration, it seems that AspectJ is not
seeing this join point, presumably, because it only looks in the sources in
the current project and applying advice on this join point would entail
modifications to org.eclipse.emf.edit.provider.ItemProviderAdapter.
Is there a way around this?
I've heard of load time weaving, which sounds like it may
do what I need, ie apply the advice to the
org.eclipse.emf.edit.provider.ItemProviderAdapter binary when the plug in
is being loaded.
Would that work?
Are there any references on using AspectJ for customizing EMF code
or generally using it to mess with Eclipse internals?
Powered by FUDForum
. Page generated in 0.15495 seconds