jSparrow の主な機能

jSparrow transforms old language constructs to new language constructs.
Modernize your Java Code
Reduce code smells, find potential bugs, stick to standards.
Improve the Code Quality
Group and share refactoring rules.
Choose your Refactorings
Preview of changes with the Eclipse plugin.
Review Changes
Replace the standard output statements with logger statements.
Logger Statements
jSparrow transforms old language constructs to new language constructs.

jSparrow transforms old language constructs to new language constructs.

jSparrow helps you upgrade your legacy code by automatically transforming old Java language constructs to constructs of newer Java versions. i.e. While- and For-Loops will be transformed to Java Streams and java.util.Date will be upgraded to java.time.

Reduce code smells, find potential bugs, stick to standards.

Reduce code smells, find potential bugs, stick to standards.

With jSparrow you can automatically reduce potential bugs and code smells. In addition you can make sure the code sticks to common Java standards or your individual (company) standards.

Group and share refactoring rules.

Group and share refactoring rules.

Each refactoring is a rule. jSparrow offers more than 50 rules that you can select, group and share as profiles. You are in control over the aspects you like to change in your projects.

Preview of changes with the Eclipse plugin.

Preview of changes with the Eclipse plugin.

With jSparrow for Eclipse you can go through the list of changes before applying the rules. After confirming the selected rules, the preview window is displayed. This window displays changes for each rule, for one rule at a time.

Replace the standard output statements with logger statements.

Replace the standard output statements with logger statements.

This rule replaces the standard output (System.out, System.err, printStackTrace) statements with logger statements when possible. In addition, jSparrow checks if in each catch statement a log statement is present. If there is no log statement, jSparrow proposes to automatically add it.