code: function getAllAttributes() {
    return _.reduce(
      this.getInheritanceChain(),
      (acc, cls) => _.reduce(cls.attributes, (acc2, v, k) => {acc2[k] = v; return acc2}, acc),
      {})
  }
docs: Returns the own and inherited attributes of this class
  @method
  @memberof Class~ClassInstance