import jp.igapyon.jcfa.vo.JcfaMethod;
import jp.igapyon.jcfa.vo.JcfaUnit;
import jp.igapyon.jcfa.vo.operandstack.JcfaOSLocalVariable;
+import jp.igapyon.jcfa.vo.operandstack.JcfaOSRef;
import org.apache.bcel.Constants;
import org.apache.bcel.classfile.JavaClass;
break;
}
case Constants.GETSTATIC: {
- jcfaCode.getComment()
- .getCommentList()
- .add(JcfaUtil.getConstantFieldrefString(jc, codes[1],
- codes[2]));
+ final JcfaOSRef osRef = new JcfaOSRef();
+ jcfaMethod.getFrame().getOperandStack().push(osRef);
+ osRef.setClassName(JcfaUtil.getConstantFieldrefString(jc,
+ codes[1], codes[2]));
+
+ jcfaCode.getComment().getCommentList()
+ .add(osRef.getClassName());
break;
}
case Constants.LDC: {