Query module ChainedInstanceof

name
Chain of ‘instanceof’ tests
description
Long sequences of type tests on a variable are difficult to maintain.
kind
problem
problem.severity
recommendation
precision
high
id
java/chained-type-tests
tags
maintainability language-features

Imports

java

Provides all default Java QL imports.

Predicates