docs: public void setInstanceLevel(int[] enabled, int[] enabledSync, int newLevel, boolean recursive) {
          // fine grained spec is not defined, use 5.0 level
          if (newLevel != PmiConstants.LEVEL_FINEGRAIN) {
              if (newLevel != PmiConstants.LEVEL_UNDEFINED) {
                  setInstanceLevel_V5(newLevel, recursive);
  
                  /*
                   * not need since PmiConfigManager.updateWithRuntimeSpec is always called before persisting
                   * // Update in-memory EMF object (PMIModule)
                   * if (instance == null)
                   * {
                   * if (PmiConfigManager.isInitialized())
                   * PmiConfigManager.updateSpec(new String[]{"pmi"}, "", newLevel, recursive, false);
                   * }
                   * else
                   * {
                   * if (PmiConfigManager.isInitialized())
                   * PmiConfigManager.updateSpec(instance.getPath(), instance.getWCCMStatsType(), newLevel, recursive, false);
                   * }
                   */
              }
          } else {
              if (enabled != null)
                  setInstanceLevel_FG(enabled, enabledSync, recursive);
          }
  
          // update the statistic set in PMIImpl/config
          //PMIImpl.setStatisticSet(StatConstants.STATISTIC_SET_CUSTOM);                
      }