OSDN Git Service

save
[jcfa/jcfa.git] / jcfa / src / jp / igapyon / jcfa / util / JcfaWriteUtil.java
index 90ead33..f599556 100644 (file)
@@ -204,7 +204,7 @@ public class JcfaWriteUtil {
                                jcfaMethod.getFrame().getOperandStack().push(osLocalVariable);
 
                                jcfaCode.getComment().getCommentList()
-                                               .add(osLocalVariable.getVal().toString());
+                                               .add(osLocalVariable.toDisplayString());
 
                                break;
                        }
@@ -418,12 +418,12 @@ public class JcfaWriteUtil {
                                final JcfaItem osNodeArg0 = jcfaMethod.getFrame()
                                                .getOperandStack().pop();
 
-                               final JcfaItemReference osRef = (JcfaItemReference) jcfaMethod
-                                               .getFrame().getOperandStack().pop();
+                               final JcfaItem osRef = jcfaMethod.getFrame().getOperandStack()
+                                               .pop();
 
                                jcfaCode.getComment()
                                                .getCommentList()
-                                               .add("" + osRef.getObject() + "#"
+                                               .add("" + osRef.toString() + "#"
                                                                + osNodeArg0.toString());
 
                                break;