IdentifierNode willTriggerIdentifier = nodeFactory.identifier(WILL_TRIGGER, false);
FunctionNameNode functionName = nodeFactory.functionName(Tokens.EMPTY_TOKEN, willTriggerIdentifier);
ParameterNode typeParameter =
AbstractSyntaxTreeUtil.generateParameter(nodeFactory, TYPE, STRING, false);
ParameterListNode parameterList = nodeFactory.parameterList(null, typeParameter);
MemberExpressionNode returnTypeMemberExpression =
AbstractSyntaxTreeUtil.generateGetterSelector(nodeFactory, BOOLEAN, true);
TypeExpressionNode returnType = nodeFactory.typeExpression(returnTypeMemberExpression, true, false, -1);
FunctionSignatureNode functionSignature = nodeFactory.functionSignature(parameterList, returnType);