MemberExpressionNode memberExpression =
AbstractSyntaxTreeUtil.generateGetterSelector(nodeFactory, _STATIC_BINDING_EVENT_DISPATCHER, false);
ListNode returnList = nodeFactory.list(null, memberExpression);
ReturnStatementNode returnStatement = nodeFactory.returnStatement(returnList);
StatementListNode functionStatementList = nodeFactory.statementList(null, returnStatement);
FunctionCommonNode functionCommon = nodeFactory.functionCommon(context, null, functionSignature,
functionStatementList);
functionCommon.setUserDefinedBody(true);
return nodeFactory.functionDefinition(context, attributeList, functionName, functionCommon);
}