Knowledge Base Index
Jsparrow is a tool that refactors Java code for you, powered by the Eclipse Java compiler.
Based on a set of rules you can decide which improvements should be applied to your code base. These rules range from removing code smells to the introduction of lambda functionals.
Refactor your Java code.
Improve the code quality.
Apply the latest Java features.
jSparrow helps you upgrade your legacy codebase by automatically transforming old Java language constructs to new ones. i.e. While- and For-Loops will be transformed to Java Streams and java.util.Date will be upgraded to java.time.*
Rules like “Rearrange Class Members” or “Split Multiple Variable Declarations”” help you keep your code structured and readable. We always develop our rules with best practices in mind.
Sometimes bugs can be avoided just by tweaking the Java Syntax a bit. i.e. The “Reorder String Equality Check” rule prevents Null Pointer Exceptions when comparing a String Object and a String Literal. Since a String Literal can’t be null, equals() is called on that literal with the String Object as parameter.
JSPARROW'S RULES CREATED TO ASSIST YOU IN YOUR EVERY DAY CODING.
Note: This Table was updated [see table head] which means rules could have already been redone and/or fixed as well as new rules might already be available without shown down below.
Two of our rules are configurable.
This increases readability, allows effective search and provides seamless integration.