Replace getEstimatedEffortPerOccurrence() method with field

MSAL

Recipe classes that return a simple expression from getEstimatedEffortPerOccurrence() can use a Lombok annotated field instead, as long as that expression does not read instance state the field initializer would see before the constructor assigns it.

org.openrewrite.java.recipes.UseEstimatedEffortPerOccurrenceField
mod run . --recipe=org.openrewrite.java.recipes.UseEstimatedEffortPerOccurrenceField

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