redundant cast: always report casts in instanceOf checks for class types; exclude primitive types
redundant cast: ignore incorrect types, e.g. in templates
redundant cast: ignore more specific cast types in foreach statements when opType is enough to be used in foreach expr
redundant cast: special checks for throwable cases (IDEA-111511)
primitive/class conversions are available since language level 1.5 (IDEA-111451)
least upper bound for primitive arrays fixed (IDEA-111420)