// Event handlers all have one parameter, whose type is determined by
// the [Event] metadata that declared the event.
// This type was stored in the EventDefinition
// that the MXMLEventSpecifierNode refers to.
EventDefinition eventDefinition = (EventDefinition)eventNode.getDefinition();
Name eventTypeName = eventDefinition.getTypeReference().getMName(
project, (ASScope)eventDefinition.getContainingScope());
Vector<Name> paramTypes = new Vector<Name>();
paramTypes.add(eventTypeName);
mi.setParamTypes(paramTypes);
Vector<String> paramName = new Vector<String>();