Class FuncVertex
java.lang.Object
com.ibm.wala.cast.js.callgraph.fieldbased.flowgraph.vertices.Vertex
com.ibm.wala.cast.js.callgraph.fieldbased.flowgraph.vertices.FuncVertex
- All Implemented Interfaces:
ObjectVertex, ContextItem, InstanceKey
A function vertex represents a function object (or, more precisely, all function objects arising
from a single function expression or declaration).
- Author:
- mschaefer
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextItem
ContextItem.Value<T> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> Taccept(VertexVisitor<T> visitor) For now, we assert that each InstanceKey represents a set of classes which are all of the same concrete type (modulo the fact that all arrays of references are considered concrete type []Object;)Get the creation sites ofthis, i.e., the statements that may allocate objects represented bythis.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).toString()
-
Field Details
-
klass
-
-
Method Details
-
getFullName
-
accept
-
toString
-
getCreationSites
Description copied from interface:InstanceKeyGet the creation sites ofthis, i.e., the statements that may allocate objects represented bythis. A creation site is a pair (n,s), where n is the containingCGNodein the givenCallGraphCGand s is the allocatingNewSiteReference.- Specified by:
getCreationSitesin interfaceInstanceKey
-
getConcreteType
Description copied from interface:InstanceKeyFor now, we assert that each InstanceKey represents a set of classes which are all of the same concrete type (modulo the fact that all arrays of references are considered concrete type []Object;)- Specified by:
getConcreteTypein interfaceInstanceKey
-
toSourceLevelString
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
-