Use Java SDK instead of MoreExecutors#directExecutor()
** org.openrewrite.java.migrate.guava.NoGuavaDirectExecutor** Executor is a SAM-compatible interface, so Runnable::run is just as succinct as MoreExecutors.directExecutor() but without the third-party library requirement.
This recipe has no required configuration options and can be activated directly after taking a dependency on org.openrewrite.recipe:rewrite-migrate-java:1.7.0 in your build file:
Recipes can also be activated directly from the command line by adding the argument -Drewrite.activeRecipesorg.openrewrite.java.migrate.guava.NoGuavaDirectExecutor