Chain calls to builder methods
MSALChain calls to builder methods that are on separate lines into one chain of builder calls.
org. openrewrite. staticanalysis. UseAsBuilderRequired
Fully qualified name of the builder.
Optional
immutableBoolean
The builder is immutable if you must assign the result of calls to intermediate variables or use directly. Defaults to true as many purpose-built builders will be immutable.
The method that creates the builder instance, which may not be a method of the builder itself.
mod run . --recipe= org. openrewrite. staticanalysis. UseAsBuilder \
-P builderType= org. example. Buildable. BuilderInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.