| Modifier and Type | Field and Description |
|---|---|
| private int | freeOffset
The first offset that was observed to not be used. |
| Access | Constructor and Description |
|---|---|
| public | LocalVariableAwareMethodVisitor(MethodVisitor
The method visitor to delegate to. methodVisitor, MethodDescription The method being visited. methodDescription)Creates a local variable aware method visitor. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The first offset that was observed to be free.Returns the first offset that was observed to be free. |
| public void | visitVarInsn(int
the opcode of the local variable instruction to be visited. This opcode is either
ILOAD, LLOAD, FLOAD, DLOAD, ALOAD, ISTORE, LSTORE, FSTORE, DSTORE, ASTORE or RET. opcode, int the operand of the instruction to be visited. This operand is the index of a
local variable. offset)Overrides org. |
| freeOffset | back to summary |
|---|---|
| private int freeOffset The first offset that was observed to not be used. | |
| LocalVariableAwareMethodVisitor | back to summary |
|---|---|
| public LocalVariableAwareMethodVisitor(MethodVisitor methodVisitor, MethodDescription methodDescription) Creates a local variable aware method visitor.
| |
| getFreeOffset | back to summary |
|---|---|
| public int getFreeOffset() Returns the first offset that was observed to be free.
| |
| visitVarInsn | back to summary |
|---|---|
| public void visitVarInsn(int opcode, int offset) Overrides org. Doc from org. Visits a local variable instruction. A local variable instruction is an instruction that loads or stores the value of a local variable.
| |