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