Bytecode translator for virtual machines class