Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » AJDT refactoring extension
AJDT refactoring extension [message #15305] Tue, 14 January 2003 22:15
Eclipse UserFriend
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
Previous Topic:Setting the exact build environment
Next Topic:AJDT refactoring extension
Goto Forum:
  


Current Time: Fri Apr 26 02:14:40 GMT 2024

Powered by FUDForum. Page generated in 0.02944 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top