|
Refactor-J 2.0:
Making the best refactoring tool in existence
even better
A Recommended Companion Product for IntelliJ IDEA
Refactor-J extends IntelliJ IDEA's industry-leading refactoring
capabilities in new and more powerful directions. With twenty
never-before-automated refactorings, Refactor-J allows you
even more control and direct the design of your code. Using
Refactor-J, you can easily split your class structures into
manageable pieces, alter the inputs and outputs to your methods,
tame your loops, and cleanly genericize your algorithms. Design
decisions about your Java code become cheap and easy to change
or undo. With Refactor-J and IntelliJ IDEA, you can truly
refactor Java with pleasure.
Refactorings provided by Refactor-J
include
- Extract Class
- Introduce Parameter Object
- Wrap Return Value
- Weaken Type
- Invert Boolean Variable
- Remove Middleman
- Introduce Type Parameter
- Remove Type Parameter
- Add Property
- Remove Property
|
- Pull Javadoc Up
- Push Javadoc Up
- Pull Annotation Up
- Push Annotation Up
- Make Class Inner
- Create Array Access Methods
- Create Collection Access Methods
- Convert Disjunction to Table-Driven Logic
- Split Loop
- Merge Loops
|
|
Split Loop intention
|
Before...
|
After...
|
Key Features
Refactor-J fully supports all of the new JDK 1.5 code constructs.
Using the Introduce Type Parameter and Remove Type Parameter
refactorings, you can easily augment code designed before
JDK 1.5 to more modern styles of parameterized types and generic
programming.
All of the refactorings in Refactor-J work in JSP and JSPX
files, as well as Java classes. This makes Refactor-J a powerful
tool for building consistent and high quality web applications.
You can optionally preview all of the modifications to be
performed by a refactoring and choose which of those changes
will be applied, using the familiar IDEA preview panel. This
gives you precise control of every modification made your
code.
Refactor-J integrates seamlessly with many popular version
control systems, including CVS, Subversion, and Perforce.
This allows changes to be easily applied to large multi-developer
projects.
|
Introduce Parameter Object refactoring
|
Before...
|
After...
|
|