aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test/Test.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/test/Test.java b/src/test/test/Test.java
new file mode 100644
index 00000000..29a08a69
--- /dev/null
+++ b/src/test/test/Test.java
@@ -0,0 +1,14 @@
+package test;
+
+import javassist.bytecode.*;
+
+public class Test {
+ public static void main(String[] args) {
+ String[] names = Mnemonic.OPCODE;
+ for (int i = 0; i < names.length; i++)
+ if (names[i] == null)
+ System.out.println(" case " + i + " :");
+ else
+ System.out.println(" case Opcode." + names[i].toUpperCase() + " :");
+ }
+}