Reports on uses of
instanceof
or
getClass() == SomeClass.class
where the expression checked is
this
. Such expressions are indicative of a failure of object-oriented design, and should be replaced by polymorphic constructions.