// generate: bytes = ByteArray(new $assetByteArray());
ASToken newToken = new ASToken(ASTokenTypes.TOKEN_KEYWORD_NEW, -1, -1, -1, -1, IASKeywordConstants.NEW);
FunctionCallNode newBytes = new FunctionCallNode(newToken, new IdentifierNode(byteArrayClassName));
FunctionCallNode byteArrayCall = new FunctionCallNode(new IdentifierNode("ByteArray"));
ContainerNode args = byteArrayCall.getArgumentsNode();
args.addItem(newBytes);
BinaryOperatorNodeBase assignmentBytes = BinaryOperatorNodeBase.create(assignToken, new IdentifierNode("bytes"), byteArrayCall);
ifContents.addItem(assignmentBytes);
// generate: return bytes;
ReturnNode returnStmt = new ReturnNode(null);