code: function() {
  
  		// ensure only TreeBindings are enhanced which have not been enhanced yet
  		if (!(this instanceof TreeBinding) || this._bIsAdapted) {
  			return;
  		}
  
  		ODataTreeBindingAdapter.apply(this);
  
  		// apply the methods of the adapters prototype to the TreeBinding instance
  		for (var fn in AnalyticalTreeBindingAdapter.prototype) {
  			if (AnalyticalTreeBindingAdapter.prototype.hasOwnProperty(fn)) {
  				this[fn] = AnalyticalTreeBindingAdapter.prototype[fn];
  			}
  		}
  
  		//set the default auto expand mode
  		this.setAutoExpandMode(this.mParameters.autoExpandMode || TreeAutoExpandMode.Bundled);
  	}
docs: Adapter for TreeBindings to add the ListBinding functionality and use the
  tree structure in list based controls.
  
  @alias sap.ui.model.analytics.AnalyticalTreeBindingAdapter
  @class
  @experimental This module is only for experimental use!
  @protected