/* This source file is generated by JavaClassFileAnalyzer. */
/* Do not modify this source file. */
public class JcfaVersionConstants {
- public static final String VERSION = "I201404030744";
+ public static final String VERSION = "I201404032042";
public static final String getVersion() {
return VERSION;
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: {
package jp.igapyon.jcfa.vo.operandstack;
-public class JcfaOSClass extends JcfaOSNode {
+public class JcfaOSRef extends JcfaOSNode {
protected String className;
public String getClassName() {
--- /dev/null
+package jp.igapyon.jcfa.vo.operandstack;
+
+/** TODO import func. is missing. */
+public class JcfaOSRef extends jp.igapyon.jcfa.vo.operandstack.JcfaOSNode {
+ /** */
+ protected java.lang.String className;
+
+ /** Constructor. */
+ public JcfaOSRef() {
+ /*
+ * 0: aload_0 this
+ */
+
+ /*
+ * 1: invokespecial jp/igapyon/jcfa/vo/operandstack/JcfaOSNode#<init>()V
+ */
+
+ /* 4: return */
+ }
+
+ /** Method. */
+ public java.lang.String getClassName() {
+ /*
+ * 0: aload_0 this
+ */
+
+ /*
+ * 1: getfield TODO unsupported opcode
+ */
+
+ /*
+ * 4: areturn TODO unsupported opcode
+ */
+ }
+
+ /**
+ * Method. java.lang.String
+ */
+ public void setClassName(java.lang.String arg0) {
+ /*
+ * 0: aload_0 this
+ */
+
+ /*
+ * 1: aload_1 TODO unsupported opcode
+ */
+
+ /*
+ * 2: putfield TODO unsupported opcode
+ */
+
+ /* 5: return */
+ }
+}
\ No newline at end of file