mark Object,Class as not supported generic type