code: function (out) {
              out.writeln("$constructor: function() { ");
              out.increaseIndent();
              var parentClassName = out.parentClassName;
              if (parentClassName) {
                  out.writeln("this.$", parentClassName, ".constructor.call(this);");
              }
              var scriptClassName = out.scriptClassName;
              if (scriptClassName) {
                  out.writeln("this.$", scriptClassName, ".constructor.call(this);");
              }
              out.decreaseIndent();
              out.writeln("},");
          }
docs: Write to the current block of the class writer the constructor of the class definition. The body of the
  method contains a call to the parent constructor and a call to the script constructor.
  @param {aria.templates.ClassWriter} out
  @protected