docs: function (evt) {
                  try {
                      this.assertTrue(typeof(evt) == 'object' && typeof(evt.name) == 'string'
                              && typeof(evt.src) == 'object' && typeof(evt.src.$events) == 'object', 'The object passed to checkEvent is not an event.');
                      var evtdesc = evt.src.$events[evt.name];
                      this.assertTrue(evtdesc != null, 'The event "' + evt.name + '" is not defined in '
                              + evt.src.$classpath);
                      for (var i in evt) {
                          if (i != 'src' && i != 'name') {
                              this.assertTrue(evtdesc.properties[i] != null, 'Undocumented event property "' + i
                                      + '" in ' + evt.name + ' from ' + evt.src.$classpath);
                          }
                      }
                  } catch (ex) {
                      // TODO What to do if there is an error ?
                  }
  
              }