Package javassist.bytecode
Class StackMap.SimpleCopy
- java.lang.Object
-
- javassist.bytecode.StackMap.Walker
-
- javassist.bytecode.StackMap.SimpleCopy
-
- Direct Known Subclasses:
StackMap.InsertLocal
,StackMap.NewRemover
- Enclosing class:
- StackMap
static class StackMap.SimpleCopy extends StackMap.Walker
-
-
Field Summary
Fields Modifier and Type Field Description (package private) StackMap.Writer
writer
-
Fields inherited from class javassist.bytecode.StackMap.Walker
info
-
-
Constructor Summary
Constructors Constructor Description SimpleCopy(StackMap map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]
doit()
int
locals(int pos, int offset, int num)
Invoked whenlocals
ofstack_map_frame
is visited.void
objectVariable(int pos, int clazz)
Invoked when an element of typeObject_variable_info
is visited.void
typeInfo(int pos, byte tag)
Invoked when an element ofverification_type_info
(exceptObject_variable_info
andUninitialized_variable_info
) is visited.int
typeInfoArray(int pos, int offset, int num, boolean isLocals)
Invoked when an array ofverification_type_info
is visited.void
uninitialized(int pos, int offset)
Invoked when an element of typeUninitialized_variable_info
is visited.void
visit()
Visits each entry of the stack map frames.-
Methods inherited from class javassist.bytecode.StackMap.Walker
stack, typeInfoArray2
-
-
-
-
Field Detail
-
writer
StackMap.Writer writer
-
-
Constructor Detail
-
SimpleCopy
SimpleCopy(StackMap map)
-
-
Method Detail
-
doit
byte[] doit()
-
visit
public void visit()
Description copied from class:StackMap.Walker
Visits each entry of the stack map frames.- Overrides:
visit
in classStackMap.Walker
-
locals
public int locals(int pos, int offset, int num)
Description copied from class:StackMap.Walker
Invoked whenlocals
ofstack_map_frame
is visited.- Overrides:
locals
in classStackMap.Walker
-
typeInfoArray
public int typeInfoArray(int pos, int offset, int num, boolean isLocals)
Description copied from class:StackMap.Walker
Invoked when an array ofverification_type_info
is visited.- Overrides:
typeInfoArray
in classStackMap.Walker
num
- the number of elements.isLocals
- true if this array is forlocals
. false if it is forstack
.
-
typeInfo
public void typeInfo(int pos, byte tag)
Description copied from class:StackMap.Walker
Invoked when an element ofverification_type_info
(exceptObject_variable_info
andUninitialized_variable_info
) is visited.- Overrides:
typeInfo
in classStackMap.Walker
-
objectVariable
public void objectVariable(int pos, int clazz)
Description copied from class:StackMap.Walker
Invoked when an element of typeObject_variable_info
is visited.- Overrides:
objectVariable
in classStackMap.Walker
-
uninitialized
public void uninitialized(int pos, int offset)
Description copied from class:StackMap.Walker
Invoked when an element of typeUninitialized_variable_info
is visited.- Overrides:
uninitialized
in classStackMap.Walker
-
-