Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] how to find methods advised by an aspect using eclipse plugin

Hi!

I am developing a plugin to find methods advised by the selected aspect in eclipse. (though it is already done in ajdt for eclipse, but I couldn't find that code snippet)

I may use "ajc -showWeaveInfo ..." command but I need the class(es) used in aspect in order to compile them. But at this time, compilation may not work well since the classes may use external jars, classes etc. So I need to supply all required arguments (included jars, build paths etc) to ajc. Is it possible to get the build options for java (and so for ajc) in that workspace, so that I can compile aspects and  get weave info.
Note: I want to include only the selected aspect (not all of the included aspects) into the compilation. Otherwise, all the weaving info will be gathered instead of the selected aspect's weaving info..

I appreciate if you find an another way  for my problem..

Thanks.

kNone

Back to the top