1 Clazz.declarePackage ("java.util");
2 Clazz.load (null, "java.util.EventObject", ["java.lang.IllegalArgumentException"], function () {
3 c$ = Clazz.decorateAsClass (function () {
5 Clazz.instantialize (this, arguments);
6 }, java.util, "EventObject");
7 Clazz.makeConstructor (c$,
10 Clazz.makeConstructor (c$,
12 if (source == null) throw new IllegalArgumentException ("null source");
15 Clazz.defineMethod (c$, "getSource",
19 Clazz.overrideMethod (c$, "toString",
21 return this.getClass ().getName () + "[source=" + this.source + "]";