StreamRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$).*
as compiler argument.
Table of contents
- Joining
- EmptyStream
- StreamOfNullable
- StreamOfArray
- ConcatOneStream
- ConcatTwoStreams
- FilterOuterStreamAfterFlatMap
- MapOuterStreamAfterFlatMap
- FlatMapOuterStreamAfterFlatMap
- StreamFilterSorted
- StreamFilterSortedWithComparator
- StreamMapFirst
- StreamFindAnyIsEmpty
- StreamFindAnyIsPresent
- StreamMin
- StreamMinNaturalOrder
- StreamMax
- StreamMaxNaturalOrder
- StreamNoneMatch
- StreamNoneMatch2
- StreamAnyMatch
- StreamAllMatch
- StreamAllMatch2
- StreamMapToIntSum
- StreamMapToDoubleSum
- StreamMapToLongSum
- StreamMapToIntSummaryStatistics
- StreamMapToDoubleSummaryStatistics
- StreamMapToLongSummaryStatistics
- StreamCount
- StreamReduce
- StreamReduceWithIdentity
- StreamFilterCollect
- StreamMapCollect
- StreamFlatMapCollect
- StreamsConcat
- StreamTakeWhile
- StreamIterate
- StreamOf1
- StreamOf2
- StreamOf3
- StreamOf4
- StreamOf5
Joining
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("Joining")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$Joining).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
EmptyStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("EmptyStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$EmptyStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOfNullable
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOfNullable")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOfNullable).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOfArray
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOfArray")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOfArray).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatOneStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatOneStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$ConcatOneStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatTwoStreams
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatTwoStreams")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$ConcatTwoStreams).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$FilterOuterStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$MapOuterStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$FlatMapOuterStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamFilterSorted
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamFilterSorted")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamFilterSorted).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamFilterSortedWithComparator
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamFilterSortedWithComparator")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamFilterSortedWithComparator).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapFirst
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapFirst")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapFirst).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamFindAnyIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamFindAnyIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamFindAnyIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamFindAnyIsPresent
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamFindAnyIsPresent")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamFindAnyIsPresent).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMin
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMin")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMin).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMinNaturalOrder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMinNaturalOrder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMinNaturalOrder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMax
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMax")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMax).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMaxNaturalOrder
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMaxNaturalOrder")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMaxNaturalOrder).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamNoneMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamNoneMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamNoneMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamNoneMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamNoneMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamNoneMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamAnyMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamAnyMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamAnyMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamAllMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamAllMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamAllMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamAllMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamAllMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamAllMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapToIntSum
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapToIntSum")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapToIntSum).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapToDoubleSum
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapToDoubleSum")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapToDoubleSum).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapToLongSum
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapToLongSum")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapToLongSum).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapToIntSummaryStatistics
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapToIntSummaryStatistics")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapToIntSummaryStatistics).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapToDoubleSummaryStatistics
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapToDoubleSummaryStatistics")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapToDoubleSummaryStatistics).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapToLongSummaryStatistics
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapToLongSummaryStatistics")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapToLongSummaryStatistics).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamCount
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamCount")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamCount).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamReduce
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamReduce")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamReduce).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamReduceWithIdentity
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamReduceWithIdentity")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamReduceWithIdentity).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamFilterCollect
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamFilterCollect")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamFilterCollect).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamMapCollect
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamMapCollect")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamMapCollect).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamFlatMapCollect
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamFlatMapCollect")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamFlatMapCollect).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamsConcat
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamsConcat")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamsConcat).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamTakeWhile
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamTakeWhile")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamTakeWhile).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamIterate
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamIterate")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamIterate).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOf1
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOf1")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOf1).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOf2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOf2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOf2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOf3
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOf3")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOf3).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOf4
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOf4")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOf4).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
StreamOf5
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("StreamOf5")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!StreamRules\$StreamOf5).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.