public abstract class Location extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Location.ExceptionExitLocation
location identifying a method exceptional exit trigger point
|
static class |
Location.ExitLocation
location identifying a method exit trigger point
|
static class |
Location.FieldAccessLocation
location identifying a field access trigger point
|
static class |
Location.InvokeExceptionExitLocation
location identifying a method exceptional exit trigger point
|
static class |
Location.InvokeLocation
location identifying a method invocation trigger point
|
static class |
Location.LineLocation
location identifying a method line trigger point
|
static class |
Location.SyncEnterLocation
location identifying a synchronization trigger point
|
static class |
Location.SyncExitLocation
location identifying a synchronization trigger point
|
static class |
Location.ThrowLocation
location identifying a throw trigger point
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ACCESS_READ
flag indicating that a field access location refers to field READ operations
|
static int |
ACCESS_WRITE
flag indicating that a field access location refers to field WRITE operations
|
| Constructor and Description |
|---|
Location(com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode insnNode) |
Location(com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode insnNode,
boolean whenComplete) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeByReturn()
标记在这个location,栈上原来的值可以被 callback 函数的return值替换掉
|
com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode |
getInsnNode() |
abstract LocationType |
getLocationType()
identify the type of this location
|
StackSaver |
getStackSaver() |
boolean |
isStackNeedSave() |
boolean |
isWhenComplete() |
public static final int ACCESS_READ
public static final int ACCESS_WRITE
public Location(com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode insnNode)
public Location(com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode insnNode,
boolean whenComplete)
public boolean isWhenComplete()
public com.alibaba.deps.org.objectweb.asm.tree.AbstractInsnNode getInsnNode()
public boolean canChangeByReturn()
public boolean isStackNeedSave()
public StackSaver getStackSaver()
public abstract LocationType getLocationType()
Copyright © 2018–2021. All rights reserved.