Inline lambda body from matched method invocations

Proprietary

Extracts the body of lambda expressions passed to matched method invocations and inlines them into the surrounding code.

io.moderne.java.dropwizard.boot.test.MethodLambdaExtractor

Required

The fully qualified type that must be present for this recipe to run.

The method pattern to match for lambda extraction.

mod run . --recipe=io.moderne.java.dropwizard.boot.test.MethodLambdaExtractor \ -P preconditionType=io.dropwizard.testing.junit.DAOTestRule \ -P matchingPattern='*..DAOTestRule inTransaction(..)'

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