Rule that checks for assert statements where the assert condition expressions is a constant value or literal value, such as:
assert trueassert falseassert Boolean.TRUEassert Boolean.FALSEassert nullassert 0assert 99.7assert ""assert "abc"assert [:]assert [a:123, b:456]assert [a, b, c]| Type | Name and description |
|---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |