2
Easiest is to upgrade your XOOPS to 2.4.0
In principle to use a new class, it is enough to copy the class files or directory on condition they are not dependent on other 2.4.0 core functions or classes not available in 2.3.3.
But after that, your module must also be changed to use the new class.