• R/O
  • HTTP
  • SSH
  • HTTPS

jcfa: Commit

JavaClassFileAnalyzer (jcfa) のメインリポジトリです。


Commit MetaInfo

Revision8b7ff66d23555a719c02a40dc353201ab4598b5a (tree)
Time2014-04-03 07:41:43
Authoriga <tosiki.iga@nift...>
Commiteriga

Log Message

save

Change Summary

Incremental Difference

--- a/jcfa/src/jp/igapyon/jcfa/JcfaParser.java
+++ b/jcfa/src/jp/igapyon/jcfa/JcfaParser.java
@@ -8,6 +8,7 @@ import jp.igapyon.jcfa.util.JcfaUtil;
88 import jp.igapyon.jcfa.vo.JcfaClass;
99 import jp.igapyon.jcfa.vo.JcfaCode;
1010 import jp.igapyon.jcfa.vo.JcfaField;
11+import jp.igapyon.jcfa.vo.JcfaLocalVariable;
1112 import jp.igapyon.jcfa.vo.JcfaMethod;
1213 import jp.igapyon.jcfa.vo.JcfaUnit;
1314
@@ -128,6 +129,15 @@ public class JcfaParser {
128129
129130 jcfaMethod.setName(method.getName());
130131 jcfaMethod.getComment().setJavaDoc(true);
132+
133+ {
134+ // push this to local variable.
135+ final JcfaLocalVariable jcfaLocalVariable = new JcfaLocalVariable();
136+ jcfaMethod.getFrame().getLocalVariableList().add(jcfaLocalVariable);
137+ jcfaLocalVariable.setName("this");
138+ jcfaLocalVariable.setType(jcfaClass.getName());
139+ }
140+
131141 if (jcfaMethod.getName().equals("<init>")) {
132142 jcfaMethod.getComment().getCommentList()
133143 .add("Default constructor.");
--- a/jcfa/src/jp/igapyon/jcfa/util/JcfaWriteUtil.java
+++ b/jcfa/src/jp/igapyon/jcfa/util/JcfaWriteUtil.java
@@ -10,6 +10,7 @@ import jp.igapyon.jcfa.vo.JcfaCode;
1010 import jp.igapyon.jcfa.vo.JcfaComment;
1111 import jp.igapyon.jcfa.vo.JcfaField;
1212 import jp.igapyon.jcfa.vo.JcfaMethod;
13+import jp.igapyon.jcfa.vo.JcfaOperandStackNode;
1314 import jp.igapyon.jcfa.vo.JcfaUnit;
1415
1516 import org.apache.bcel.Constants;
@@ -136,6 +137,17 @@ public class JcfaWriteUtil {
136137 final JavaClass jc = jcfaCode.getJavaClass();
137138
138139 switch (jcfaCode.getOpcode()) {
140+ case Constants.ALOAD_0: {
141+ jcfaCode.getComment()
142+ .getCommentList()
143+ .add(jcfaMethod.getFrame().getLocalVariableList()
144+ .get(0).getName());
145+ final JcfaOperandStackNode operandStackNode = new JcfaOperandStackNode();
146+ jcfaMethod.getFrame().getOperandStack().push(operandStackNode);
147+ operandStackNode.setName(jcfaMethod.getFrame()
148+ .getLocalVariableList().get(0).getName());
149+ break;
150+ }
139151 case Constants.RETURN: {
140152 break;
141153 }
--- a/jcfa/src/jp/igapyon/jcfa/vo/JcfaMethod.java
+++ b/jcfa/src/jp/igapyon/jcfa/vo/JcfaMethod.java
@@ -8,9 +8,9 @@ public class JcfaMethod extends JcfaNode {
88
99 protected String type;
1010
11- protected final List<String> arugumentTypeList = new ArrayList<String>();;
11+ protected final List<String> arugumentTypeList = new ArrayList<String>();
1212
13- protected String access;
13+ protected String access;;
1414
1515 protected final List<JcfaCode> codeList = new ArrayList<JcfaCode>();
1616
@@ -28,6 +28,10 @@ public class JcfaMethod extends JcfaNode {
2828 return codeList;
2929 }
3030
31+ public JcfaFrame getFrame() {
32+ return frame;
33+ }
34+
3135 public String getName() {
3236 return name;
3337 }
@@ -47,5 +51,4 @@ public class JcfaMethod extends JcfaNode {
4751 public void setType(String type) {
4852 this.type = type;
4953 }
50-
5154 }
--- a/jcfa/src/jp/igapyon/jcfa/vo/JcfaOperandStack.java
+++ b/jcfa/src/jp/igapyon/jcfa/vo/JcfaOperandStack.java
@@ -1,5 +1,15 @@
11 package jp.igapyon.jcfa.vo;
22
3+import java.util.Stack;
4+
35 public class JcfaOperandStack {
6+ protected final Stack<JcfaOperandStackNode> operandStack = new Stack<JcfaOperandStackNode>();
7+
8+ public void push(final JcfaOperandStackNode operandStackNode) {
9+ operandStack.push(operandStackNode);
10+ }
411
12+ public JcfaOperandStackNode pop() {
13+ return operandStack.pop();
14+ }
515 }
--- /dev/null
+++ b/jcfa/src/jp/igapyon/jcfa/vo/JcfaOperandStackNode.java
@@ -0,0 +1,13 @@
1+package jp.igapyon.jcfa.vo;
2+
3+public class JcfaOperandStackNode {
4+ protected String name;
5+
6+ public String getName() {
7+ return name;
8+ }
9+
10+ public void setName(String name) {
11+ this.name = name;
12+ }
13+}
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaClass.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaClass.jcfa
@@ -18,7 +18,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
1818 /** Default constructor. */
1919 public JcfaClass() {
2020 /*
21- * 0: aload_0 TODO unsupported opcode
21+ * 0: aload_0 this
2222 */
2323
2424 /*
@@ -26,7 +26,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
2626 */
2727
2828 /*
29- * 4: aload_0 TODO unsupported opcode
29+ * 4: aload_0 this
3030 */
3131
3232 /*
@@ -38,7 +38,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
3838 */
3939
4040 /*
41- * 10: aload_0 TODO unsupported opcode
41+ * 10: aload_0 this
4242 */
4343
4444 /*
@@ -50,7 +50,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
5050 */
5151
5252 /*
53- * 15: aload_0 TODO unsupported opcode
53+ * 15: aload_0 this
5454 */
5555
5656 /*
@@ -70,7 +70,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
7070 */
7171
7272 /*
73- * 26: aload_0 TODO unsupported opcode
73+ * 26: aload_0 this
7474 */
7575
7676 /*
@@ -95,7 +95,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
9595 /** Method. */
9696 public java.lang.String getAccess() {
9797 /*
98- * 0: aload_0 TODO unsupported opcode
98+ * 0: aload_0 this
9999 */
100100
101101 /*
@@ -110,7 +110,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
110110 /** Method. */
111111 public java.lang.String getExtendsName() {
112112 /*
113- * 0: aload_0 TODO unsupported opcode
113+ * 0: aload_0 this
114114 */
115115
116116 /*
@@ -125,7 +125,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
125125 /** Method. */
126126 public java.util.List getFieldList() {
127127 /*
128- * 0: aload_0 TODO unsupported opcode
128+ * 0: aload_0 this
129129 */
130130
131131 /*
@@ -140,7 +140,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
140140 /** Method. */
141141 public java.lang.String getLocalName() {
142142 /*
143- * 0: aload_0 TODO unsupported opcode
143+ * 0: aload_0 this
144144 */
145145
146146 /*
@@ -192,7 +192,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
192192 /** Method. */
193193 public java.util.List getMethodList() {
194194 /*
195- * 0: aload_0 TODO unsupported opcode
195+ * 0: aload_0 this
196196 */
197197
198198 /*
@@ -207,7 +207,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
207207 /** Method. */
208208 public java.lang.String getName() {
209209 /*
210- * 0: aload_0 TODO unsupported opcode
210+ * 0: aload_0 this
211211 */
212212
213213 /*
@@ -222,7 +222,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
222222 /** Method. */
223223 public boolean isMainClass() {
224224 /*
225- * 0: aload_0 TODO unsupported opcode
225+ * 0: aload_0 this
226226 */
227227
228228 /*
@@ -239,7 +239,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
239239 */
240240 public void setAccess(java.lang.String arg0) {
241241 /*
242- * 0: aload_0 TODO unsupported opcode
242+ * 0: aload_0 this
243243 */
244244
245245 /*
@@ -258,7 +258,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
258258 */
259259 public void setExtendsName(java.lang.String arg0) {
260260 /*
261- * 0: aload_0 TODO unsupported opcode
261+ * 0: aload_0 this
262262 */
263263
264264 /*
@@ -277,7 +277,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
277277 */
278278 public void setMainClass(boolean arg0) {
279279 /*
280- * 0: aload_0 TODO unsupported opcode
280+ * 0: aload_0 this
281281 */
282282
283283 /*
@@ -296,7 +296,7 @@ public class JcfaClass extends jp.igapyon.jcfa.vo.JcfaNode {
296296 */
297297 public void setName(java.lang.String arg0) {
298298 /*
299- * 0: aload_0 TODO unsupported opcode
299+ * 0: aload_0 this
300300 */
301301
302302 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaCode.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaCode.jcfa
@@ -12,7 +12,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
1212 /** Default constructor. */
1313 public JcfaCode() {
1414 /*
15- * 0: aload_0 TODO unsupported opcode
15+ * 0: aload_0 this
1616 */
1717
1818 /*
@@ -20,7 +20,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
2020 */
2121
2222 /*
23- * 4: aload_0 TODO unsupported opcode
23+ * 4: aload_0 this
2424 */
2525
2626 /*
@@ -32,7 +32,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
3232 */
3333
3434 /*
35- * 9: aload_0 TODO unsupported opcode
35+ * 9: aload_0 this
3636 */
3737
3838 /*
@@ -49,7 +49,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
4949 /** Method. */
5050 public byte[] getCodes() {
5151 /*
52- * 0: aload_0 TODO unsupported opcode
52+ * 0: aload_0 this
5353 */
5454
5555 /*
@@ -64,7 +64,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
6464 /** Method. */
6565 public org.apache.bcel.classfile.JavaClass getJavaClass() {
6666 /*
67- * 0: aload_0 TODO unsupported opcode
67+ * 0: aload_0 this
6868 */
6969
7070 /*
@@ -79,7 +79,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
7979 /** Method. */
8080 public short getOpcode() {
8181 /*
82- * 0: aload_0 TODO unsupported opcode
82+ * 0: aload_0 this
8383 */
8484
8585 /*
@@ -96,7 +96,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
9696 */
9797 public void setCodes(byte[] arg0) {
9898 /*
99- * 0: aload_0 TODO unsupported opcode
99+ * 0: aload_0 this
100100 */
101101
102102 /*
@@ -115,7 +115,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
115115 */
116116 public void setJavaClass(org.apache.bcel.classfile.JavaClass arg0) {
117117 /*
118- * 0: aload_0 TODO unsupported opcode
118+ * 0: aload_0 this
119119 */
120120
121121 /*
@@ -134,7 +134,7 @@ public class JcfaCode extends jp.igapyon.jcfa.vo.JcfaNode {
134134 */
135135 public void setOpcode(short arg0) {
136136 /*
137- * 0: aload_0 TODO unsupported opcode
137+ * 0: aload_0 this
138138 */
139139
140140 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaComment.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaComment.jcfa
@@ -10,7 +10,7 @@ public class JcfaComment {
1010 /** Default constructor. */
1111 public JcfaComment() {
1212 /*
13- * 0: aload_0 TODO unsupported opcode
13+ * 0: aload_0 this
1414 */
1515
1616 /*
@@ -18,7 +18,7 @@ public class JcfaComment {
1818 */
1919
2020 /*
21- * 4: aload_0 TODO unsupported opcode
21+ * 4: aload_0 this
2222 */
2323
2424 /*
@@ -30,7 +30,7 @@ public class JcfaComment {
3030 */
3131
3232 /*
33- * 9: aload_0 TODO unsupported opcode
33+ * 9: aload_0 this
3434 */
3535
3636 /*
@@ -55,7 +55,7 @@ public class JcfaComment {
5555 /** Method. */
5656 public java.util.List getCommentList() {
5757 /*
58- * 0: aload_0 TODO unsupported opcode
58+ * 0: aload_0 this
5959 */
6060
6161 /*
@@ -70,7 +70,7 @@ public class JcfaComment {
7070 /** Method. */
7171 public boolean isJavaDoc() {
7272 /*
73- * 0: aload_0 TODO unsupported opcode
73+ * 0: aload_0 this
7474 */
7575
7676 /*
@@ -87,7 +87,7 @@ public class JcfaComment {
8787 */
8888 public void setCommentList(java.util.List arg0) {
8989 /*
90- * 0: aload_0 TODO unsupported opcode
90+ * 0: aload_0 this
9191 */
9292
9393 /*
@@ -106,7 +106,7 @@ public class JcfaComment {
106106 */
107107 public void setJavaDoc(boolean arg0) {
108108 /*
109- * 0: aload_0 TODO unsupported opcode
109+ * 0: aload_0 this
110110 */
111111
112112 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaField.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaField.jcfa
@@ -14,7 +14,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
1414 /** Default constructor. */
1515 public JcfaField() {
1616 /*
17- * 0: aload_0 TODO unsupported opcode
17+ * 0: aload_0 this
1818 */
1919
2020 /*
@@ -27,7 +27,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
2727 /** Method. */
2828 public java.lang.String getAccess() {
2929 /*
30- * 0: aload_0 TODO unsupported opcode
30+ * 0: aload_0 this
3131 */
3232
3333 /*
@@ -42,7 +42,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
4242 /** Method. */
4343 public java.lang.String getConstantValue() {
4444 /*
45- * 0: aload_0 TODO unsupported opcode
45+ * 0: aload_0 this
4646 */
4747
4848 /*
@@ -57,7 +57,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
5757 /** Method. */
5858 public java.lang.String getName() {
5959 /*
60- * 0: aload_0 TODO unsupported opcode
60+ * 0: aload_0 this
6161 */
6262
6363 /*
@@ -72,7 +72,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
7272 /** Method. */
7373 public java.lang.String getType() {
7474 /*
75- * 0: aload_0 TODO unsupported opcode
75+ * 0: aload_0 this
7676 */
7777
7878 /*
@@ -89,7 +89,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
8989 */
9090 public void setAccess(java.lang.String arg0) {
9191 /*
92- * 0: aload_0 TODO unsupported opcode
92+ * 0: aload_0 this
9393 */
9494
9595 /*
@@ -108,7 +108,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
108108 */
109109 public void setConstantValue(java.lang.String arg0) {
110110 /*
111- * 0: aload_0 TODO unsupported opcode
111+ * 0: aload_0 this
112112 */
113113
114114 /*
@@ -127,7 +127,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
127127 */
128128 public void setName(java.lang.String arg0) {
129129 /*
130- * 0: aload_0 TODO unsupported opcode
130+ * 0: aload_0 this
131131 */
132132
133133 /*
@@ -146,7 +146,7 @@ public class JcfaField extends jp.igapyon.jcfa.vo.JcfaNode {
146146 */
147147 public void setType(java.lang.String arg0) {
148148 /*
149- * 0: aload_0 TODO unsupported opcode
149+ * 0: aload_0 this
150150 */
151151
152152 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaFrame.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaFrame.jcfa
@@ -3,14 +3,14 @@ package jp.igapyon.jcfa.vo;
33 /** TODO import func. is missing. */
44 public class JcfaFrame {
55 /** */
6- protected final java.util.List localVariable;
6+ protected final java.util.List localVariableList;
77 /** */
88 protected final jp.igapyon.jcfa.vo.JcfaOperandStack operandStack;
99
1010 /** Default constructor. */
1111 public JcfaFrame() {
1212 /*
13- * 0: aload_0 TODO unsupported opcode
13+ * 0: aload_0 this
1414 */
1515
1616 /*
@@ -18,7 +18,7 @@ public class JcfaFrame {
1818 */
1919
2020 /*
21- * 4: aload_0 TODO unsupported opcode
21+ * 4: aload_0 this
2222 */
2323
2424 /*
@@ -38,7 +38,7 @@ public class JcfaFrame {
3838 */
3939
4040 /*
41- * 15: aload_0 TODO unsupported opcode
41+ * 15: aload_0 this
4242 */
4343
4444 /*
@@ -61,9 +61,9 @@ public class JcfaFrame {
6161 }
6262
6363 /** Method. */
64- public java.util.List getLocalVariable() {
64+ public java.util.List getLocalVariableList() {
6565 /*
66- * 0: aload_0 TODO unsupported opcode
66+ * 0: aload_0 this
6767 */
6868
6969 /*
@@ -78,7 +78,7 @@ public class JcfaFrame {
7878 /** Method. */
7979 public jp.igapyon.jcfa.vo.JcfaOperandStack getOperandStack() {
8080 /*
81- * 0: aload_0 TODO unsupported opcode
81+ * 0: aload_0 this
8282 */
8383
8484 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaLocalVariable.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaLocalVariable.jcfa
@@ -2,10 +2,15 @@ package jp.igapyon.jcfa.vo;
22
33 /** TODO import func. is missing. */
44 public class JcfaLocalVariable {
5+ /** */
6+ protected java.lang.String name;
7+ /** */
8+ protected java.lang.String type;
9+
510 /** Default constructor. */
611 public JcfaLocalVariable() {
712 /*
8- * 0: aload_0 TODO unsupported opcode
13+ * 0: aload_0 this
914 */
1015
1116 /*
@@ -14,4 +19,72 @@ public class JcfaLocalVariable {
1419
1520 /* 4: return */
1621 }
22+
23+ /** Method. */
24+ public java.lang.String getName() {
25+ /*
26+ * 0: aload_0 this
27+ */
28+
29+ /*
30+ * 1: getfield TODO unsupported opcode
31+ */
32+
33+ /*
34+ * 4: areturn TODO unsupported opcode
35+ */
36+ }
37+
38+ /** Method. */
39+ public java.lang.String getType() {
40+ /*
41+ * 0: aload_0 this
42+ */
43+
44+ /*
45+ * 1: getfield TODO unsupported opcode
46+ */
47+
48+ /*
49+ * 4: areturn TODO unsupported opcode
50+ */
51+ }
52+
53+ /**
54+ * Method. java.lang.String
55+ */
56+ public void setName(java.lang.String arg0) {
57+ /*
58+ * 0: aload_0 this
59+ */
60+
61+ /*
62+ * 1: aload_1 TODO unsupported opcode
63+ */
64+
65+ /*
66+ * 2: putfield TODO unsupported opcode
67+ */
68+
69+ /* 5: return */
70+ }
71+
72+ /**
73+ * Method. java.lang.String
74+ */
75+ public void setType(java.lang.String arg0) {
76+ /*
77+ * 0: aload_0 this
78+ */
79+
80+ /*
81+ * 1: aload_1 TODO unsupported opcode
82+ */
83+
84+ /*
85+ * 2: putfield TODO unsupported opcode
86+ */
87+
88+ /* 5: return */
89+ }
1790 }
\ No newline at end of file
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaMethod.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaMethod.jcfa
@@ -18,7 +18,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
1818 /** Default constructor. */
1919 public JcfaMethod() {
2020 /*
21- * 0: aload_0 TODO unsupported opcode
21+ * 0: aload_0 this
2222 */
2323
2424 /*
@@ -26,7 +26,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
2626 */
2727
2828 /*
29- * 4: aload_0 TODO unsupported opcode
29+ * 4: aload_0 this
3030 */
3131
3232 /*
@@ -46,7 +46,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
4646 */
4747
4848 /*
49- * 15: aload_0 TODO unsupported opcode
49+ * 15: aload_0 this
5050 */
5151
5252 /*
@@ -66,7 +66,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
6666 */
6767
6868 /*
69- * 26: aload_0 TODO unsupported opcode
69+ * 26: aload_0 this
7070 */
7171
7272 /*
@@ -91,7 +91,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
9191 /** Method. */
9292 public java.lang.String getAccess() {
9393 /*
94- * 0: aload_0 TODO unsupported opcode
94+ * 0: aload_0 this
9595 */
9696
9797 /*
@@ -106,7 +106,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
106106 /** Method. */
107107 public java.util.List getArugumentTypeList() {
108108 /*
109- * 0: aload_0 TODO unsupported opcode
109+ * 0: aload_0 this
110110 */
111111
112112 /*
@@ -121,7 +121,22 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
121121 /** Method. */
122122 public java.util.List getCodeList() {
123123 /*
124- * 0: aload_0 TODO unsupported opcode
124+ * 0: aload_0 this
125+ */
126+
127+ /*
128+ * 1: getfield TODO unsupported opcode
129+ */
130+
131+ /*
132+ * 4: areturn TODO unsupported opcode
133+ */
134+ }
135+
136+ /** Method. */
137+ public jp.igapyon.jcfa.vo.JcfaFrame getFrame() {
138+ /*
139+ * 0: aload_0 this
125140 */
126141
127142 /*
@@ -136,7 +151,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
136151 /** Method. */
137152 public java.lang.String getName() {
138153 /*
139- * 0: aload_0 TODO unsupported opcode
154+ * 0: aload_0 this
140155 */
141156
142157 /*
@@ -151,7 +166,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
151166 /** Method. */
152167 public java.lang.String getType() {
153168 /*
154- * 0: aload_0 TODO unsupported opcode
169+ * 0: aload_0 this
155170 */
156171
157172 /*
@@ -168,7 +183,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
168183 */
169184 public void setAccess(java.lang.String arg0) {
170185 /*
171- * 0: aload_0 TODO unsupported opcode
186+ * 0: aload_0 this
172187 */
173188
174189 /*
@@ -187,7 +202,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
187202 */
188203 public void setName(java.lang.String arg0) {
189204 /*
190- * 0: aload_0 TODO unsupported opcode
205+ * 0: aload_0 this
191206 */
192207
193208 /*
@@ -206,7 +221,7 @@ public class JcfaMethod extends jp.igapyon.jcfa.vo.JcfaNode {
206221 */
207222 public void setType(java.lang.String arg0) {
208223 /*
209- * 0: aload_0 TODO unsupported opcode
224+ * 0: aload_0 this
210225 */
211226
212227 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaNode.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaNode.jcfa
@@ -8,7 +8,7 @@ public class JcfaNode {
88 /** Default constructor. */
99 public JcfaNode() {
1010 /*
11- * 0: aload_0 TODO unsupported opcode
11+ * 0: aload_0 this
1212 */
1313
1414 /*
@@ -16,7 +16,7 @@ public class JcfaNode {
1616 */
1717
1818 /*
19- * 4: aload_0 TODO unsupported opcode
19+ * 4: aload_0 this
2020 */
2121
2222 /*
@@ -41,7 +41,7 @@ public class JcfaNode {
4141 /** Method. */
4242 public jp.igapyon.jcfa.vo.JcfaComment getComment() {
4343 /*
44- * 0: aload_0 TODO unsupported opcode
44+ * 0: aload_0 this
4545 */
4646
4747 /*
@@ -58,7 +58,7 @@ public class JcfaNode {
5858 */
5959 public void setComment(jp.igapyon.jcfa.vo.JcfaComment arg0) {
6060 /*
61- * 0: aload_0 TODO unsupported opcode
61+ * 0: aload_0 this
6262 */
6363
6464 /*
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaOperandStack.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaOperandStack.jcfa
@@ -2,16 +2,90 @@ package jp.igapyon.jcfa.vo;
22
33 /** TODO import func. is missing. */
44 public class JcfaOperandStack {
5+ /** */
6+ protected final java.util.Stack operandStack;
7+
58 /** Default constructor. */
69 public JcfaOperandStack() {
710 /*
8- * 0: aload_0 TODO unsupported opcode
11+ * 0: aload_0 this
912 */
1013
1114 /*
1215 * 1: invokespecial java/lang/Object#<init>()V
1316 */
1417
15- /* 4: return */
18+ /*
19+ * 4: aload_0 this
20+ */
21+
22+ /*
23+ * 5: new TODO unsupported opcode
24+ */
25+
26+ /*
27+ * 8: dup TODO unsupported opcode
28+ */
29+
30+ /*
31+ * 9: invokespecial java/util/Stack#<init>()V
32+ */
33+
34+ /*
35+ * 12: putfield TODO unsupported opcode
36+ */
37+
38+ /* 15: return */
39+ }
40+
41+ /**
42+ * Method. jp.igapyon.jcfa.vo.JcfaOperandStackNode
43+ */
44+ public void push(jp.igapyon.jcfa.vo.JcfaOperandStackNode arg0) {
45+ /*
46+ * 0: aload_0 this
47+ */
48+
49+ /*
50+ * 1: getfield TODO unsupported opcode
51+ */
52+
53+ /*
54+ * 4: aload_1 TODO unsupported opcode
55+ */
56+
57+ /*
58+ * 5: invokevirtual
59+ * java/util/Stack#push(Ljava/lang/Object;)Ljava/lang/Object;
60+ */
61+
62+ /*
63+ * 8: pop TODO unsupported opcode
64+ */
65+
66+ /* 9: return */
67+ }
68+
69+ /** Method. */
70+ public jp.igapyon.jcfa.vo.JcfaOperandStackNode pop() {
71+ /*
72+ * 0: aload_0 this
73+ */
74+
75+ /*
76+ * 1: getfield TODO unsupported opcode
77+ */
78+
79+ /*
80+ * 4: invokevirtual java/util/Stack#pop()Ljava/lang/Object;
81+ */
82+
83+ /*
84+ * 7: checkcast TODO unsupported opcode
85+ */
86+
87+ /*
88+ * 10: areturn TODO unsupported opcode
89+ */
1690 }
1791 }
\ No newline at end of file
--- /dev/null
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaOperandStackNode.jcfa
@@ -0,0 +1,54 @@
1+package jp.igapyon.jcfa.vo;
2+
3+/** TODO import func. is missing. */
4+public class JcfaOperandStackNode {
5+ /** */
6+ protected java.lang.String name;
7+
8+ /** Default constructor. */
9+ public JcfaOperandStackNode() {
10+ /*
11+ * 0: aload_0 this
12+ */
13+
14+ /*
15+ * 1: invokespecial java/lang/Object#<init>()V
16+ */
17+
18+ /* 4: return */
19+ }
20+
21+ /** Method. */
22+ public java.lang.String getName() {
23+ /*
24+ * 0: aload_0 this
25+ */
26+
27+ /*
28+ * 1: getfield TODO unsupported opcode
29+ */
30+
31+ /*
32+ * 4: areturn TODO unsupported opcode
33+ */
34+ }
35+
36+ /**
37+ * Method. java.lang.String
38+ */
39+ public void setName(java.lang.String arg0) {
40+ /*
41+ * 0: aload_0 this
42+ */
43+
44+ /*
45+ * 1: aload_1 TODO unsupported opcode
46+ */
47+
48+ /*
49+ * 2: putfield TODO unsupported opcode
50+ */
51+
52+ /* 5: return */
53+ }
54+}
\ No newline at end of file
--- a/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaUnit.jcfa
+++ b/jcfa/testJavaClass/output/jp/igapyon/jcfa/vo/JcfaUnit.jcfa
@@ -12,7 +12,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
1212 /** Default constructor. */
1313 public JcfaUnit() {
1414 /*
15- * 0: aload_0 TODO unsupported opcode
15+ * 0: aload_0 this
1616 */
1717
1818 /*
@@ -20,7 +20,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
2020 */
2121
2222 /*
23- * 4: aload_0 TODO unsupported opcode
23+ * 4: aload_0 this
2424 */
2525
2626 /*
@@ -45,7 +45,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
4545 /** Method. */
4646 public java.util.List getClassList() {
4747 /*
48- * 0: aload_0 TODO unsupported opcode
48+ * 0: aload_0 this
4949 */
5050
5151 /*
@@ -60,7 +60,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
6060 /** Method. */
6161 public java.lang.String getName() {
6262 /*
63- * 0: aload_0 TODO unsupported opcode
63+ * 0: aload_0 this
6464 */
6565
6666 /*
@@ -75,7 +75,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
7575 /** Method. */
7676 public java.io.File getTargetFile() {
7777 /*
78- * 0: aload_0 TODO unsupported opcode
78+ * 0: aload_0 this
7979 */
8080
8181 /*
@@ -92,7 +92,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
9292 */
9393 public void setName(java.lang.String arg0) {
9494 /*
95- * 0: aload_0 TODO unsupported opcode
95+ * 0: aload_0 this
9696 */
9797
9898 /*
@@ -111,7 +111,7 @@ public class JcfaUnit extends jp.igapyon.jcfa.vo.JcfaNode {
111111 */
112112 public void setTargetFile(java.io.File arg0) {
113113 /*
114- * 0: aload_0 TODO unsupported opcode
114+ * 0: aload_0 this
115115 */
116116
117117 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass001.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass001.jcfa
@@ -5,7 +5,7 @@ public class TestJavaClass001 {
55 /** Default constructor. */
66 public TestJavaClass001() {
77 /*
8- * 0: aload_0 TODO unsupported opcode
8+ * 0: aload_0 this
99 */
1010
1111 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass002.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass002.jcfa
@@ -15,7 +15,7 @@ public class TestJavaClass002 {
1515 /** Default constructor. */
1616 public TestJavaClass002() {
1717 /*
18- * 0: aload_0 TODO unsupported opcode
18+ * 0: aload_0 this
1919 */
2020
2121 /*
@@ -23,7 +23,7 @@ public class TestJavaClass002 {
2323 */
2424
2525 /*
26- * 4: aload_0 TODO unsupported opcode
26+ * 4: aload_0 this
2727 */
2828
2929 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass003.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass003.jcfa
@@ -20,7 +20,7 @@ public class TestJavaClass003 {
2020 /** Default constructor. */
2121 public TestJavaClass003() {
2222 /*
23- * 0: aload_0 TODO unsupported opcode
23+ * 0: aload_0 this
2424 */
2525
2626 /*
@@ -28,7 +28,7 @@ public class TestJavaClass003 {
2828 */
2929
3030 /*
31- * 4: aload_0 TODO unsupported opcode
31+ * 4: aload_0 this
3232 */
3333
3434 /*
@@ -40,7 +40,7 @@ public class TestJavaClass003 {
4040 */
4141
4242 /*
43- * 9: aload_0 TODO unsupported opcode
43+ * 9: aload_0 this
4444 */
4545
4646 /*
@@ -52,7 +52,7 @@ public class TestJavaClass003 {
5252 */
5353
5454 /*
55- * 14: aload_0 TODO unsupported opcode
55+ * 14: aload_0 this
5656 */
5757
5858 /*
@@ -64,7 +64,7 @@ public class TestJavaClass003 {
6464 */
6565
6666 /*
67- * 19: aload_0 TODO unsupported opcode
67+ * 19: aload_0 this
6868 */
6969
7070 /*
@@ -76,7 +76,7 @@ public class TestJavaClass003 {
7676 */
7777
7878 /*
79- * 24: aload_0 TODO unsupported opcode
79+ * 24: aload_0 this
8080 */
8181
8282 /*
@@ -88,7 +88,7 @@ public class TestJavaClass003 {
8888 */
8989
9090 /*
91- * 29: aload_0 TODO unsupported opcode
91+ * 29: aload_0 this
9292 */
9393
9494 /*
@@ -100,7 +100,7 @@ public class TestJavaClass003 {
100100 */
101101
102102 /*
103- * 35: aload_0 TODO unsupported opcode
103+ * 35: aload_0 this
104104 */
105105
106106 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass011.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass011.jcfa
@@ -5,7 +5,7 @@ public class TestJavaClass011 {
55 /** Default constructor. */
66 public TestJavaClass011() {
77 /*
8- * 0: aload_0 TODO unsupported opcode
8+ * 0: aload_0 this
99 */
1010
1111 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass021.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass021.jcfa
@@ -5,7 +5,7 @@ public class TestJavaClass021 {
55 /** Default constructor. */
66 public TestJavaClass021() {
77 /*
8- * 0: aload_0 TODO unsupported opcode
8+ * 0: aload_0 this
99 */
1010
1111 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass031.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass031.jcfa
@@ -5,7 +5,7 @@ public class TestJavaClass031 {
55 /** Default constructor. */
66 public TestJavaClass031() {
77 /*
8- * 0: aload_0 TODO unsupported opcode
8+ * 0: aload_0 this
99 */
1010
1111 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass032.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass032.jcfa
@@ -5,7 +5,7 @@ public class TestJavaClass032 {
55 /** Default constructor. */
66 public TestJavaClass032() {
77 /*
8- * 0: aload_0 TODO unsupported opcode
8+ * 0: aload_0 this
99 */
1010
1111 /*
--- a/jcfa/testJavaClass/output/test/TestJavaClass041.jcfa
+++ b/jcfa/testJavaClass/output/test/TestJavaClass041.jcfa
@@ -5,7 +5,7 @@ public class TestJavaClass041 {
55 /** Default constructor. */
66 public TestJavaClass041() {
77 /*
8- * 0: aload_0 TODO unsupported opcode
8+ * 0: aload_0 this
99 */
1010
1111 /*
Show on old repository browser