Java subset compiler implementation