Flag usage of a Lombok feature

MSAL

Assign lombok.<featureName>.flagUsage in every lombok.config, so that Lombok fails the build, or warns, where the feature is used. Nested configs are written to as well, as those have the last word on the directories below them.

org.openrewrite.java.migrate.lombok.FlagUsage

Required

The Lombok feature to flag, as it is spelled in the lombok.<featureName>.flagUsage key.

Optional

What Lombok does where the feature is used: error to fail the build, or warning to compile it and warn. Defaults to error.

mod run . --recipe=org.openrewrite.java.migrate.lombok.FlagUsage \ -P featureName=val

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