docs: function assignConstant(name, value, interf) {
          if (hasDefineProperty) {
              Object.defineProperty(interf, name, {
                  get: function () {
                      return value;
                  },
                  set: function () {
                      throw new Error('Cannot change value of constant property "' + name + '" of interface "' + this.prototype.$name + '".');
                  },
                  configurable: false,
                  enumerable: true
              });
          } else {
              interf[name] = value;
          }
      }