(final String descriptor, final int numDimensions)
| 1382 | } |
| 1383 | |
| 1384 | @Override |
| 1385 | public void visitMultiANewArrayInsn(final String descriptor, final int numDimensions) { |
| 1386 | lastBytecodeOffset = code.length; |
| 1387 | // Add the instruction to the bytecode of the method. |
| 1388 | Symbol descSymbol = symbolTable.addConstantClass(descriptor); |
| 1389 | code.put12(Opcodes.MULTIANEWARRAY, descSymbol.index).putByte(numDimensions); |
| 1390 | // If needed, update the maximum stack size and number of locals, and stack map frames. |
| 1391 | if (currentBasicBlock != null) { |
| 1392 | if (compute == COMPUTE_ALL_FRAMES || compute == COMPUTE_INSERTED_FRAMES) { |
| 1393 | currentBasicBlock.frame.execute( |
| 1394 | Opcodes.MULTIANEWARRAY, numDimensions, descSymbol, symbolTable); |
| 1395 | } else { |
| 1396 | // No need to update maxRelativeStackSize (the stack size delta is always negative). |
| 1397 | relativeStackSize += 1 - numDimensions; |
| 1398 | } |
| 1399 | } |
| 1400 | } |
| 1401 | |
| 1402 | @Override |
| 1403 | public AnnotationVisitor visitInsnAnnotation( |
no test coverage detected