private static void serializeArg(StringBuilder message, Object arg)
{
if (arg instanceof JsVariableCreationInMethod)
{
JsVariableCreationInMethod jsVariableCreationInMethod= (JsVariableCreationInMethod) arg;
message.append("_ed.njvcim(");
message.append("\"" + jsVariableCreationInMethod.getMethodName() + "\"" + ",");
serializeReferenceHolder(message, jsVariableCreationInMethod.getCallerReferenceHolder());
message.append(",");
message.append("\"" + jsVariableCreationInMethod.getName() + "\"" + ",");
serializeReferenceHolder(message, jsVariableCreationInMethod.getValueReferenceHolder());
message.append(")");
}
else if (arg instanceof ScriptCrossExecutionCommand)
{
ScriptCrossExecutionCommand scriptCrossExecutionCommand= (ScriptCrossExecutionCommand) arg;