PrimitiveRules Refaster recipes

Apache 2.0

Refaster rules related to expressions dealing with primitives. Source.

tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes
mod run . --recipe=tech.picnic.errorprone.refasterrules.PrimitiveRulesRecipes

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

Recipe list

It runs these recipes, in this order.

  1. Refaster template PrimitiveRules.LessThan
  2. Refaster template PrimitiveRules.LessThanOrEqualTo
  3. Refaster template PrimitiveRules.GreaterThan
  4. Refaster template PrimitiveRules.GreaterThanOrEqualTo
  5. Refaster template PrimitiveRules.MathClampInt
  6. Refaster template PrimitiveRules.MathClampLong
  7. Refaster template PrimitiveRules.MathClampFloat
  8. Refaster template PrimitiveRules.MathClampDouble
  9. Refaster template PrimitiveRules.MathToIntExact
  10. Refaster template PrimitiveRules.CharacterBytes
  11. Refaster template PrimitiveRules.ShortBytes
  12. Refaster template PrimitiveRules.IntegerBytes
  13. Refaster template PrimitiveRules.LongBytes
  14. Refaster template PrimitiveRules.FloatBytes
  15. Refaster template PrimitiveRules.DoubleBytes
  16. Refaster template PrimitiveRules.IntegerSignumIsPositive
  17. Refaster template PrimitiveRules.IntegerSignumIsNegative
  18. Refaster template PrimitiveRules.LongSignumIsPositive
  19. Refaster template PrimitiveRules.LongSignumIsNegative
  20. Refaster template PrimitiveRules.IntegerCompareUnsigned
  21. Refaster template PrimitiveRules.LongCompareUnsigned
  22. Refaster template PrimitiveRules.IntegerDivideUnsigned
  23. Refaster template PrimitiveRules.LongDivideUnsigned
  24. Refaster template PrimitiveRules.IntegerRemainderUnsigned
  25. Refaster template PrimitiveRules.LongRemainderUnsigned
  26. Refaster template PrimitiveRules.IntegerParseUnsignedInt
  27. Refaster template PrimitiveRules.LongParseUnsignedLong
  28. Refaster template PrimitiveRules.IntegerParseUnsignedIntWithInt
  29. Refaster template PrimitiveRules.LongParseUnsignedLongWithInt
  30. Refaster template PrimitiveRules.IntegerToUnsignedString
  31. Refaster template PrimitiveRules.LongToUnsignedString
  32. Refaster template PrimitiveRules.IntegerToUnsignedStringWithInt
  33. Refaster template PrimitiveRules.LongToUnsignedStringWithInt
  34. Refaster template PrimitiveRules.ArraysCompareUnsignedByte
  35. Refaster template PrimitiveRules.ArraysCompareUnsignedInt
  36. Refaster template PrimitiveRules.ArraysCompareUnsignedLong