Package javassist.bytecode
Class StackMapTable.NewRemover
- java.lang.Object
-
- javassist.bytecode.StackMapTable.Walker
-
- javassist.bytecode.StackMapTable.SimpleCopy
-
- javassist.bytecode.StackMapTable.NewRemover
-
- Enclosing class:
- StackMapTable
static class StackMapTable.NewRemover extends StackMapTable.SimpleCopy
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
posOfNew
-
Fields inherited from class javassist.bytecode.StackMapTable.Walker
info, numOfEntries
-
-
Constructor Summary
Constructors Constructor Description NewRemover(byte[] data, int pos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fullFrame(int pos, int offsetDelta, int[] localTags, int[] localData, int[] stackTags, int[] stackData)
Invoked if the visited frame isfull_frame
.void
sameLocals(int pos, int offsetDelta, int stackTag, int stackData)
Invoked if the visited frame is asame_locals_1_stack_item_frame
or asame_locals_1_stack_item_frame_extended
.-
Methods inherited from class javassist.bytecode.StackMapTable.SimpleCopy
appendFrame, chopFrame, copyData, copyData, doit, sameFrame
-
Methods inherited from class javassist.bytecode.StackMapTable.Walker
objectOrUninitialized, parse, size, stackMapFrames
-
-
-
-
Method Detail
-
sameLocals
public void sameLocals(int pos, int offsetDelta, int stackTag, int stackData)
Description copied from class:StackMapTable.Walker
Invoked if the visited frame is asame_locals_1_stack_item_frame
or asame_locals_1_stack_item_frame_extended
.- Overrides:
sameLocals
in classStackMapTable.SimpleCopy
- Parameters:
pos
- the position.stackTag
-stack[0].tag
.stackData
-stack[0].cpool_index
if the tag isOBJECT
, orstack[0].offset
if the tag isUNINIT
.
-
fullFrame
public void fullFrame(int pos, int offsetDelta, int[] localTags, int[] localData, int[] stackTags, int[] stackData)
Description copied from class:StackMapTable.Walker
Invoked if the visited frame isfull_frame
.- Overrides:
fullFrame
in classStackMapTable.SimpleCopy
- Parameters:
pos
- the position.localTags
-locals[i].tag
localData
-locals[i].cpool_index
orlocals[i].offset
stackTags
-stack[i].tag
stackData
-stack[i].cpool_index
orstack[i].offset
-
-