ImmutableMapRules Refaster recipes
Recipe ID
tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipesArtifact
org.openrewrite.recipe:rewrite-third-partyRefaster rules related to expressions dealing with ImmutableMaps.
Source.
Usage
This recipe has no required configuration options. You’ll need the Moderne CLI configured before running the command below.
mod run . --recipe tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipesIf the recipe isn’t available locally, install it with:
mod config recipes jar install org.openrewrite.recipe:rewrite-third-party:0.44.0Definition
This recipe runs the following recipes in order.
- Refaster template
ImmutableMapRules.ImmutableMapBuildertech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapBuilderRecipe - Refaster template
ImmutableMapRules.BuilderBuildOrThrowtech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$BuilderBuildOrThrowRecipe - Refaster template
ImmutableMapRules.ImmutableMapOfEntryGetKeyEntryGetValuetech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOfEntryGetKeyEntryGetValueRecipe - Refaster template
ImmutableMapRules.ImmutableMapCopyOftech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapCopyOfRecipe - Refaster template
ImmutableMapRules.ImmutableMapOf0tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOf0Recipe - Refaster template
ImmutableMapRules.ImmutableMapOf2tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOf2Recipe - Refaster template
ImmutableMapRules.ImmutableMapOf4tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOf4Recipe - Refaster template
ImmutableMapRules.ImmutableMapOf6tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOf6Recipe - Refaster template
ImmutableMapRules.ImmutableMapOf8tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOf8Recipe - Refaster template
ImmutableMapRules.ImmutableMapOf10tech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOf10Recipe - Refaster template
ImmutableMapRules.ImmutableMapOfEntriestech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$ImmutableMapOfEntriesRecipe - Refaster template
ImmutableMapRules.BuilderPuttech.picnic.errorprone.refasterrules.ImmutableMapRulesRecipes$BuilderPutRecipe
Data tables
Structured output this recipe can produce.
- Source files that had resultsSource files that were modified by the recipe run.
org.openrewrite.table.SourcesFileResults - Source files that had search resultsSearch results that were found during the recipe run.
org.openrewrite.table.SearchResults - Source files that errored on a recipeThe details of all errors produced by a recipe run.
org.openrewrite.table.SourcesFileErrors - Recipe performanceStatistics used in analyzing the performance of recipes.
org.openrewrite.table.RecipeRunStats