AJDT refactoring extension [message #563982] |
Tue, 14 January 2003 22:15 |
Eclipse User |
|
|
|
Originally posted by: Shimon.Rura.williams.edu
I am currently researching refactoring in AspectJ. As you may have
discovered, using the "standard" OO refactorings--such as "extract method"
or even "rename" built into Eclipse--in the context of aspects requires
extra work to keep the refactoring behavior preserving. For example, when
you rename a method, a call pointcut that referenced it by its previous
name might not catch calls to that method any more, and you have to
manually change or augment it. There are also several new refactorings
involving aspects.
Eclipse and the AJDT seem like a great platform for testing out my
refactoring ideas. Has anyone thought about extending the JDT
refactorings for AspectJ? Is the right way to implement these simply to
add them to the AJDT? Or would it be simpler/more portable/otherwise
better to create a new AJDT-refactoring plugin that extends the JDT
refactorings? Does anyone have even a rough idea of where I should look
for the stuff my work will require: existing refactorings, access and
modification of ASTs, etc.?
It looks like JDT defines interfaces for manipulating Java language
elements. Is the same done for AspectJ in AJDT somewhere?
I am slowly plowing through the Eclipse Plugin Dev docs, and will be happy
to read what I need. I'll be working on this quite heavily for the next
few months and I think it might turn into a really cool and useful
feature. Thanks for your input and suggestions.
Shimon Rura
|
|
|
Powered by
FUDForum. Page generated in 0.03718 seconds