StreamRules Refaster recipes

Apache 2.0

Refaster rules related to expressions dealing with Streams. Source.

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

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 StreamRules.Joining
  2. Refaster template StreamRules.StreamOfNullable
  3. Refaster template StreamRules.StreamIdentity
  4. Refaster template StreamRules.StreamConcat
  5. Refaster template StreamRules.StreamSorted
  6. Refaster template StreamRules.StreamFilterSorted
  7. Refaster template StreamRules.StreamFilterSortedWithComparator
  8. Refaster template StreamRules.StreamDistinctSorted
  9. Refaster template StreamRules.StreamDistinctSortedWithComparator
  10. Refaster template StreamRules.StreamCollectLeastStream
  11. Refaster template StreamRules.StreamCollectLeastNaturalOrderStream
  12. Refaster template StreamRules.StreamFindFirstMap
  13. Refaster template StreamRules.StreamFindAnyIsEmpty
  14. Refaster template StreamRules.StreamFindAnyIsPresent
  15. Refaster template StreamRules.StreamFindFirst
  16. Refaster template StreamRules.StreamMapMapGetFilterObjectsNonNull
  17. Refaster template StreamRules.StreamMin
  18. Refaster template StreamRules.StreamMinNaturalOrder
  19. Refaster template StreamRules.StreamMax
  20. Refaster template StreamRules.StreamMaxNaturalOrder
  21. Refaster template StreamRules.StreamMapToIntSummaryStatistics
  22. Refaster template StreamRules.StreamMapToDoubleSummaryStatistics
  23. Refaster template StreamRules.StreamMapToLongSummaryStatistics
  24. Refaster template StreamRules.StreamCount
  25. Refaster template StreamRules.StreamReduce
  26. Refaster template StreamRules.StreamReduceWithObject
  27. Refaster template StreamRules.StreamFilterCollect
  28. Refaster template StreamRules.StreamMapCollect
  29. Refaster template StreamRules.StreamFlatMapCollect
  30. Refaster template StreamRules.StreamTakeWhile
  31. Refaster template StreamRules.StreamIterate
  32. Refaster template StreamRules.StreamOf1
  33. Refaster template StreamRules.StreamOf2
  34. Refaster template StreamRules.StreamOf3
  35. Refaster template StreamRules.StreamOf4
  36. Refaster template StreamRules.StreamOf5
  37. Refaster template StreamRules.StreamsStream
  38. Refaster template StreamRules.CollectionParallelStream