Kyle Galloway wrote:
+ /**
+ * Returns a specific filtering parameter for this event. Valid types are
+ * thread and location
+ *
+ * @param type the type of parameter desired
+ * @returns the desired parameter or null
+ */
+ public Object getParameter(int type)
+ {
+ if (type == EVENT_THREAD)
+ return _thread;
+ else if (type == EVENT_LOCATION)
+ return _location;
+ else if (type == EVENT_INSTANCE)
+ return _instance;
+
+ return null;
+ }
I think this is the same as Method*Events: EVENT_CLASS needs to be
added. [Although I admit, it is silly. No one would ever do that.]
But, hey, I didn't write the spec. :-)
Keith