code: function (out, name, value, defaultValue) {
              if (out.parentClassType == this._classType) {
                  // override value at class loading time, as there is a parent template:
                  if (value != null) {
                      out.writeln("proto.", name, " = ", ariaUtilsJson.convertToJsonString(value), ";");
                  }
              } else {
                  var valueStr = value != null ? ariaUtilsJson.convertToJsonString(value) : defaultValue;
                  out.writeln("proto.", name, " = ", valueStr, ";");
              }
          }
docs: Write to the current block of the class writer some code to handle inheritance of a value. This code is
  intended to be put in the $init method.
  @param {aria.templates.ClassWriter} out markup writer.
  @param {String} name Name of the value in the class prototype
  @param {Object} value Value to set for the property. If null, the value will be inherited from parent, or the
  default value will be used if there is no parent.
  @param {String} defaultValue default value
  @protected