Change new objects creation to Builder pattern

Apache 2.0

Transform the creation of a class using 'new' to builder pattern.

software.amazon.awssdk.v2migration.NewClassToBuilderPattern
mod run . --recipe=software.amazon.awssdk.v2migration.NewClassToBuilderPattern

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Transform 'new' expressions to builders
  2. V1 Setter to V2