--- /dev/null
+package test;
+
+/** TODO import func. is missing. */
+public class TestJavaClass031 {
+ /** Default constructor. */
+ public TestJavaClass031() {
+ /* 0: aload_0 */
+
+ /*
+ * 1: invokespecial java/lang/Object#<init>()V
+ */
+
+ /* 4: return */
+ }
+
+ /** Method. */
+ public void loopSample() {
+ /* 0: iconst_5 */
+
+ /* 1: istore_1 */
+
+ /* 2: iload_1 */
+
+ /*
+ * 3: tableswitch TODO negative value:tableswitch: -2
+ */
+ }
+}
\ No newline at end of file
package test;\r
\r
+/**\r
+ * Simple test class for JavaClassFileAnalyzer.\r
+ * \r
+ * @author Toshiki Iga\r
+ */\r
public class TestJavaClass001 {\r
public static void main(final String[] args) {\r
System.out.println("Hello jcfa world!");\r
package test;\r
\r
+/**\r
+ * Simple test class for JavaClassFileAnalyzer.\r
+ * \r
+ * @author Toshiki Iga\r
+ */\r
public class TestJavaClass002 {\r
public static final String TEST_001 = "Hello jcfa world.";\r
\r
package test;
+/**
+ * Simple test class for JavaClassFileAnalyzer.
+ *
+ * @author Toshiki Iga
+ */
public class TestJavaClass003 {
private int test001 = 1;
private int test002 = 2;
package test;
+/**
+ * Simple test class for JavaClassFileAnalyzer.
+ *
+ * @author Toshiki Iga
+ */
public class TestJavaClass011 {
public void loopSample() {
if (true) {
package test;
+/**
+ * Simple test class for JavaClassFileAnalyzer.
+ *
+ * @author Toshiki Iga
+ */
public class TestJavaClass021 {
public void loopSample() {
for (int i = 0; i < 10; i++) {
--- /dev/null
+package test;
+
+/**
+ * Simple test class for JavaClassFileAnalyzer.
+ *
+ * @author Toshiki Iga
+ */
+public class TestJavaClass031 {
+ public void loopSample() {
+ int i = 5;
+ switch (i) {
+ case 1:
+ System.out.println("Test: " + i);
+ break;
+ case 2:
+ System.out.println("Test: " + i);
+ break;
+ case 3:
+ System.out.println("Test: " + i);
+ break;
+ case 4:
+ System.out.println("Test: " + i);
+ break;
+ case 5:
+ System.out.println("Test: " + i);
+ break;
+ default:
+ System.out.println("Default: " + i);
+ break;
+ }
+ }
+}