|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavassist.bytecode.StackMap.Walker
public static class StackMap.Walker
A code walker for a StackMap attribute.
Constructor Summary | |
---|---|
StackMap.Walker(StackMap sm)
Constructs a walker. |
Method Summary | |
---|---|
int |
locals(int pos,
int offset,
int num)
Invoked when locals of stack_map_frame
is visited. |
void |
objectVariable(int pos,
int clazz)
Invoked when an element of type Object_variable_info
is visited. |
int |
stack(int pos,
int offset,
int num)
Invoked when stack of stack_map_frame
is visited. |
void |
typeInfo(int pos,
byte tag)
Invoked when an element of verification_type_info
(except Object_variable_info and
Uninitialized_variable_info ) is visited. |
int |
typeInfoArray(int pos,
int offset,
int num,
boolean isLocals)
Invoked when an array of verification_type_info is
visited. |
void |
uninitialized(int pos,
int offset)
Invoked when an element of type Uninitialized_variable_info
is visited. |
void |
visit()
Visits each entry of the stack map frames. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StackMap.Walker(StackMap sm)
Method Detail |
---|
public void visit()
public int locals(int pos, int offset, int num)
locals
of stack_map_frame
is visited.
public int stack(int pos, int offset, int num)
stack
of stack_map_frame
is visited.
public int typeInfoArray(int pos, int offset, int num, boolean isLocals)
verification_type_info
is
visited.
num
- the number of elements.isLocals
- true if this array is for locals
.
false if it is for stack
.public void typeInfo(int pos, byte tag)
verification_type_info
(except Object_variable_info
and
Uninitialized_variable_info
) is visited.
public void objectVariable(int pos, int clazz)
Object_variable_info
is visited.
public void uninitialized(int pos, int offset)
Uninitialized_variable_info
is visited.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |