jSparrow v4.0.0/v3.7.0

Adds resource markers for highlighting and providing quick-fixes for issues and code smells.
June 22, 2021 - 14:59
New Version

Features

  • jSparrow Eclipse Plugin
    • jSparrow Markers - jSparrow introduces resource markers for highlighting and providing quick-fixes for issues and code smells. The following rules will automatically generate markers for the Java files that are opened in the editor:
      • Replace equals() on Enum Constants.
      • Use Functional Interfaces.
      • Replace Inefficient Constructors with valueOf().
      • Replace Expression Lambda with Method Reference.
      • Remove Boxing for String Conversions.
      • Replace put(..) with putIfAbsent(..).
      • Remove Null-Checks Before Instanceof.
      • Reorder String Equality Check.
      • Use Comparator Methods.
      • Replace Equality Check with isEmpty().
    • jSparrow Markers are not persisted on disk. They are generated and deleted when a Java file is opened and closed.
  • jSparrow Eclipse Plugin and Maven Plugin
    • New Rules
      • Use Dedicated Assertions - Replaces boolean assertions (e.g. assertTrue and assertFalse) with the corresponding dedicated assertions when testing for equality or null values.
      • Replace JUnit Assumptions with Hamcrest JUnit - This rule replaces the JUnit 4 assumptions assumeThat, assumeNoException, and assumeNotNull by the equivalent Hamcrest JUnit assumption MatcherAssume.assumeThat.
      • Replace JUnit 4 Category with JUnit Jupiter Tag - This rule replaces JUnit 4 @Category annotations with one or more JUnit Jupiter @Tag annotations.
jSparrow

jSparrow

Automatic Java refactoring.

Got a Question?

Live Chat with our jSparrow licensing specialists now.