IntStreamRules Refaster recipes

Apache 2.0

Refaster rules related to expressions dealing with IntStreams. Source.

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

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. Prefer IntStream#range(int, int) over more verbose alternatives
  2. Refaster template IntStreamRules.IntStreamIdentity
  3. Refaster template IntStreamRules.IntStreamConcat
  4. Refaster template IntStreamRules.IntStreamFilterSorted
  5. Refaster template IntStreamRules.IntStreamFindAnyIsEmpty
  6. Refaster template IntStreamRules.IntStreamFindAnyIsPresent
  7. Refaster template IntStreamRules.IntStreamMin
  8. Refaster template IntStreamRules.IntStreamNoneMatchWithIntPredicate
  9. Refaster template IntStreamRules.IntStreamAnyMatch
  10. Refaster template IntStreamRules.IntStreamAllMatchWithIntPredicate
  11. Refaster template IntStreamRules.IntStreamTakeWhile