Class CallVertex
- java.lang.Object
-
- com.ibm.wala.cast.js.callgraph.fieldbased.flowgraph.vertices.Vertex
-
- com.ibm.wala.cast.js.callgraph.fieldbased.flowgraph.vertices.CallVertex
-
public class CallVertex extends Vertex
A call vertex represents the possible callees of a function call ornewexpression.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(VertexVisitor<T> visitor)FuncVertexgetCaller()JavaScriptInvokegetInstruction()com.ibm.wala.classLoader.CallSiteReferencegetSite()booleanisNew()Does this call vertex correspond to anewinstruction?java.lang.StringtoSourceLevelString(com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache)If possible, returns a String representation ofthisthat refers to source-level entities rather thatn WALA-internal ones (e.g., source-level variable names rather than SSA value numbers).java.lang.StringtoString()
-
-
-
Method Detail
-
getCaller
public FuncVertex getCaller()
-
getSite
public com.ibm.wala.classLoader.CallSiteReference getSite()
-
getInstruction
public JavaScriptInvoke getInstruction()
-
isNew
public boolean isNew()
Does this call vertex correspond to anewinstruction?
-
accept
public <T> T accept(VertexVisitor<T> visitor)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toSourceLevelString
public java.lang.String toSourceLevelString(com.ibm.wala.ipa.callgraph.IAnalysisCacheView cache)
Description copied from class:VertexIf possible, returns a String representation ofthisthat refers to source-level entities rather thatn WALA-internal ones (e.g., source-level variable names rather than SSA value numbers). By default, just returns the results ofObject.toString()- Overrides:
toSourceLevelStringin classVertex
-
-