diff --git a/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONTraceGenerator.java b/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONTraceGenerator.java index 0aae591..08b967a 100644 --- a/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONTraceGenerator.java +++ b/org.ntlab.traceCollector/src/org/ntlab/traceCollector/tracer/JSONTraceGenerator.java @@ -32,7 +32,7 @@ keys.add("lineNum"); values.add(lineNum); keys.add("time"); values.add(timeStamp); return "$proceed($$); " + - Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @Override @@ -52,7 +52,7 @@ keys.add("lineNum"); values.add(lineNum); keys.add("time"); values.add(timeStamp); return "$_ = $proceed(); " + - Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @@ -69,7 +69,7 @@ keys.add("lineNum"); values.add(lineNum); keys.add("time"); values.add(timeStamp); return "$_ = $proceed($$); " + - Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @Override @@ -98,7 +98,7 @@ keys.add("args"); values.add(generateJSONArrayGenerator(argList)); keys.add("threadId"); values.add(threadId); keys.add("time"); values.add(timeStamp); - return Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + return Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @Override @@ -120,7 +120,7 @@ keys.add("returnValue"); values.add(generateJSONObjectGenerator(returnedClass, returnedObject)); keys.add("threadId"); values.add(threadId); keys.add("time"); values.add(timeStamp); - return Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + return Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @Override @@ -131,7 +131,7 @@ keys.add("callerSideSignature"); values.add(DQ_GEN + " + \"" + m.getLongName().replace('$', '.') + "\" + " + DQ_GEN); // AspectJ�ł̓��\�b�h�V�O�j�`�����ł͖����N���X�̓h�b�g�ŋ�؂��� keys.add("threadId"); values.add(threadId); keys.add("lineNum"); values.add(lineNum); - return Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + return Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @Override @@ -149,7 +149,7 @@ keys.add("threadId"); values.add(threadId); keys.add("lineNum"); values.add(lineNum); keys.add("time"); values.add(timeStamp); - return Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + return Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } @Override @@ -160,7 +160,7 @@ keys.add("name"); values.add(DQ_GEN + " + " + className + " + " + DQ_GEN); keys.add("path"); values.add(DQ_GEN + " + " + classPath + " + " + DQ_GEN); keys.add("loaderPath"); values.add(DQ_GEN + " + " + loaderPath + " + " + DQ_GEN); - return Tracer.TRACER + "MyPrintStream.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; + return Tracer.TRACER + "OfflineTraceOutput.println(" + generateJSONMapGenerator(keys, values) + " + \",\");"; } private String generateJSONObjectGenerator(String className, String objectId) { @@ -201,7 +201,7 @@ keys.add("value"); values.add(generateJSONObjectOutput(valueType, valueId)); keys.add("threadId"); values.add(Long.toString(threadId)); keys.add("time"); values.add(Long.toString(timeStamp)); - MyPrintStream.println(generateJSONMapOutput(keys, values) + ","); + OfflineTraceOutput.println(generateJSONMapOutput(keys, values) + ","); } public static void arrayGetOutput(String arrayType, String arrayId, int index, String valueType, String valueId, long threadId, long timeStamp) { @@ -213,7 +213,7 @@ keys.add("value"); values.add(generateJSONObjectOutput(valueType, valueId)); keys.add("threadId"); values.add(Long.toString(threadId)); keys.add("time"); values.add(Long.toString(timeStamp)); - MyPrintStream.println(generateJSONMapOutput(keys, values) + ","); + OfflineTraceOutput.println(generateJSONMapOutput(keys, values) + ","); } private static String generateJSONObjectOutput(String className, String objectId) {