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 com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(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 ofthis
that 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:InstanceKey
Get 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 containingCGNode
in the givenCallGraph
CG
and s is the allocatingNewSiteReference
.- Specified by:
getCreationSites
in interfaceInstanceKey
-
getConcreteType
Description copied from interface:InstanceKey
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;)- Specified by:
getConcreteType
in interfaceInstanceKey
-
toSourceLevelString
Description copied from class:Vertex
If possible, returns a String representation ofthis
that 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:
toSourceLevelString
in classVertex
-