code: function as() {
      var _context, _ref2;
  
      var options = arguments.length <= 0 || arguments[0] === undefined ? { alias: {}, excludes: [] } : arguments[0];
      var descriptor = _asDescriptor.call(this);
      var _alias = options.alias;
      var _excludesList = options.excludes;
  
  
      (_ref2 = (_context = alias.call(descriptor, _alias), excludes)).call.apply(_ref2, [_context].concat((0, _toConsumableArray3.default)(_excludesList)));
  
      return descriptor;
  }
docs: @binding as
  Shortcut for excludes and alias. This is intended to be used within @traits decorator.
  @params options {Object}
  @oarams options.alias {Object}
  @params options.exludes {String[]}
  @usage
  
  @traits( TExample::as({ alias: {'methodOne': 'parentMethodOne'}, excludes: ['methodTwo'] }) ) class MyClass {}