|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.asm.CodeAdapter net.sf.cglib.core.RemappingCodeVisitor net.sf.cglib.core.CodeEmitter
Field Summary | |
static int |
ADD
|
static int |
AND
|
static int |
DIV
|
static int |
EQ
|
static int |
GE
|
static int |
GT
|
static int |
LE
|
static int |
LT
|
static int |
MUL
|
static int |
NE
|
static int |
NEG
|
static int |
OR
|
static int |
REM
|
static int |
SUB
|
static int |
USHR
|
static int |
XOR
|
Fields inherited from class org.objectweb.asm.CodeAdapter |
cv |
Constructor Summary | |
CodeEmitter(CodeEmitter wrap)
|
Method Summary | |
void |
aaload()
|
void |
aaload(int index)
|
void |
aastore()
|
void |
aconst_null()
|
void |
array_load(org.objectweb.asm.Type type)
|
void |
array_store(org.objectweb.asm.Type type)
|
void |
arraylength()
|
void |
athrow()
|
Block |
begin_block()
|
void |
box(org.objectweb.asm.Type type)
If the argument is a primitive class, replaces the primitive value on the top of the stack with the wrapped (Object) equivalent. |
void |
cast_numeric(org.objectweb.asm.Type from,
org.objectweb.asm.Type to)
Casts from one primitive numeric type to another |
void |
catch_exception(Block block,
org.objectweb.asm.Type exception)
|
void |
checkcast_this()
|
void |
checkcast(org.objectweb.asm.Type type)
|
void |
create_arg_array()
Allocates and fills an Object[] array with the arguments to the current method. |
void |
define_attribute(org.objectweb.asm.Attribute attrs)
|
void |
dup_x1()
|
void |
dup_x2()
|
void |
dup()
|
void |
dup2_x1()
|
void |
dup2_x2()
|
void |
dup2()
|
void |
end_method()
|
ClassEmitter |
getClassEmitter()
|
void |
getfield(java.lang.String name)
|
void |
getfield(org.objectweb.asm.Type owner,
java.lang.String name,
org.objectweb.asm.Type type)
|
org.objectweb.asm.Type |
getReturnType()
|
Signature |
getSignature()
|
void |
getstatic(org.objectweb.asm.Type owner,
java.lang.String name,
org.objectweb.asm.Type type)
|
void |
goTo(org.objectweb.asm.Label label)
|
void |
if_cmp(org.objectweb.asm.Type type,
int mode,
org.objectweb.asm.Label label)
|
void |
if_icmp(int mode,
org.objectweb.asm.Label label)
|
void |
if_jump(int mode,
org.objectweb.asm.Label label)
|
void |
ifnonnull(org.objectweb.asm.Label label)
|
void |
ifnull(org.objectweb.asm.Label label)
|
void |
iinc(Local local,
int amount)
|
void |
instance_of_this()
|
void |
instance_of(org.objectweb.asm.Type type)
|
void |
invoke_constructor_this()
|
void |
invoke_constructor_this(Signature sig)
|
void |
invoke_constructor(org.objectweb.asm.Type type)
|
void |
invoke_constructor(org.objectweb.asm.Type type,
Signature sig)
|
void |
invoke_interface(org.objectweb.asm.Type owner,
Signature sig)
|
void |
invoke_static_this(Signature sig)
|
void |
invoke_static(org.objectweb.asm.Type owner,
Signature sig)
|
void |
invoke_virtual_this(Signature sig)
|
void |
invoke_virtual(org.objectweb.asm.Type owner,
Signature sig)
|
void |
invoke(java.lang.reflect.Method method)
|
boolean |
isStaticHook()
|
void |
load_arg(int index)
Pushes the specified argument of the current method onto the stack. |
void |
load_args()
Pushes all of the arguments of the current method onto the stack. |
void |
load_args(int fromArg,
int count)
|
void |
load_local(Local local)
|
void |
load_this()
|
org.objectweb.asm.Label |
make_label()
|
Local |
make_local()
|
Local |
make_local(org.objectweb.asm.Type type)
|
void |
mark(org.objectweb.asm.Label label)
|
void |
math(int op,
org.objectweb.asm.Type type)
|
void |
monitorenter()
|
void |
monitorexit()
|
void |
new_instance_this()
|
void |
new_instance(org.objectweb.asm.Type type)
|
void |
newarray()
|
void |
newarray(org.objectweb.asm.Type type)
|
void |
not()
Toggles the integer on the top of the stack from 1 to 0 or vice versa |
void |
pop()
|
void |
pop2()
|
void |
process_switch(int[] keys,
ProcessSwitchCallback callback)
|
void |
process_switch(int[] keys,
ProcessSwitchCallback callback,
boolean useTable)
|
void |
push(boolean value)
|
void |
push(double value)
|
void |
push(float value)
|
void |
push(int i)
|
void |
push(long value)
|
void |
push(java.lang.String value)
|
void |
putfield(java.lang.String name)
|
void |
putfield(org.objectweb.asm.Type owner,
java.lang.String name,
org.objectweb.asm.Type type)
|
void |
putstatic(org.objectweb.asm.Type owner,
java.lang.String name,
org.objectweb.asm.Type type)
|
void |
return_value()
|
void |
store_local(Local local)
|
void |
super_getfield(java.lang.String name,
org.objectweb.asm.Type type)
|
void |
super_getstatic(java.lang.String name,
org.objectweb.asm.Type type)
|
void |
super_invoke_constructor()
|
void |
super_invoke_constructor(Signature sig)
|
void |
super_invoke()
|
void |
super_invoke(Signature sig)
|
void |
super_putfield(java.lang.String name,
org.objectweb.asm.Type type)
|
void |
super_putstatic(java.lang.String name,
org.objectweb.asm.Type type)
|
void |
swap()
|
void |
swap(org.objectweb.asm.Type prev,
org.objectweb.asm.Type type)
|
void |
throw_exception(org.objectweb.asm.Type type,
java.lang.String msg)
|
void |
unbox_or_zero(org.objectweb.asm.Type type)
Unboxes the object on the top of the stack. |
void |
unbox(org.objectweb.asm.Type type)
If the argument is a primitive class, replaces the object on the top of the stack with the unwrapped (primitive) equivalent. |
void |
visitMaxs(int maxStack,
int maxLocals)
|
void |
zero_or_null(org.objectweb.asm.Type type)
Pushes a zero onto the stack if the argument is a primitive class, or a null otherwise. |
Methods inherited from class net.sf.cglib.core.RemappingCodeVisitor |
nextLocal, visitIincInsn, visitLocalVariable, visitVarInsn |
Methods inherited from class org.objectweb.asm.CodeAdapter |
visitAttribute, visitFieldInsn, visitInsn, visitIntInsn, visitJumpInsn, visitLabel, visitLdcInsn, visitLineNumber, visitLookupSwitchInsn, visitMethodInsn, visitMultiANewArrayInsn, visitTableSwitchInsn, visitTypeInsn, visitTryCatchBlock |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ADD
public static final int MUL
public static final int XOR
public static final int USHR
public static final int SUB
public static final int DIV
public static final int NEG
public static final int REM
public static final int AND
public static final int OR
public static final int GT
public static final int LT
public static final int GE
public static final int LE
public static final int NE
public static final int EQ
Constructor Detail |
public CodeEmitter(CodeEmitter wrap)
Method Detail |
public boolean isStaticHook()
public Signature getSignature()
public org.objectweb.asm.Type getReturnType()
public ClassEmitter getClassEmitter()
public void end_method()
public Block begin_block()
public void catch_exception(Block block, org.objectweb.asm.Type exception)
public void goTo(org.objectweb.asm.Label label)
public void ifnull(org.objectweb.asm.Label label)
public void ifnonnull(org.objectweb.asm.Label label)
public void if_jump(int mode, org.objectweb.asm.Label label)
public void if_icmp(int mode, org.objectweb.asm.Label label)
public void if_cmp(org.objectweb.asm.Type type, int mode, org.objectweb.asm.Label label)
public void pop()
public void pop2()
public void dup()
public void dup2()
public void dup_x1()
public void dup_x2()
public void dup2_x1()
public void dup2_x2()
public void swap()
public void aconst_null()
public void swap(org.objectweb.asm.Type prev, org.objectweb.asm.Type type)
public void monitorenter()
public void monitorexit()
public void math(int op, org.objectweb.asm.Type type)
public void array_load(org.objectweb.asm.Type type)
public void array_store(org.objectweb.asm.Type type)
public void cast_numeric(org.objectweb.asm.Type from, org.objectweb.asm.Type to)
public void push(int i)
public void push(long value)
public void push(float value)
public void push(double value)
public void push(java.lang.String value)
public void newarray()
public void newarray(org.objectweb.asm.Type type)
public void arraylength()
public void load_this()
public void load_args()
public void load_arg(int index)
index
- the zero-based index into the argument listpublic void load_args(int fromArg, int count)
public void iinc(Local local, int amount)
public void store_local(Local local)
public void load_local(Local local)
public void return_value()
public void getfield(java.lang.String name)
public void putfield(java.lang.String name)
public void super_getfield(java.lang.String name, org.objectweb.asm.Type type)
public void super_putfield(java.lang.String name, org.objectweb.asm.Type type)
public void super_getstatic(java.lang.String name, org.objectweb.asm.Type type)
public void super_putstatic(java.lang.String name, org.objectweb.asm.Type type)
public void getfield(org.objectweb.asm.Type owner, java.lang.String name, org.objectweb.asm.Type type)
public void putfield(org.objectweb.asm.Type owner, java.lang.String name, org.objectweb.asm.Type type)
public void getstatic(org.objectweb.asm.Type owner, java.lang.String name, org.objectweb.asm.Type type)
public void putstatic(org.objectweb.asm.Type owner, java.lang.String name, org.objectweb.asm.Type type)
public void super_invoke()
public void super_invoke(Signature sig)
public void invoke_constructor(org.objectweb.asm.Type type)
public void super_invoke_constructor()
public void invoke_constructor_this()
public void invoke_interface(org.objectweb.asm.Type owner, Signature sig)
public void invoke_virtual(org.objectweb.asm.Type owner, Signature sig)
public void invoke_static(org.objectweb.asm.Type owner, Signature sig)
public void invoke_virtual_this(Signature sig)
public void invoke_static_this(Signature sig)
public void invoke_constructor(org.objectweb.asm.Type type, Signature sig)
public void invoke_constructor_this(Signature sig)
public void super_invoke_constructor(Signature sig)
public void new_instance_this()
public void new_instance(org.objectweb.asm.Type type)
public void aaload(int index)
public void aaload()
public void aastore()
public void athrow()
public org.objectweb.asm.Label make_label()
public Local make_local()
public Local make_local(org.objectweb.asm.Type type)
public void checkcast_this()
public void checkcast(org.objectweb.asm.Type type)
public void instance_of(org.objectweb.asm.Type type)
public void instance_of_this()
public void process_switch(int[] keys, ProcessSwitchCallback callback)
public void process_switch(int[] keys, ProcessSwitchCallback callback, boolean useTable)
public void mark(org.objectweb.asm.Label label)
public void push(boolean value)
public void not()
public void throw_exception(org.objectweb.asm.Type type, java.lang.String msg)
public void box(org.objectweb.asm.Type type)
type
- the class indicating the current type of the top stack valuepublic void unbox(org.objectweb.asm.Type type)
type
- the class indicating the desired type of the top stack value
public void create_arg_array()
public void zero_or_null(org.objectweb.asm.Type type)
public void unbox_or_zero(org.objectweb.asm.Type type)
public void visitMaxs(int maxStack, int maxLocals)
visitMaxs
in interface org.objectweb.asm.CodeVisitor
visitMaxs
in class RemappingCodeVisitor
public void invoke(java.lang.reflect.Method method)
public void define_attribute(org.objectweb.asm.Attribute attrs)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |