PreferInstanceofOverGetKind
Prefer instanceof over getKind() checks where possible, as these work well with pattern matching instanceofs

Severity
WARNING

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("PreferInstanceofOverGetKind") to the enclosing element.