** org.openrewrite.java.cleanup.RemoveRedundantTypeCast** Removes unnecessary type casts. Does not currently check casts in lambdas, class constructors, and method invocations.
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.activeRecipesorg.openrewrite.java.cleanup.RemoveRedundantTypeCast