Revert "Update Codegen.java"

This reverts commit 79852412e935f7cee89d943a17091445b8c13056.