How can I create generic method UML like this?

TResponse Query<TRequest, TResponse>(TRequest message) where TResponse : class;

so ,who can help me?
or give me a small example for download?