AbstractSyntaxTreeUtil.generateParameter(nodeFactory, EVENT_VAR, FLASH_EVENTS, EVENT_CLASS, false);
ParameterListNode parameterList = nodeFactory.parameterList(null, parameter);
MemberExpressionNode returnTypeMemberExpression =
AbstractSyntaxTreeUtil.generateGetterSelector(nodeFactory, BOOLEAN, true);
TypeExpressionNode returnType = nodeFactory.typeExpression(returnTypeMemberExpression, true, false, -1);
FunctionSignatureNode functionSignature = nodeFactory.functionSignature(parameterList, returnType);
MemberExpressionNode _bindingEventDispatcherGetterSelector =
AbstractSyntaxTreeUtil.generateGetterSelector(nodeFactory, _BINDING_EVENT_DISPATCHER, false);
IdentifierNode identifier = nodeFactory.identifier(DISPATCH_EVENT, false);
MemberExpressionNode eventGetterSelector =