IntStreamRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$).*
as compiler argument.
Table of contents
- IntStreamClosedOpenRange
- ConcatOneIntStream
- ConcatTwoIntStreams
- FilterOuterIntStreamAfterFlatMap
- FilterOuterStreamAfterFlatMapToInt
- MapOuterIntStreamAfterFlatMap
- MapOuterStreamAfterFlatMapToInt
- FlatMapOuterIntStreamAfterFlatMap
- FlatMapOuterStreamAfterFlatMapToInt
- IntStreamFilterSorted
- IntStreamIsEmpty
- IntStreamIsNotEmpty
- IntStreamMin
- IntStreamNoneMatch
- IntStreamNoneMatch2
- IntStreamAnyMatch
- IntStreamAllMatch
- IntStreamAllMatch2
- IntStreamTakeWhile
IntStreamClosedOpenRange
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamClosedOpenRange")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamClosedOpenRange).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatOneIntStream
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatOneIntStream")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$ConcatOneIntStream).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
ConcatTwoIntStreams
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("ConcatTwoIntStreams")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$ConcatTwoIntStreams).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterIntStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterIntStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$FilterOuterIntStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FilterOuterStreamAfterFlatMapToInt
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FilterOuterStreamAfterFlatMapToInt")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$FilterOuterStreamAfterFlatMapToInt).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterIntStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterIntStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$MapOuterIntStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
MapOuterStreamAfterFlatMapToInt
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("MapOuterStreamAfterFlatMapToInt")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$MapOuterStreamAfterFlatMapToInt).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterIntStreamAfterFlatMap
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterIntStreamAfterFlatMap")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$FlatMapOuterIntStreamAfterFlatMap).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
FlatMapOuterStreamAfterFlatMapToInt
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("FlatMapOuterStreamAfterFlatMapToInt")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$FlatMapOuterStreamAfterFlatMapToInt).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamFilterSorted
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamFilterSorted")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamFilterSorted).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamIsNotEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamIsNotEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamIsNotEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamMin
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamMin")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamMin).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamNoneMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamNoneMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamNoneMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamNoneMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamNoneMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamNoneMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamAnyMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamAnyMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamAnyMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamAllMatch
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamAllMatch")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamAllMatch).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamAllMatch2
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamAllMatch2")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamAllMatch2).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
IntStreamTakeWhile
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("IntStreamTakeWhile")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!IntStreamRules\$IntStreamTakeWhile).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.