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.This recipe converts local variables and method parameters to camel case convention.This recipe converts private fields to camel case convention.Recipe to use
String.replace(CharSequence, CharSequence)when the fist argument is not a regular expression.