|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.jimple.toolkits.callgraph.Edge
Represents a single edge in a call graph.
Field Summary | |
static int |
CLINIT
Implicit call to static initializer. |
static int |
EXIT
Implicit call to Thread.exit(). |
static int |
FINALIZE
Implicit call to non-trivial finalizer from constructor. |
static int |
INTERFACE
Due to explicit invokeinterface instruction. |
static int |
INVALID
|
static java.lang.String[] |
kinds
|
static int |
NEWINSTANCE
Implicit call to constructor from java.lang.Class.newInstance(). |
static int |
PRIVILEGED
Implicit call to run() through AccessController.doPrivileged(). |
static int |
SPECIAL
Due to explicit invokespecial instruction. |
static int |
STATIC
Due to explicit invokestatic instruction. |
static int |
THREAD
Implicit call to Thread.run() due to Thread.start() call. |
static int |
VIRTUAL
Due to explicit invokevirtual instruction. |
Constructor Summary | |
Edge(MethodOrMethodContext src,
Stmt srcUnit,
MethodOrMethodContext tgt)
|
|
Edge(MethodOrMethodContext src,
Unit srcUnit,
MethodOrMethodContext tgt,
int type)
|
Method Summary | |
boolean |
equals(java.lang.Object other)
|
MethodOrMethodContext |
getSrc()
|
MethodOrMethodContext |
getTgt()
|
int |
hashCode()
|
static int |
ieToKind(InvokeExpr ie)
|
boolean |
isClinit()
Returns true if the call is to static initializer. |
boolean |
isExplicit()
Returns true if the call is due to an explicit invoke statement. |
boolean |
isInstance()
Returns true if the call is due to an explicit instance invoke statement. |
boolean |
isStatic()
Returns true if the call is due to an explicit static invoke statement. |
int |
kind()
|
static java.lang.String |
kindToString(int kind)
|
boolean |
passesParameters()
|
SootMethod |
src()
|
java.lang.Object |
srcCtxt()
|
Stmt |
srcStmt()
|
Unit |
srcUnit()
|
SootMethod |
tgt()
|
java.lang.Object |
tgtCtxt()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int INVALID
public static final int STATIC
public static final int VIRTUAL
public static final int INTERFACE
public static final int SPECIAL
public static final int CLINIT
public static final int THREAD
public static final int EXIT
public static final int FINALIZE
public static final int PRIVILEGED
public static final int NEWINSTANCE
public static final java.lang.String[] kinds
Constructor Detail |
public Edge(MethodOrMethodContext src, Unit srcUnit, MethodOrMethodContext tgt, int type)
public Edge(MethodOrMethodContext src, Stmt srcUnit, MethodOrMethodContext tgt)
Method Detail |
public SootMethod src()
public java.lang.Object srcCtxt()
public MethodOrMethodContext getSrc()
public Unit srcUnit()
public Stmt srcStmt()
public SootMethod tgt()
public java.lang.Object tgtCtxt()
public MethodOrMethodContext getTgt()
public int kind()
public static int ieToKind(InvokeExpr ie)
public boolean isExplicit()
public boolean isInstance()
public boolean isClinit()
public boolean isStatic()
public boolean passesParameters()
public int hashCode()
public boolean equals(java.lang.Object other)
public static java.lang.String kindToString(int kind)
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |