• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // ASM: a very small and fast Java bytecode manipulation framework
2 // Copyright (c) 2000-2011 INRIA, France Telecom
3 // All rights reserved.
4 //
5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions
7 // are met:
8 // 1. Redistributions of source code must retain the above copyright
9 //    notice, this list of conditions and the following disclaimer.
10 // 2. Redistributions in binary form must reproduce the above copyright
11 //    notice, this list of conditions and the following disclaimer in the
12 //    documentation and/or other materials provided with the distribution.
13 // 3. Neither the name of the copyright holders nor the names of its
14 //    contributors may be used to endorse or promote products derived from
15 //    this software without specific prior written permission.
16 //
17 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
21 // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 // THE POSSIBILITY OF SUCH DAMAGE.
28 package org.objectweb.asm;
29 
30 /**
31  * The JVM opcodes, access flags and array type codes. This interface does not define all the JVM
32  * opcodes because some opcodes are automatically handled. For example, the xLOAD and xSTORE opcodes
33  * are automatically replaced by xLOAD_n and xSTORE_n opcodes when possible. The xLOAD_n and
34  * xSTORE_n opcodes are therefore not defined in this interface. Likewise for LDC, automatically
35  * replaced by LDC_W or LDC2_W when necessary, WIDE, GOTO_W and JSR_W.
36  *
37  * @see <a href="https://docs.oracle.com/javase/specs/jvms/se11/html/jvms-6.html">JVMS 6</a>
38  * @author Eric Bruneton
39  * @author Eugene Kuleshov
40  */
41 // DontCheck(InterfaceIsType): can't be fixed (for backward binary compatibility).
42 public interface Opcodes {
43 
44   // ASM API versions.
45 
46   int ASM4 = 4 << 16 | 0 << 8;
47   int ASM5 = 5 << 16 | 0 << 8;
48   int ASM6 = 6 << 16 | 0 << 8;
49   int ASM7 = 7 << 16 | 0 << 8;
50   int ASM8 = 8 << 16 | 0 << 8;
51   int ASM9 = 9 << 16 | 0 << 8;
52 
53   /**
54    * <i>Experimental, use at your own risk. This field will be renamed when it becomes stable, this
55    * will break existing code using it. Only code compiled with --enable-preview can use this.</i>
56    *
57    * @deprecated This API is experimental.
58    */
59   @Deprecated int ASM10_EXPERIMENTAL = 1 << 24 | 10 << 16 | 0 << 8;
60 
61   /*
62    * Internal flags used to redirect calls to deprecated methods. For instance, if a visitOldStuff
63    * method in API_OLD is deprecated and replaced with visitNewStuff in API_NEW, then the
64    * redirection should be done as follows:
65    *
66    * <pre>
67    * public class StuffVisitor {
68    *   ...
69    *
70    *   &#64;Deprecated public void visitOldStuff(int arg, ...) {
71    *     // SOURCE_DEPRECATED means "a call from a deprecated method using the old 'api' value".
72    *     visitNewStuf(arg | (api &#60; API_NEW ? SOURCE_DEPRECATED : 0), ...);
73    *   }
74    *
75    *   public void visitNewStuff(int argAndSource, ...) {
76    *     if (api &#60; API_NEW &#38;&#38; (argAndSource &#38; SOURCE_DEPRECATED) == 0) {
77    *       visitOldStuff(argAndSource, ...);
78    *     } else {
79    *       int arg = argAndSource &#38; ~SOURCE_MASK;
80    *       [ do stuff ]
81    *     }
82    *   }
83    * }
84    * </pre>
85    *
86    * <p>If 'api' is equal to API_NEW, there are two cases:
87    *
88    * <ul>
89    *   <li>call visitNewStuff: the redirection test is skipped and 'do stuff' is executed directly.
90    *   <li>call visitOldSuff: the source is not set to SOURCE_DEPRECATED before calling
91    *       visitNewStuff, but the redirection test is skipped anyway in visitNewStuff, which
92    *       directly executes 'do stuff'.
93    * </ul>
94    *
95    * <p>If 'api' is equal to API_OLD, there are two cases:
96    *
97    * <ul>
98    *   <li>call visitOldSuff: the source is set to SOURCE_DEPRECATED before calling visitNewStuff.
99    *       Because of this visitNewStuff does not redirect back to visitOldStuff, and instead
100    *       executes 'do stuff'.
101    *   <li>call visitNewStuff: the call is redirected to visitOldStuff because the source is 0.
102    *       visitOldStuff now sets the source to SOURCE_DEPRECATED and calls visitNewStuff back. This
103    *       time visitNewStuff does not redirect the call, and instead executes 'do stuff'.
104    * </ul>
105    *
106    * <h1>User subclasses</h1>
107    *
108    * <p>If a user subclass overrides one of these methods, there are only two cases: either 'api' is
109    * API_OLD and visitOldStuff is overridden (and visitNewStuff is not), or 'api' is API_NEW or
110    * more, and visitNewStuff is overridden (and visitOldStuff is not). Any other case is a user
111    * programming error.
112    *
113    * <p>If 'api' is equal to API_NEW, the class hierarchy is equivalent to
114    *
115    * <pre>
116    * public class StuffVisitor {
117    *   &#64;Deprecated public void visitOldStuff(int arg, ...) { visitNewStuf(arg, ...); }
118    *   public void visitNewStuff(int arg, ...) { [ do stuff ] }
119    * }
120    * class UserStuffVisitor extends StuffVisitor {
121    *   &#64;Override public void visitNewStuff(int arg, ...) {
122    *     super.visitNewStuff(int arg, ...); // optional
123    *     [ do user stuff ]
124    *   }
125    * }
126    * </pre>
127    *
128    * <p>It is then obvious that whether visitNewStuff or visitOldStuff is called, 'do stuff' and 'do
129    * user stuff' will be executed, in this order.
130    *
131    * <p>If 'api' is equal to API_OLD, the class hierarchy is equivalent to
132    *
133    * <pre>
134    * public class StuffVisitor {
135    *   &#64;Deprecated public void visitOldStuff(int arg, ...) {
136    *     visitNewStuff(arg | SOURCE_DEPRECATED, ...);
137    *   }
138    *   public void visitNewStuff(int argAndSource...) {
139    *     if ((argAndSource & SOURCE_DEPRECATED) == 0) {
140    *       visitOldStuff(argAndSource, ...);
141    *     } else {
142    *       int arg = argAndSource &#38; ~SOURCE_MASK;
143    *       [ do stuff ]
144    *     }
145    *   }
146    * }
147    * class UserStuffVisitor extends StuffVisitor {
148    *   &#64;Override public void visitOldStuff(int arg, ...) {
149    *     super.visitOldStuff(int arg, ...); // optional
150    *     [ do user stuff ]
151    *   }
152    * }
153    * </pre>
154    *
155    * <p>and there are two cases:
156    *
157    * <ul>
158    *   <li>call visitOldStuff: in the call to super.visitOldStuff, the source is set to
159    *       SOURCE_DEPRECATED and visitNewStuff is called. Here 'do stuff' is run because the source
160    *       was previously set to SOURCE_DEPRECATED, and execution eventually returns to
161    *       UserStuffVisitor.visitOldStuff, where 'do user stuff' is run.
162    *   <li>call visitNewStuff: the call is redirected to UserStuffVisitor.visitOldStuff because the
163    *       source is 0. Execution continues as in the previous case, resulting in 'do stuff' and 'do
164    *       user stuff' being executed, in this order.
165    * </ul>
166    *
167    * <h1>ASM subclasses</h1>
168    *
169    * <p>In ASM packages, subclasses of StuffVisitor can typically be sub classed again by the user,
170    * and can be used with API_OLD or API_NEW. Because of this, if such a subclass must override
171    * visitNewStuff, it must do so in the following way (and must not override visitOldStuff):
172    *
173    * <pre>
174    * public class AsmStuffVisitor extends StuffVisitor {
175    *   &#64;Override public void visitNewStuff(int argAndSource, ...) {
176    *     if (api &#60; API_NEW &#38;&#38; (argAndSource &#38; SOURCE_DEPRECATED) == 0) {
177    *       super.visitNewStuff(argAndSource, ...);
178    *       return;
179    *     }
180    *     super.visitNewStuff(argAndSource, ...); // optional
181    *     int arg = argAndSource &#38; ~SOURCE_MASK;
182    *     [ do other stuff ]
183    *   }
184    * }
185    * </pre>
186    *
187    * <p>If a user class extends this with 'api' equal to API_NEW, the class hierarchy is equivalent
188    * to
189    *
190    * <pre>
191    * public class StuffVisitor {
192    *   &#64;Deprecated public void visitOldStuff(int arg, ...) { visitNewStuf(arg, ...); }
193    *   public void visitNewStuff(int arg, ...) { [ do stuff ] }
194    * }
195    * public class AsmStuffVisitor extends StuffVisitor {
196    *   &#64;Override public void visitNewStuff(int arg, ...) {
197    *     super.visitNewStuff(arg, ...);
198    *     [ do other stuff ]
199    *   }
200    * }
201    * class UserStuffVisitor extends StuffVisitor {
202    *   &#64;Override public void visitNewStuff(int arg, ...) {
203    *     super.visitNewStuff(int arg, ...);
204    *     [ do user stuff ]
205    *   }
206    * }
207    * </pre>
208    *
209    * <p>It is then obvious that whether visitNewStuff or visitOldStuff is called, 'do stuff', 'do
210    * other stuff' and 'do user stuff' will be executed, in this order. If, on the other hand, a user
211    * class extends AsmStuffVisitor with 'api' equal to API_OLD, the class hierarchy is equivalent to
212    *
213    * <pre>
214    * public class StuffVisitor {
215    *   &#64;Deprecated public void visitOldStuff(int arg, ...) {
216    *     visitNewStuf(arg | SOURCE_DEPRECATED, ...);
217    *   }
218    *   public void visitNewStuff(int argAndSource, ...) {
219    *     if ((argAndSource & SOURCE_DEPRECATED) == 0) {
220    *       visitOldStuff(argAndSource, ...);
221    *     } else {
222    *       int arg = argAndSource &#38; ~SOURCE_MASK;
223    *       [ do stuff ]
224    *     }
225    *   }
226    * }
227    * public class AsmStuffVisitor extends StuffVisitor {
228    *   &#64;Override public void visitNewStuff(int argAndSource, ...) {
229    *     if ((argAndSource &#38; SOURCE_DEPRECATED) == 0) {
230    *       super.visitNewStuff(argAndSource, ...);
231    *       return;
232    *     }
233    *     super.visitNewStuff(argAndSource, ...); // optional
234    *     int arg = argAndSource &#38; ~SOURCE_MASK;
235    *     [ do other stuff ]
236    *   }
237    * }
238    * class UserStuffVisitor extends StuffVisitor {
239    *   &#64;Override public void visitOldStuff(int arg, ...) {
240    *     super.visitOldStuff(arg, ...);
241    *     [ do user stuff ]
242    *   }
243    * }
244    * </pre>
245    *
246    * <p>and, here again, whether visitNewStuff or visitOldStuff is called, 'do stuff', 'do other
247    * stuff' and 'do user stuff' will be executed, in this order (exercise left to the reader).
248    *
249    * <h1>Notes</h1>
250    *
251    * <ul>
252    *   <li>the SOURCE_DEPRECATED flag is set only if 'api' is API_OLD, just before calling
253    *       visitNewStuff. By hypothesis, this method is not overridden by the user. Therefore, user
254    *       classes can never see this flag. Only ASM subclasses must take care of extracting the
255    *       actual argument value by clearing the source flags.
256    *   <li>because the SOURCE_DEPRECATED flag is immediately cleared in the caller, the caller can
257    *       call visitOldStuff or visitNewStuff (in 'do stuff' and 'do user stuff') on a delegate
258    *       visitor without any risks (breaking the redirection logic, "leaking" the flag, etc).
259    *   <li>all the scenarios discussed above are unit tested in MethodVisitorTest.
260    * </ul>
261    */
262 
263   int SOURCE_DEPRECATED = 0x100;
264   int SOURCE_MASK = SOURCE_DEPRECATED;
265 
266   // Java ClassFile versions (the minor version is stored in the 16 most significant bits, and the
267   // major version in the 16 least significant bits).
268 
269   int V1_1 = 3 << 16 | 45;
270   int V1_2 = 0 << 16 | 46;
271   int V1_3 = 0 << 16 | 47;
272   int V1_4 = 0 << 16 | 48;
273   int V1_5 = 0 << 16 | 49;
274   int V1_6 = 0 << 16 | 50;
275   int V1_7 = 0 << 16 | 51;
276   int V1_8 = 0 << 16 | 52;
277   int V9 = 0 << 16 | 53;
278   int V10 = 0 << 16 | 54;
279   int V11 = 0 << 16 | 55;
280   int V12 = 0 << 16 | 56;
281   int V13 = 0 << 16 | 57;
282   int V14 = 0 << 16 | 58;
283   int V15 = 0 << 16 | 59;
284   int V16 = 0 << 16 | 60;
285   int V17 = 0 << 16 | 61;
286   int V18 = 0 << 16 | 62;
287   int V19 = 0 << 16 | 63;
288   int V20 = 0 << 16 | 64;
289 
290   /**
291    * Version flag indicating that the class is using 'preview' features.
292    *
293    * <p>{@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code
294    * V_PREVIEW}.
295    */
296   int V_PREVIEW = 0xFFFF0000;
297 
298   // Access flags values, defined in
299   // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1
300   // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.5-200-A.1
301   // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6-200-A.1
302   // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.25
303 
304   int ACC_PUBLIC = 0x0001; // class, field, method
305   int ACC_PRIVATE = 0x0002; // class, field, method
306   int ACC_PROTECTED = 0x0004; // class, field, method
307   int ACC_STATIC = 0x0008; // field, method
308   int ACC_FINAL = 0x0010; // class, field, method, parameter
309   int ACC_SUPER = 0x0020; // class
310   int ACC_SYNCHRONIZED = 0x0020; // method
311   int ACC_OPEN = 0x0020; // module
312   int ACC_TRANSITIVE = 0x0020; // module requires
313   int ACC_VOLATILE = 0x0040; // field
314   int ACC_BRIDGE = 0x0040; // method
315   int ACC_STATIC_PHASE = 0x0040; // module requires
316   int ACC_VARARGS = 0x0080; // method
317   int ACC_TRANSIENT = 0x0080; // field
318   int ACC_NATIVE = 0x0100; // method
319   int ACC_INTERFACE = 0x0200; // class
320   int ACC_ABSTRACT = 0x0400; // class, method
321   int ACC_STRICT = 0x0800; // method
322   int ACC_SYNTHETIC = 0x1000; // class, field, method, parameter, module *
323   int ACC_ANNOTATION = 0x2000; // class
324   int ACC_ENUM = 0x4000; // class(?) field inner
325   int ACC_MANDATED = 0x8000; // field, method, parameter, module, module *
326   int ACC_MODULE = 0x8000; // class
327 
328   // ASM specific access flags.
329   // WARNING: the 16 least significant bits must NOT be used, to avoid conflicts with standard
330   // access flags, and also to make sure that these flags are automatically filtered out when
331   // written in class files (because access flags are stored using 16 bits only).
332 
333   int ACC_RECORD = 0x10000; // class
334   int ACC_DEPRECATED = 0x20000; // class, field, method
335 
336   // Possible values for the type operand of the NEWARRAY instruction.
337   // See https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-6.html#jvms-6.5.newarray.
338 
339   int T_BOOLEAN = 4;
340   int T_CHAR = 5;
341   int T_FLOAT = 6;
342   int T_DOUBLE = 7;
343   int T_BYTE = 8;
344   int T_SHORT = 9;
345   int T_INT = 10;
346   int T_LONG = 11;
347 
348   // Possible values for the reference_kind field of CONSTANT_MethodHandle_info structures.
349   // See https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.4.8.
350 
351   int H_GETFIELD = 1;
352   int H_GETSTATIC = 2;
353   int H_PUTFIELD = 3;
354   int H_PUTSTATIC = 4;
355   int H_INVOKEVIRTUAL = 5;
356   int H_INVOKESTATIC = 6;
357   int H_INVOKESPECIAL = 7;
358   int H_NEWINVOKESPECIAL = 8;
359   int H_INVOKEINTERFACE = 9;
360 
361   // ASM specific stack map frame types, used in {@link ClassVisitor#visitFrame}.
362 
363   /** An expanded frame. See {@link ClassReader#EXPAND_FRAMES}. */
364   int F_NEW = -1;
365 
366   /** A compressed frame with complete frame data. */
367   int F_FULL = 0;
368 
369   /**
370    * A compressed frame where locals are the same as the locals in the previous frame, except that
371    * additional 1-3 locals are defined, and with an empty stack.
372    */
373   int F_APPEND = 1;
374 
375   /**
376    * A compressed frame where locals are the same as the locals in the previous frame, except that
377    * the last 1-3 locals are absent and with an empty stack.
378    */
379   int F_CHOP = 2;
380 
381   /**
382    * A compressed frame with exactly the same locals as the previous frame and with an empty stack.
383    */
384   int F_SAME = 3;
385 
386   /**
387    * A compressed frame with exactly the same locals as the previous frame and with a single value
388    * on the stack.
389    */
390   int F_SAME1 = 4;
391 
392   // Standard stack map frame element types, used in {@link ClassVisitor#visitFrame}.
393 
394   Integer TOP = Frame.ITEM_TOP;
395   Integer INTEGER = Frame.ITEM_INTEGER;
396   Integer FLOAT = Frame.ITEM_FLOAT;
397   Integer DOUBLE = Frame.ITEM_DOUBLE;
398   Integer LONG = Frame.ITEM_LONG;
399   Integer NULL = Frame.ITEM_NULL;
400   Integer UNINITIALIZED_THIS = Frame.ITEM_UNINITIALIZED_THIS;
401 
402   // The JVM opcode values (with the MethodVisitor method name used to visit them in comment, and
403   // where '-' means 'same method name as on the previous line').
404   // See https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-6.html.
405 
406   int NOP = 0; // visitInsn
407   int ACONST_NULL = 1; // -
408   int ICONST_M1 = 2; // -
409   int ICONST_0 = 3; // -
410   int ICONST_1 = 4; // -
411   int ICONST_2 = 5; // -
412   int ICONST_3 = 6; // -
413   int ICONST_4 = 7; // -
414   int ICONST_5 = 8; // -
415   int LCONST_0 = 9; // -
416   int LCONST_1 = 10; // -
417   int FCONST_0 = 11; // -
418   int FCONST_1 = 12; // -
419   int FCONST_2 = 13; // -
420   int DCONST_0 = 14; // -
421   int DCONST_1 = 15; // -
422   int BIPUSH = 16; // visitIntInsn
423   int SIPUSH = 17; // -
424   int LDC = 18; // visitLdcInsn
425   int ILOAD = 21; // visitVarInsn
426   int LLOAD = 22; // -
427   int FLOAD = 23; // -
428   int DLOAD = 24; // -
429   int ALOAD = 25; // -
430   int IALOAD = 46; // visitInsn
431   int LALOAD = 47; // -
432   int FALOAD = 48; // -
433   int DALOAD = 49; // -
434   int AALOAD = 50; // -
435   int BALOAD = 51; // -
436   int CALOAD = 52; // -
437   int SALOAD = 53; // -
438   int ISTORE = 54; // visitVarInsn
439   int LSTORE = 55; // -
440   int FSTORE = 56; // -
441   int DSTORE = 57; // -
442   int ASTORE = 58; // -
443   int IASTORE = 79; // visitInsn
444   int LASTORE = 80; // -
445   int FASTORE = 81; // -
446   int DASTORE = 82; // -
447   int AASTORE = 83; // -
448   int BASTORE = 84; // -
449   int CASTORE = 85; // -
450   int SASTORE = 86; // -
451   int POP = 87; // -
452   int POP2 = 88; // -
453   int DUP = 89; // -
454   int DUP_X1 = 90; // -
455   int DUP_X2 = 91; // -
456   int DUP2 = 92; // -
457   int DUP2_X1 = 93; // -
458   int DUP2_X2 = 94; // -
459   int SWAP = 95; // -
460   int IADD = 96; // -
461   int LADD = 97; // -
462   int FADD = 98; // -
463   int DADD = 99; // -
464   int ISUB = 100; // -
465   int LSUB = 101; // -
466   int FSUB = 102; // -
467   int DSUB = 103; // -
468   int IMUL = 104; // -
469   int LMUL = 105; // -
470   int FMUL = 106; // -
471   int DMUL = 107; // -
472   int IDIV = 108; // -
473   int LDIV = 109; // -
474   int FDIV = 110; // -
475   int DDIV = 111; // -
476   int IREM = 112; // -
477   int LREM = 113; // -
478   int FREM = 114; // -
479   int DREM = 115; // -
480   int INEG = 116; // -
481   int LNEG = 117; // -
482   int FNEG = 118; // -
483   int DNEG = 119; // -
484   int ISHL = 120; // -
485   int LSHL = 121; // -
486   int ISHR = 122; // -
487   int LSHR = 123; // -
488   int IUSHR = 124; // -
489   int LUSHR = 125; // -
490   int IAND = 126; // -
491   int LAND = 127; // -
492   int IOR = 128; // -
493   int LOR = 129; // -
494   int IXOR = 130; // -
495   int LXOR = 131; // -
496   int IINC = 132; // visitIincInsn
497   int I2L = 133; // visitInsn
498   int I2F = 134; // -
499   int I2D = 135; // -
500   int L2I = 136; // -
501   int L2F = 137; // -
502   int L2D = 138; // -
503   int F2I = 139; // -
504   int F2L = 140; // -
505   int F2D = 141; // -
506   int D2I = 142; // -
507   int D2L = 143; // -
508   int D2F = 144; // -
509   int I2B = 145; // -
510   int I2C = 146; // -
511   int I2S = 147; // -
512   int LCMP = 148; // -
513   int FCMPL = 149; // -
514   int FCMPG = 150; // -
515   int DCMPL = 151; // -
516   int DCMPG = 152; // -
517   int IFEQ = 153; // visitJumpInsn
518   int IFNE = 154; // -
519   int IFLT = 155; // -
520   int IFGE = 156; // -
521   int IFGT = 157; // -
522   int IFLE = 158; // -
523   int IF_ICMPEQ = 159; // -
524   int IF_ICMPNE = 160; // -
525   int IF_ICMPLT = 161; // -
526   int IF_ICMPGE = 162; // -
527   int IF_ICMPGT = 163; // -
528   int IF_ICMPLE = 164; // -
529   int IF_ACMPEQ = 165; // -
530   int IF_ACMPNE = 166; // -
531   int GOTO = 167; // -
532   int JSR = 168; // -
533   int RET = 169; // visitVarInsn
534   int TABLESWITCH = 170; // visiTableSwitchInsn
535   int LOOKUPSWITCH = 171; // visitLookupSwitch
536   int IRETURN = 172; // visitInsn
537   int LRETURN = 173; // -
538   int FRETURN = 174; // -
539   int DRETURN = 175; // -
540   int ARETURN = 176; // -
541   int RETURN = 177; // -
542   int GETSTATIC = 178; // visitFieldInsn
543   int PUTSTATIC = 179; // -
544   int GETFIELD = 180; // -
545   int PUTFIELD = 181; // -
546   int INVOKEVIRTUAL = 182; // visitMethodInsn
547   int INVOKESPECIAL = 183; // -
548   int INVOKESTATIC = 184; // -
549   int INVOKEINTERFACE = 185; // -
550   int INVOKEDYNAMIC = 186; // visitInvokeDynamicInsn
551   int NEW = 187; // visitTypeInsn
552   int NEWARRAY = 188; // visitIntInsn
553   int ANEWARRAY = 189; // visitTypeInsn
554   int ARRAYLENGTH = 190; // visitInsn
555   int ATHROW = 191; // -
556   int CHECKCAST = 192; // visitTypeInsn
557   int INSTANCEOF = 193; // -
558   int MONITORENTER = 194; // visitInsn
559   int MONITOREXIT = 195; // -
560   int MULTIANEWARRAY = 197; // visitMultiANewArrayInsn
561   int IFNULL = 198; // visitJumpInsn
562   int IFNONNULL = 199; // -
563 }
564