• Share this article:

New Refactoring Article on Eclipse Corner

Monday, February 5, 2007 - 15:23 by Wayne Beaton

Today, we posted “Unleashing the Power of Refactoring” by Eclipse JDT committer Tobias Widmer. In this article, Tobias sheds light on the services offered by the Eclipse Java Development Tools (JDT) and the Refactoring Language Toolkit (LTK) to support automated Java™ refactorings, explains how these services are used by refactorings to perform searches on the Java workspace, rewrite existing code and provide a rich user-interface to present the results of the refactoring. To demonstrate this combination of Java-specific and language-neutral frameworks, this article presents a simple but working refactoring implementation for an ‘Introduce Indirection’ refactoring designed to introduce an indirection method for existing method invocations.

This article was previously published in Eclipse Magazine (which is quite different from Eclipse Magazine).

On a separate but related note, I’ve updated the Eclipse Corner "contributing" page to include the guidelines I discussed in January. I’ve also updated the article template.