Package org.openrewrite.staticanalysis
@NullMarked
package org.openrewrite.staticanalysis
-
ClassesClassDescriptionFinalize method arguments v2HideUtilityClassConstructorVisitor will perform the following operations on a Utility Class: Change any Public constructors to Private Change any Package-Private ("Default", no modifiers) to Private If the Implicit Default Constructor is used (as in, no explicit constructors defined), add a Private constructorThe recipe that replaces `instanceof` pattern matching by a simple variable declarations.Removes all
MethodCallmatching both theRemoveMethodCallVisitor.methodMatcherand theRemoveMethodCallVisitor.argumentPredicatefor all arguments.This recipe converts local variables and method parameters to camel case convention.This recipe converts private fields to camel case convention.Recipe to useString.replace(CharSequence, CharSequence)when the fist argument is not a regular expression.