Qualify a statically imported constant
ProprietaryRefer to a constant through the type declaring it where a single static import brings it in, and remove that import, so that a recipe matching the qualified constant, such as org.openrewrite.java.ReplaceConstant, finds every use.
io. moderne. java. primefaces. QualifyStaticallyImportedConstantRequired
Fully qualified name of the type that declares the constant.
The name of the constant.
mod run . --recipe= io. moderne. java. primefaces. QualifyStaticallyImportedConstant \
-P owningType= org. primefaces. component. treetable. TreeTable \
-P constantName= COLUMN_CONTENT_WRAPPERInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.