code: function (oControl, bStashed) {
  			var bOldValue;
  			var vControlId = oControl.getId();
  			if (oControl.getVisible){
  				bOldValue = !oControl.getVisible();
  			} else {
  				bOldValue = oControl.getStashed();
  			}
  
  			JsControlTreeModifier.setStashed.apply(this, arguments);
  
  			var oSetControl = sap.ui.getCore().byId(vControlId);
  
  			if (bOldValue !== bStashed) {
  				this._saveUndoOperation("setStashed", [oSetControl, !bStashed]);
  			}
  		}
docs: Execute the setStashed method and record the opposite value for the undo operation
  The control can be a StashedControl ("placeholder") or a "real" control
  After the setStashed operation, the placeholder can create a real control with same ID
  Therefore we must save the previous ID in order to perform setStashed on this new control when executing the undo
  Real controls have getVisible; placeholders have getStashed. For real controls, we only manipulate the visibility, since
  once they are created, the stashing is not relevant anymore
  @override