docs: public final void setOptimizationLevel(int optimizationLevel)
      {
          if (sealed) onSealedMutation();
          if (optimizationLevel == -2) {
              // To be compatible with Cocoon fork
              optimizationLevel = -1;
          }
          checkOptimizationLevel(optimizationLevel);
          if (codegenClass == null)
              optimizationLevel = -1;
          this.optimizationLevel = optimizationLevel;
      }