This inspection reports type cast expressions which are surrounded by an instanceof check for a different type. While it is possible that this was intended, such a construct is most likely an error, and will result in a java.lang.ClassCastException at runtime.