public static class Location.InvokeLocation extends Location implements MethodInsnNodeWare
Location.ExceptionExitLocation, Location.ExitLocation, Location.FieldAccessLocation, Location.InvokeExceptionExitLocation, Location.InvokeLocation, Location.LineLocation, Location.SyncEnterLocation, Location.SyncExitLocation, Location.ThrowLocationACCESS_READ, ACCESS_WRITE| Constructor and Description |
|---|
InvokeLocation(com.alibaba.deps.org.objectweb.asm.tree.MethodInsnNode insnNode,
int count,
boolean whenComplete) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeByReturn()
标记在这个location,栈上原来的值可以被 callback 函数的return值替换掉
|
int |
getCount() |
LocationType |
getLocationType()
identify the type of this location
|
StackSaver |
getStackSaver() |
com.alibaba.deps.org.objectweb.asm.tree.MethodInsnNode |
methodInsnNode() |
void |
setCount(int count) |
getInsnNode, isStackNeedSave, isWhenCompletepublic InvokeLocation(com.alibaba.deps.org.objectweb.asm.tree.MethodInsnNode insnNode,
int count,
boolean whenComplete)
public boolean canChangeByReturn()
LocationcanChangeByReturn in class Locationpublic int getCount()
public void setCount(int count)
public LocationType getLocationType()
LocationgetLocationType in class Locationpublic StackSaver getStackSaver()
getStackSaver in class Locationpublic com.alibaba.deps.org.objectweb.asm.tree.MethodInsnNode methodInsnNode()
methodInsnNode in interface MethodInsnNodeWareCopyright © 2018–2021. All rights reserved.