public abstract static class VirtualEdgesSummaries.InvocationVirtualEdgeTarget extends VirtualEdgesSummaries.VirtualEdgeTarget
The target of a PAG or callgraph edge that corresponds to the immediate execution of a method.
The method can either be specified directly, or indirectly by following a chain obf subsequent calls, which is modeled by the respective derived classes of this abstract base class.
| Modifier and Type | Field and Description |
|---|---|
protected int |
argIndex |
protected MethodSubSignature |
targetMethod |
targetType| Constructor and Description |
|---|
InvocationVirtualEdgeTarget(RefType targetType,
MethodSubSignature targetMethod) |
InvocationVirtualEdgeTarget(RefType targetType,
MethodSubSignature targetMethod,
int argIndex) |
| Modifier and Type | Method and Description |
|---|---|
abstract VirtualEdgesSummaries.VirtualEdgeTarget |
clone(int argIndex)
Clones the edge, but with a potentially different arg index
|
boolean |
equals(Object obj) |
int |
getArgIndex() |
MethodSubSignature |
getTargetMethod() |
int |
hashCode() |
boolean |
isBase() |
void |
setArgIndex(int value) |
String |
toString() |
clone, getTargetTypeprotected int argIndex
protected MethodSubSignature targetMethod
public InvocationVirtualEdgeTarget(RefType targetType, MethodSubSignature targetMethod)
public InvocationVirtualEdgeTarget(RefType targetType, MethodSubSignature targetMethod, int argIndex)
public boolean isBase()
public int getArgIndex()
public void setArgIndex(int value)
public abstract VirtualEdgesSummaries.VirtualEdgeTarget clone(int argIndex)
argIndex - the arg index to set in the clonepublic MethodSubSignature getTargetMethod()
public int hashCode()
hashCode in class VirtualEdgesSummaries.VirtualEdgeTargetpublic boolean equals(Object obj)
equals in class VirtualEdgesSummaries.VirtualEdgeTargetCopyright © 2024 Soot OSS. All rights reserved.