Move instanceof logic from SA to InstanceofUtil. The new generics check here is questionable as the actual generic geclaration from instanceofThis is never used, and some other LeftHandGenericUse is passed in instead. This could use a revision that is out of scope for this commit.
Fix SA instanceof (CClassType, CClassType) method signature being redirected to the (Mixed, CClassType) instanceof method, effectively making all types ClassType instead of their actual type.
(CClassType, CClassType)
method signature being redirected to the(Mixed, CClassType)
instanceof method, effectively making all typesClassType
instead of their actual type.