AssertJMapRules
SUGGESTION
Simplification
Suppression
Disable all rules by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$).*
as compiler argument.
Table of contents
- AbstractMapAssertIsEmpty
- AssertThatMapIsEmpty
- AbstractMapAssertIsNotEmpty
- AssertThatMapIsNotEmpty
- AbstractMapAssertContainsExactlyInAnyOrderEntriesOf
- AbstractMapAssertContainsExactlyEntriesOf
- AssertThatMapHasSize
- AbstractMapAssertHasSameSizeAs
- AssertThatMapContainsKey
- AssertThatMapDoesNotContainKey
- AssertThatMapContainsOnlyKeys
- AssertThatMapContainsValue
- AssertThatMapDoesNotContainValue
- AssertThatMapContainsEntry
AbstractMapAssertIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractMapAssertIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AbstractMapAssertIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapIsEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapIsEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapIsEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractMapAssertIsNotEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractMapAssertIsNotEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AbstractMapAssertIsNotEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapIsNotEmpty
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapIsNotEmpty")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapIsNotEmpty).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractMapAssertContainsExactlyInAnyOrderEntriesOf
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractMapAssertContainsExactlyInAnyOrderEntriesOf")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AbstractMapAssertContainsExactlyInAnyOrderEntriesOf).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractMapAssertContainsExactlyEntriesOf
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractMapAssertContainsExactlyEntriesOf")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AbstractMapAssertContainsExactlyEntriesOf).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapHasSize
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapHasSize")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapHasSize).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AbstractMapAssertHasSameSizeAs
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AbstractMapAssertHasSameSizeAs")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AbstractMapAssertHasSameSizeAs).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapContainsKey
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapContainsKey")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapContainsKey).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapDoesNotContainKey
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapDoesNotContainKey")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapDoesNotContainKey).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapContainsOnlyKeys
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapContainsOnlyKeys")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapContainsOnlyKeys).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapContainsValue
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapContainsValue")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapContainsValue).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapDoesNotContainValue
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapDoesNotContainValue")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapDoesNotContainValue).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.
AssertThatMapContainsEntry
SUGGESTION
Simplification
Suppression
Suppress false positives by adding the suppression annotation
@SuppressWarnings("AssertThatMapContainsEntry")
to the enclosing element.Disable this rule by adding
-XepOpt:Refaster:NamePattern=^(?!AssertJMapRules\$AssertThatMapContainsEntry).*
as compiler argument.
Samples
Shows the difference in example code before and after the Refaster rule is applied.