(
final int min, final int max, final Label dflt, final Label... labels)
| 1327 | } |
| 1328 | |
| 1329 | @Override |
| 1330 | public void visitTableSwitchInsn( |
| 1331 | final int min, final int max, final Label dflt, final Label... labels) { |
| 1332 | lastBytecodeOffset = code.length; |
| 1333 | // Add the instruction to the bytecode of the method. |
| 1334 | code.putByte(Opcodes.TABLESWITCH).putByteArray(null, 0, (4 - code.length % 4) % 4); |
| 1335 | dflt.put(code, lastBytecodeOffset, true); |
| 1336 | code.putInt(min).putInt(max); |
| 1337 | for (Label label : labels) { |
| 1338 | label.put(code, lastBytecodeOffset, true); |
| 1339 | } |
| 1340 | // If needed, update the maximum stack size and number of locals, and stack map frames. |
| 1341 | visitSwitchInsn(dflt, labels); |
| 1342 | } |
| 1343 | |
| 1344 | @Override |
| 1345 | public void visitLookupSwitchInsn(final Label dflt, final int[] keys, final Label[] labels) { |
no test coverage detected