LongStreamRules Refaster recipes

Apache 2.0

Refaster rules related to expressions dealing with LongStreams. Source.

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

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 LongStream#range(long, long) over more verbose alternatives
  2. Refaster template LongStreamRules.LongStreamIdentity
  3. Refaster template LongStreamRules.LongStreamConcat
  4. Refaster template LongStreamRules.LongStreamFilterSorted
  5. Refaster template LongStreamRules.LongStreamFindAnyIsEmpty
  6. Refaster template LongStreamRules.LongStreamFindAnyIsPresent
  7. Refaster template LongStreamRules.LongStreamMin
  8. Refaster template LongStreamRules.LongStreamNoneMatchWithLongPredicate
  9. Refaster template LongStreamRules.LongStreamAnyMatch
  10. Refaster template LongStreamRules.LongStreamAllMatchWithLongPredicate
  11. Refaster template LongStreamRules.LongStreamTakeWhile