类 Location
java.lang.Object
com.alibaba.bytekit.asm.location.Location
- 直接已知子类:
Location.ExceptionExitLocation,Location.ExitLocation,Location.FieldAccessLocation,Location.InvokeExceptionExitLocation,Location.InvokeLocation,Location.LineLocation,Location.SyncEnterLocation,Location.SyncExitLocation,Location.ThrowLocation
Specifies a location in a method at which a rule trigger should be inserted
-
嵌套类概要
嵌套类修饰符和类型类说明static classlocation identifying a method exceptional exit trigger pointstatic classlocation identifying a method exit trigger pointstatic classlocation identifying a field access trigger pointstatic classlocation identifying a method exceptional exit trigger pointstatic classlocation identifying a method invocation trigger pointstatic classlocation identifying a method line trigger pointstatic classlocation identifying a synchronization trigger pointstatic classlocation identifying a synchronization trigger pointstatic classlocation identifying a throw trigger point -
字段概要
字段修饰符和类型字段说明static final intflag indicating that a field access location refers to field READ operationsstatic final intflag indicating that a field access location refers to field WRITE operations -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean标记在这个location,栈上原来的值可以被 callback 函数的return值替换掉com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNodeabstract LocationTypeidentify the type of this locationbooleanboolean
-
字段详细资料
-
ACCESS_READ
public static final int ACCESS_READflag indicating that a field access location refers to field READ operations- 另请参阅:
-
ACCESS_WRITE
public static final int ACCESS_WRITEflag indicating that a field access location refers to field WRITE operations- 另请参阅:
-
-
构造器详细资料
-
Location
public Location(com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode insnNode) -
Location
public Location(com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode insnNode, boolean whenComplete)
-
-
方法详细资料
-
isWhenComplete
public boolean isWhenComplete() -
getInsnNode
public com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode getInsnNode() -
canChangeByReturn
public boolean canChangeByReturn()标记在这个location,栈上原来的值可以被 callback 函数的return值替换掉- 返回:
-
isStackNeedSave
public boolean isStackNeedSave() -
getStackSaver
-
getLocationType
identify the type of this location- 返回:
- the type of this location
-