PrimitiveRules Refaster recipes
Recipe ID
tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipesArtifact
org.openrewrite.recipe:rewrite-third-partyRefaster rules related to expressions dealing with primitives. 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.PrimitiveRulesRecipesIf 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
PrimitiveRules.LessThantech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LessThanRecipe - Refaster template
PrimitiveRules.LessThanOrEqualTotech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LessThanOrEqualToRecipe - Refaster template
PrimitiveRules.GreaterThantech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$GreaterThanRecipe - Refaster template
PrimitiveRules.GreaterThanOrEqualTotech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$GreaterThanOrEqualToRecipe - Refaster template
PrimitiveRules.MathClampInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$MathClampIntRecipe - Refaster template
PrimitiveRules.MathClampLongtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$MathClampLongRecipe - Refaster template
PrimitiveRules.MathClampFloattech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$MathClampFloatRecipe - Refaster template
PrimitiveRules.MathClampDoubletech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$MathClampDoubleRecipe - Refaster template
PrimitiveRules.MathToIntExacttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$MathToIntExactRecipe - Refaster template
PrimitiveRules.CharacterBytestech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$CharacterBytesRecipe - Refaster template
PrimitiveRules.ShortBytestech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ShortBytesRecipe - Refaster template
PrimitiveRules.IntegerBytestech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerBytesRecipe - Refaster template
PrimitiveRules.LongBytestech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongBytesRecipe - Refaster template
PrimitiveRules.FloatBytestech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$FloatBytesRecipe - Refaster template
PrimitiveRules.DoubleBytestech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$DoubleBytesRecipe - Refaster template
PrimitiveRules.IntegerSignumIsPositivetech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerSignumIsPositiveRecipe - Refaster template
PrimitiveRules.IntegerSignumIsNegativetech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerSignumIsNegativeRecipe - Refaster template
PrimitiveRules.LongSignumIsPositivetech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongSignumIsPositiveRecipe - Refaster template
PrimitiveRules.LongSignumIsNegativetech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongSignumIsNegativeRecipe - Refaster template
PrimitiveRules.IntegerCompareUnsignedtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerCompareUnsignedRecipe - Refaster template
PrimitiveRules.LongCompareUnsignedtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongCompareUnsignedRecipe - Refaster template
PrimitiveRules.IntegerDivideUnsignedtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerDivideUnsignedRecipe - Refaster template
PrimitiveRules.LongDivideUnsignedtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongDivideUnsignedRecipe - Refaster template
PrimitiveRules.IntegerRemainderUnsignedtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerRemainderUnsignedRecipe - Refaster template
PrimitiveRules.LongRemainderUnsignedtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongRemainderUnsignedRecipe - Refaster template
PrimitiveRules.IntegerParseUnsignedInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerParseUnsignedIntRecipe - Refaster template
PrimitiveRules.LongParseUnsignedLongtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongParseUnsignedLongRecipe - Refaster template
PrimitiveRules.IntegerParseUnsignedIntWithInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerParseUnsignedIntWithIntRecipe - Refaster template
PrimitiveRules.LongParseUnsignedLongWithInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongParseUnsignedLongWithIntRecipe - Refaster template
PrimitiveRules.IntegerToUnsignedStringtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerToUnsignedStringRecipe - Refaster template
PrimitiveRules.LongToUnsignedStringtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToUnsignedStringRecipe - Refaster template
PrimitiveRules.IntegerToUnsignedStringWithInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$IntegerToUnsignedStringWithIntRecipe - Refaster template
PrimitiveRules.LongToUnsignedStringWithInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$LongToUnsignedStringWithIntRecipe - Refaster template
PrimitiveRules.ArraysCompareUnsignedBytetech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ArraysCompareUnsignedByteRecipe - Refaster template
PrimitiveRules.ArraysCompareUnsignedInttech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ArraysCompareUnsignedIntRecipe - Refaster template
PrimitiveRules.ArraysCompareUnsignedLongtech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes$ArraysCompareUnsignedLongRecipe
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