pos
. Branch offsets and the exception table are also updated. If the instruction at the given index is at the beginning of a block statement, then the bytecode is inserted within that block.
An extra gap may be inserted at the end of the inserted bytecode sequence for adjusting alignment if the code attribute includes LOOKUPSWITCH
or TABLESWITCH
.
@param pos the index at which a byte sequence is inserted.
@param code inserted bytecode sequence.
@return the index indicating the first byte of theinserted byte sequence, which might be different from pos.
@since 3.11
|
|