ambiguity: forgotten check on class type when check for type args (IDEA-67865)