Class EclipseWebAnalysisEngine
java.lang.Object
com.ibm.wala.client.AbstractAnalysisEngine<InstanceKey,CallGraphBuilder<InstanceKey>,Void>
com.ibm.wala.ide.client.EclipseProjectAnalysisEngine<org.eclipse.wst.jsdt.core.IJavaScriptProject,InstanceKey>
com.ibm.wala.ide.client.EclipseProjectSourceAnalysisEngine<org.eclipse.wst.jsdt.core.IJavaScriptProject,InstanceKey>
com.ibm.wala.cast.js.client.EclipseJavaScriptAnalysisEngine
com.ibm.wala.cast.js.client.EclipseWebAnalysisEngine
- All Implemented Interfaces:
AnalysisEngine
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.wala.cast.js.client.EclipseJavaScriptAnalysisEngine
EclipseJavaScriptAnalysisEngine.BuilderType
Nested classes/interfaces inherited from class com.ibm.wala.client.AbstractAnalysisEngine
AbstractAnalysisEngine.EntrypointBuilder
-
Field Summary
Fields inherited from class com.ibm.wala.ide.client.EclipseProjectSourceAnalysisEngine
defaultFileExt
Fields inherited from class com.ibm.wala.ide.client.EclipseProjectAnalysisEngine
ePath, project, workspaceRootPath
Fields inherited from class com.ibm.wala.client.AbstractAnalysisEngine
cg, DEBUG_LEVEL, j2seLibs, moduleFiles, pointerAnalysis, scope, SYNTHETIC_J2SE_MODEL
-
Constructor Summary
ConstructorDescriptionEclipseWebAnalysisEngine
(org.eclipse.wst.jsdt.core.IJavaScriptProject project, Collection<Pair<String, org.eclipse.core.runtime.Plugin>> models, EclipseJavaScriptAnalysisEngine.BuilderType builderType) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptEclipseProjectPath
createProjectPath
(org.eclipse.wst.jsdt.core.IJavaScriptProject project) getFieldBasedCallGraph
(String scriptName) protected AnalysisScope
protected ClassLoaderFactory
makeClassLoaderFactory
(SetOfClasses exclusions) Methods inherited from class com.ibm.wala.cast.js.client.EclipseJavaScriptAnalysisEngine
getCallGraphBuilder, getDefaultOptions, getExclusionsFile, getFieldBasedCallGraph, getFieldBasedCallGraph, getSourceLoader, makeDefaultCache, makeDefaultEntrypoints
Methods inherited from class com.ibm.wala.ide.client.EclipseProjectAnalysisEngine
buildAnalysisScope, getClassHierarchy, getEclipseProjectPath
Methods inherited from class com.ibm.wala.client.AbstractAnalysisEngine
addApplicationModulesToScope, buildCallGraph, buildClassHierarchy, buildDefaultCallGraph, defaultCallGraphBuilder, getCache, getCallGraph, getHeapGraph, getOptions, getPointerAnalysis, getScope, getSDG, isClosedWorld, performAnalysis, setClassHierarchy, setClosedWorld, setEntrypointBuilder, setExclusionsFile, setJ2SELibraries, setJ2SELibraries, setModuleFiles
-
Constructor Details
-
EclipseWebAnalysisEngine
public EclipseWebAnalysisEngine(org.eclipse.wst.jsdt.core.IJavaScriptProject project, Collection<Pair<String, org.eclipse.core.runtime.Plugin>> models, EclipseJavaScriptAnalysisEngine.BuilderType builderType)
-
-
Method Details
-
makeClassLoaderFactory
- Overrides:
makeClassLoaderFactory
in classEclipseJavaScriptAnalysisEngine
-
makeAnalysisScope
- Overrides:
makeAnalysisScope
in classEclipseJavaScriptAnalysisEngine
-
createProjectPath
protected JavaScriptEclipseProjectPath createProjectPath(org.eclipse.wst.jsdt.core.IJavaScriptProject project) throws IOException, org.eclipse.core.runtime.CoreException - Overrides:
createProjectPath
in classEclipseJavaScriptAnalysisEngine
- Throws:
IOException
org.eclipse.core.runtime.CoreException
-
getFieldBasedCallGraph
public Pair<JSCallGraph,PointerAnalysis<ObjectVertex>> getFieldBasedCallGraph(String scriptName) throws CancelException - Overrides:
getFieldBasedCallGraph
in classEclipseJavaScriptAnalysisEngine
- Throws:
CancelException
-