Comment 3 for bug 1209521

Revision history for this message
Richard Gomes (frgomes) wrote :

Previous notes are mostly relevant to issue 129, which is already solved.

What is really relevant to this issue is:

When I started the translation, we didnt have TypeToken and TypeReference yet. These tricky classes are needed in order to mimic a weird class hierarchy dictated by the way C++ templates are used. In a nutshell, a certain class "C" can extend class "A" or class "B" (!), depending on the way certain templates are used. Obviously this cannot be done easily in Java. I suppose that TypeToken or TypeReferennce could be used to mimic this behavior but I havent focused on this issue yet.