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 * @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 < API_NEW ? SOURCE_DEPRECATED : 0), ...); 73 * } 74 * 75 * public void visitNewStuff(int argAndSource, ...) { 76 * if (api < API_NEW && (argAndSource & SOURCE_DEPRECATED) == 0) { 77 * visitOldStuff(argAndSource, ...); 78 * } else { 79 * int arg = argAndSource & ~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 * @Deprecated public void visitOldStuff(int arg, ...) { visitNewStuf(arg, ...); } 118 * public void visitNewStuff(int arg, ...) { [ do stuff ] } 119 * } 120 * class UserStuffVisitor extends StuffVisitor { 121 * @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 * @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 & ~SOURCE_MASK; 143 * [ do stuff ] 144 * } 145 * } 146 * } 147 * class UserStuffVisitor extends StuffVisitor { 148 * @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 * @Override public void visitNewStuff(int argAndSource, ...) { 176 * if (api < API_NEW && (argAndSource & SOURCE_DEPRECATED) == 0) { 177 * super.visitNewStuff(argAndSource, ...); 178 * return; 179 * } 180 * super.visitNewStuff(argAndSource, ...); // optional 181 * int arg = argAndSource & ~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 * @Deprecated public void visitOldStuff(int arg, ...) { visitNewStuf(arg, ...); } 193 * public void visitNewStuff(int arg, ...) { [ do stuff ] } 194 * } 195 * public class AsmStuffVisitor extends StuffVisitor { 196 * @Override public void visitNewStuff(int arg, ...) { 197 * super.visitNewStuff(arg, ...); 198 * [ do other stuff ] 199 * } 200 * } 201 * class UserStuffVisitor extends StuffVisitor { 202 * @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 * @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 & ~SOURCE_MASK; 223 * [ do stuff ] 224 * } 225 * } 226 * } 227 * public class AsmStuffVisitor extends StuffVisitor { 228 * @Override public void visitNewStuff(int argAndSource, ...) { 229 * if ((argAndSource & SOURCE_DEPRECATED) == 0) { 230 * super.visitNewStuff(argAndSource, ...); 231 * return; 232 * } 233 * super.visitNewStuff(argAndSource, ...); // optional 234 * int arg = argAndSource & ~SOURCE_MASK; 235 * [ do other stuff ] 236 * } 237 * } 238 * class UserStuffVisitor extends StuffVisitor { 239 * @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 int V21 = 0 << 16 | 65; 290 int V22 = 0 << 16 | 66; 291 292 /** 293 * Version flag indicating that the class is using 'preview' features. 294 * 295 * <p>{@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code 296 * V_PREVIEW}. 297 */ 298 int V_PREVIEW = 0xFFFF0000; 299 300 // Access flags values, defined in 301 // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1 302 // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.5-200-A.1 303 // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6-200-A.1 304 // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.25 305 306 int ACC_PUBLIC = 0x0001; // class, field, method 307 int ACC_PRIVATE = 0x0002; // class, field, method 308 int ACC_PROTECTED = 0x0004; // class, field, method 309 int ACC_STATIC = 0x0008; // field, method 310 int ACC_FINAL = 0x0010; // class, field, method, parameter 311 int ACC_SUPER = 0x0020; // class 312 int ACC_SYNCHRONIZED = 0x0020; // method 313 int ACC_OPEN = 0x0020; // module 314 int ACC_TRANSITIVE = 0x0020; // module requires 315 int ACC_VOLATILE = 0x0040; // field 316 int ACC_BRIDGE = 0x0040; // method 317 int ACC_STATIC_PHASE = 0x0040; // module requires 318 int ACC_VARARGS = 0x0080; // method 319 int ACC_TRANSIENT = 0x0080; // field 320 int ACC_NATIVE = 0x0100; // method 321 int ACC_INTERFACE = 0x0200; // class 322 int ACC_ABSTRACT = 0x0400; // class, method 323 int ACC_STRICT = 0x0800; // method 324 int ACC_SYNTHETIC = 0x1000; // class, field, method, parameter, module * 325 int ACC_ANNOTATION = 0x2000; // class 326 int ACC_ENUM = 0x4000; // class(?) field inner 327 int ACC_MANDATED = 0x8000; // field, method, parameter, module, module * 328 int ACC_MODULE = 0x8000; // class 329 330 // ASM specific access flags. 331 // WARNING: the 16 least significant bits must NOT be used, to avoid conflicts with standard 332 // access flags, and also to make sure that these flags are automatically filtered out when 333 // written in class files (because access flags are stored using 16 bits only). 334 335 int ACC_RECORD = 0x10000; // class 336 int ACC_DEPRECATED = 0x20000; // class, field, method 337 338 // Possible values for the type operand of the NEWARRAY instruction. 339 // See https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-6.html#jvms-6.5.newarray. 340 341 int T_BOOLEAN = 4; 342 int T_CHAR = 5; 343 int T_FLOAT = 6; 344 int T_DOUBLE = 7; 345 int T_BYTE = 8; 346 int T_SHORT = 9; 347 int T_INT = 10; 348 int T_LONG = 11; 349 350 // Possible values for the reference_kind field of CONSTANT_MethodHandle_info structures. 351 // See https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.4.8. 352 353 int H_GETFIELD = 1; 354 int H_GETSTATIC = 2; 355 int H_PUTFIELD = 3; 356 int H_PUTSTATIC = 4; 357 int H_INVOKEVIRTUAL = 5; 358 int H_INVOKESTATIC = 6; 359 int H_INVOKESPECIAL = 7; 360 int H_NEWINVOKESPECIAL = 8; 361 int H_INVOKEINTERFACE = 9; 362 363 // ASM specific stack map frame types, used in {@link ClassVisitor#visitFrame}. 364 365 /** An expanded frame. See {@link ClassReader#EXPAND_FRAMES}. */ 366 int F_NEW = -1; 367 368 /** A compressed frame with complete frame data. */ 369 int F_FULL = 0; 370 371 /** 372 * A compressed frame where locals are the same as the locals in the previous frame, except that 373 * additional 1-3 locals are defined, and with an empty stack. 374 */ 375 int F_APPEND = 1; 376 377 /** 378 * A compressed frame where locals are the same as the locals in the previous frame, except that 379 * the last 1-3 locals are absent and with an empty stack. 380 */ 381 int F_CHOP = 2; 382 383 /** 384 * A compressed frame with exactly the same locals as the previous frame and with an empty stack. 385 */ 386 int F_SAME = 3; 387 388 /** 389 * A compressed frame with exactly the same locals as the previous frame and with a single value 390 * on the stack. 391 */ 392 int F_SAME1 = 4; 393 394 // Standard stack map frame element types, used in {@link ClassVisitor#visitFrame}. 395 396 Integer TOP = Frame.ITEM_TOP; 397 Integer INTEGER = Frame.ITEM_INTEGER; 398 Integer FLOAT = Frame.ITEM_FLOAT; 399 Integer DOUBLE = Frame.ITEM_DOUBLE; 400 Integer LONG = Frame.ITEM_LONG; 401 Integer NULL = Frame.ITEM_NULL; 402 Integer UNINITIALIZED_THIS = Frame.ITEM_UNINITIALIZED_THIS; 403 404 // The JVM opcode values (with the MethodVisitor method name used to visit them in comment, and 405 // where '-' means 'same method name as on the previous line'). 406 // See https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-6.html. 407 408 int NOP = 0; // visitInsn 409 int ACONST_NULL = 1; // - 410 int ICONST_M1 = 2; // - 411 int ICONST_0 = 3; // - 412 int ICONST_1 = 4; // - 413 int ICONST_2 = 5; // - 414 int ICONST_3 = 6; // - 415 int ICONST_4 = 7; // - 416 int ICONST_5 = 8; // - 417 int LCONST_0 = 9; // - 418 int LCONST_1 = 10; // - 419 int FCONST_0 = 11; // - 420 int FCONST_1 = 12; // - 421 int FCONST_2 = 13; // - 422 int DCONST_0 = 14; // - 423 int DCONST_1 = 15; // - 424 int BIPUSH = 16; // visitIntInsn 425 int SIPUSH = 17; // - 426 int LDC = 18; // visitLdcInsn 427 int ILOAD = 21; // visitVarInsn 428 int LLOAD = 22; // - 429 int FLOAD = 23; // - 430 int DLOAD = 24; // - 431 int ALOAD = 25; // - 432 int IALOAD = 46; // visitInsn 433 int LALOAD = 47; // - 434 int FALOAD = 48; // - 435 int DALOAD = 49; // - 436 int AALOAD = 50; // - 437 int BALOAD = 51; // - 438 int CALOAD = 52; // - 439 int SALOAD = 53; // - 440 int ISTORE = 54; // visitVarInsn 441 int LSTORE = 55; // - 442 int FSTORE = 56; // - 443 int DSTORE = 57; // - 444 int ASTORE = 58; // - 445 int IASTORE = 79; // visitInsn 446 int LASTORE = 80; // - 447 int FASTORE = 81; // - 448 int DASTORE = 82; // - 449 int AASTORE = 83; // - 450 int BASTORE = 84; // - 451 int CASTORE = 85; // - 452 int SASTORE = 86; // - 453 int POP = 87; // - 454 int POP2 = 88; // - 455 int DUP = 89; // - 456 int DUP_X1 = 90; // - 457 int DUP_X2 = 91; // - 458 int DUP2 = 92; // - 459 int DUP2_X1 = 93; // - 460 int DUP2_X2 = 94; // - 461 int SWAP = 95; // - 462 int IADD = 96; // - 463 int LADD = 97; // - 464 int FADD = 98; // - 465 int DADD = 99; // - 466 int ISUB = 100; // - 467 int LSUB = 101; // - 468 int FSUB = 102; // - 469 int DSUB = 103; // - 470 int IMUL = 104; // - 471 int LMUL = 105; // - 472 int FMUL = 106; // - 473 int DMUL = 107; // - 474 int IDIV = 108; // - 475 int LDIV = 109; // - 476 int FDIV = 110; // - 477 int DDIV = 111; // - 478 int IREM = 112; // - 479 int LREM = 113; // - 480 int FREM = 114; // - 481 int DREM = 115; // - 482 int INEG = 116; // - 483 int LNEG = 117; // - 484 int FNEG = 118; // - 485 int DNEG = 119; // - 486 int ISHL = 120; // - 487 int LSHL = 121; // - 488 int ISHR = 122; // - 489 int LSHR = 123; // - 490 int IUSHR = 124; // - 491 int LUSHR = 125; // - 492 int IAND = 126; // - 493 int LAND = 127; // - 494 int IOR = 128; // - 495 int LOR = 129; // - 496 int IXOR = 130; // - 497 int LXOR = 131; // - 498 int IINC = 132; // visitIincInsn 499 int I2L = 133; // visitInsn 500 int I2F = 134; // - 501 int I2D = 135; // - 502 int L2I = 136; // - 503 int L2F = 137; // - 504 int L2D = 138; // - 505 int F2I = 139; // - 506 int F2L = 140; // - 507 int F2D = 141; // - 508 int D2I = 142; // - 509 int D2L = 143; // - 510 int D2F = 144; // - 511 int I2B = 145; // - 512 int I2C = 146; // - 513 int I2S = 147; // - 514 int LCMP = 148; // - 515 int FCMPL = 149; // - 516 int FCMPG = 150; // - 517 int DCMPL = 151; // - 518 int DCMPG = 152; // - 519 int IFEQ = 153; // visitJumpInsn 520 int IFNE = 154; // - 521 int IFLT = 155; // - 522 int IFGE = 156; // - 523 int IFGT = 157; // - 524 int IFLE = 158; // - 525 int IF_ICMPEQ = 159; // - 526 int IF_ICMPNE = 160; // - 527 int IF_ICMPLT = 161; // - 528 int IF_ICMPGE = 162; // - 529 int IF_ICMPGT = 163; // - 530 int IF_ICMPLE = 164; // - 531 int IF_ACMPEQ = 165; // - 532 int IF_ACMPNE = 166; // - 533 int GOTO = 167; // - 534 int JSR = 168; // - 535 int RET = 169; // visitVarInsn 536 int TABLESWITCH = 170; // visiTableSwitchInsn 537 int LOOKUPSWITCH = 171; // visitLookupSwitch 538 int IRETURN = 172; // visitInsn 539 int LRETURN = 173; // - 540 int FRETURN = 174; // - 541 int DRETURN = 175; // - 542 int ARETURN = 176; // - 543 int RETURN = 177; // - 544 int GETSTATIC = 178; // visitFieldInsn 545 int PUTSTATIC = 179; // - 546 int GETFIELD = 180; // - 547 int PUTFIELD = 181; // - 548 int INVOKEVIRTUAL = 182; // visitMethodInsn 549 int INVOKESPECIAL = 183; // - 550 int INVOKESTATIC = 184; // - 551 int INVOKEINTERFACE = 185; // - 552 int INVOKEDYNAMIC = 186; // visitInvokeDynamicInsn 553 int NEW = 187; // visitTypeInsn 554 int NEWARRAY = 188; // visitIntInsn 555 int ANEWARRAY = 189; // visitTypeInsn 556 int ARRAYLENGTH = 190; // visitInsn 557 int ATHROW = 191; // - 558 int CHECKCAST = 192; // visitTypeInsn 559 int INSTANCEOF = 193; // - 560 int MONITORENTER = 194; // visitInsn 561 int MONITOREXIT = 195; // - 562 int MULTIANEWARRAY = 197; // visitMultiANewArrayInsn 563 int IFNULL = 198; // visitJumpInsn 564 int IFNONNULL = 199; // - 565 } 566