DISCLAIMER: These notes are from the defunct k8 project which precedes SquirrelJME. The notes for SquirrelJME start on 2016/02/26! The k8 project was effectively a Java SE 8 operating system and as such all of the notes are in the context of that scope. That project is no longer my goal as SquirrelJME is the spiritual successor to it.
I need a common class that is better than DynaRec for common compilation code. Most of it will be copy and paste from DynaRec. However, I believe I will use a sub-class as a form of public data container so that the class bits can be more specificly together along with some casting magic. That way I can get away with specified subfields. Essentially the generic will be the subclass type which points to itself cast as itself. So while the normal stuff is of an unknown class, the code using it when it is known will be able to read the right members and such.