Implement class upper bound of method type parameter