/**
 * * Licensed under the Apache License, Version 2.0 (the 'License');
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an 'AS IS' BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Generated by Apache Flex Cross-Compiler from org/apache/flex/utils/MixinManager.as
 * org.apache.flex.utils.MixinManager
 *
 * @fileoverview
 *
 * @suppress {checkTypes|accessControls}
 */

goog.provide('org.apache.flex.utils.MixinManager');

goog.require('org.apache.flex.core.IBead');
goog.require('org.apache.flex.utils.Language');



/**
 *  Constructor.
 *  
 *  @langversion 3.0
 *  @playerversion Flash 10.2
 *  @playerversion AIR 2.6
 *  @productversion FlexJS 0.0
 * @constructor
 * @implements {org.apache.flex.core.IBead}
 */
org.apache.flex.utils.MixinManager = function() {
  ;
};


/**
 * @private
 * @type {org.apache.flex.core.IStrand}
 */
org.apache.flex.utils.MixinManager.prototype._strand;


Object.defineProperties(org.apache.flex.utils.MixinManager.prototype, /** @lends {org.apache.flex.utils.MixinManager.prototype} */ {
/** @export */
strand: {
set: /** @this {org.apache.flex.utils.MixinManager} */ function(value) {
  this._strand = value;
  
  var /** @type {org.apache.flex.core.IFlexInfo} */ app = value;
  if (app) {
    var /** @type {Object} */ info = app.info();
    if (info) {
      var /** @type {Array} */ mixins = info['mixins'];
      if (mixins) {
        var /** @type {number} */ n = mixins.length;
        for (var /** @type {number} */ i = 0; i < n; i++) {
          mixins[i].init(value);
        }
      }
    }
  }
}}}
);


/**
 * Metadata
 *
 * @type {Object.<string, Array.<Object>>}
 */
org.apache.flex.utils.MixinManager.prototype.FLEXJS_CLASS_INFO = { names: [{ name: 'MixinManager', qName: 'org.apache.flex.utils.MixinManager'}], interfaces: [org.apache.flex.core.IBead] };


/**
 * Prevent renaming of class. Needed for reflection.
 */
goog.exportSymbol('org.apache.flex.utils.MixinManager', org.apache.flex.utils.MixinManager);



/**
 * Reflection
 *
 * @return {Object.<string, Function>}
 */
org.apache.flex.utils.MixinManager.prototype.FLEXJS_REFLECTION_INFO = function () {
  return {
    variables: function () {
      return {
      };
    },
    accessors: function () {
      return {
        'strand': { type: 'IStrand', declaredBy: 'org.apache.flex.utils.MixinManager'}
      };
    },
    methods: function () {
      return {
        'MixinManager': { type: '', declaredBy: 'org.apache.flex.utils.MixinManager'}
      };
    }
  };
};