** org.openrewrite.java.cleanup.EqualsAvoidsNull** Checks that any combination of String literals is on the left side of an equals() comparison. Also checks for String literals assigned to some field (such as someString.equals(anotherString = "text")).
This recipe has no required configuration parameters and comes from a rewrite core library. It can be activated directly without adding any dependencies.
Recipes can also be activated directly from the command line by adding the argument -Drewrite.activeRecipes=org.openrewrite.java.cleanup.EqualsAvoidsNull