Class VertexFactory
java.lang.Object
com.ibm.wala.cast.js.callgraph.fieldbased.flowgraph.vertices.VertexFactory
A vertex factory is associated with a flow graph. It manages its vertex set, making sure that
vertices aren't unnecessarily created twice.
- Author:
- mschaefer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionglobal()makeArgVertex(FuncVertex func) makeCallVertex(FuncVertex func, JavaScriptInvoke invoke) makeCreationSiteVertex(IMethod method, int instruction, TypeReference createdType) makeFuncVertex(IClass klass) makeLexicalAccessVertex(String definer, String name) makeParamVertex(FuncVertex func, int index) makePropVertex(String name) makeReflectiveCallVertex(FuncVertex func, JavaScriptInvoke invoke) makeRetVertex(FuncVertex func) makeVarVertex(FuncVertex func, int valueNumber)
-
Constructor Details
-
VertexFactory
public VertexFactory()
-
-
Method Details
-
makeCallVertex
-
makeReflectiveCallVertex
-
getCallVertices
-
makeCreationSiteVertex
public CreationSiteVertex makeCreationSiteVertex(IMethod method, int instruction, TypeReference createdType) -
creationSites
-
makeFuncVertex
-
getFuncVertices
-
makeParamVertex
-
makePropVertex
-
getPropVertices
-
makeRetVertex
-
getRetVertices
-
makeArgVertex
-
getArgVertices
-
makeUnknownVertex
-
makeVarVertex
-
getVarVertices
-
makeLexicalAccessVertex
-
global
-