Starts the visit of a new stack map frame, stored in #currentFrame. @param offset the bytecode offset of the instruction to which the frame corresponds. @param nLocal the number of local variables in the frame. @param nStack the number of stack elements in the frame. @return the index of th
(final int offset, final int nLocal, final int nStack)
| 1811 | * @return the index of the next element to be written in this frame. |
| 1812 | */ |
| 1813 | int visitFrameStart(final int offset, final int nLocal, final int nStack) { |
| 1814 | int frameLength = 3 + nLocal + nStack; |
| 1815 | if (currentFrame == null || currentFrame.length < frameLength) { |
| 1816 | currentFrame = new int[frameLength]; |
| 1817 | } |
| 1818 | currentFrame[0] = offset; |
| 1819 | currentFrame[1] = nLocal; |
| 1820 | currentFrame[2] = nStack; |
| 1821 | return 3; |
| 1822 | } |
| 1823 | |
| 1824 | /** |
| 1825 | * Sets an abstract type in {@link #currentFrame}. |
no outgoing calls
no test coverage detected