diff --git a/TracerOnJavassist/src/tracer/OutputStatementsGenerator.java b/TracerOnJavassist/src/tracer/OutputStatementsGenerator.java index c542217..0e27573 100644 --- a/TracerOnJavassist/src/tracer/OutputStatementsGenerator.java +++ b/TracerOnJavassist/src/tracer/OutputStatementsGenerator.java @@ -153,10 +153,10 @@ ArrayList argObjects = new ArrayList<>(); for (CtClass c : parameterClasses) { if (!c.isPrimitive()) { - argClasses.add("$args[" + p + "].getClass().getName()"); + argClasses.add("($" + (p + 1) + ").getClass().getName()"); argObjects.add("System.identityHashCode($" + (p + 1) + ")"); } else { - argClasses.add("$args[" + p + "].getClass().getName()"); + argClasses.add("\"" + c.getName() + "\""); // ��{�^�̏ꍇ�AgetClass()�ł��Ȃ����� argObjects.add("$" + (p + 1)); } p++;