The type information should already be present in the objects, and extracting it should be relatively straightforward. We will also need another overload of Cppyy::GetMethodTemplate, i.e.
TCppMethod_t Cppyy::GetMethodTemplate(TCppScope_t scope,
const std::string& name,
const std::vector<Cpp::TCppType_t> &args,
const std::vector<Cpp::TCppType_t> &templ_params)