Klocwork Documentation | 2025.4
KT.USE_REQUIRE_NOT_NULL
Not-null check can be replaced with a 'requireNotNull()' call
Turn on this rule to flag require calls for not-null check that can be replaced with a requireNotNull call.
Noncompliant Code
Compliant Code