public static class StackMap.Walker
extends java.lang.Object
Constructor and Description |
---|
Walker(StackMap sm)
Constructs a walker.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public Walker(StackMap sm)
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.Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.