Class JDTJavaSourceAnalysisEngine
java.lang.Object
com.ibm.wala.client.AbstractAnalysisEngine<InstanceKey,CallGraphBuilder<InstanceKey>,Void>
com.ibm.wala.ide.client.EclipseProjectAnalysisEngine<org.eclipse.jdt.core.IJavaProject,InstanceKey>
com.ibm.wala.ide.client.EclipseProjectSourceAnalysisEngine<org.eclipse.jdt.core.IJavaProject,InstanceKey>
com.ibm.wala.cast.java.client.JDTJavaSourceAnalysisEngine
- All Implemented Interfaces:
AnalysisEngine
public class JDTJavaSourceAnalysisEngine
extends EclipseProjectSourceAnalysisEngine<org.eclipse.jdt.core.IJavaProject,InstanceKey>
-
Nested Class Summary
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
ConstructorDescriptionJDTJavaSourceAnalysisEngine
(String projectName) JDTJavaSourceAnalysisEngine
(org.eclipse.jdt.core.IJavaProject project) -
Method Summary
Modifier and TypeMethodDescriptionprotected EclipseProjectPath
<?, org.eclipse.jdt.core.IJavaProject> createProjectPath
(org.eclipse.jdt.core.IJavaProject project) protected CallGraphBuilder
<InstanceKey> getCallGraphBuilder
(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) protected ClassLoaderReference
protected AnalysisScope
protected ClassLoaderFactory
makeClassLoaderFactory
(SetOfClasses exclusions) we don't provide a default implementation of this method to avoid introducing a dependence on com.ibm.wala.cast from this projectvoid
setDump
(boolean dump) Methods inherited from class com.ibm.wala.ide.client.EclipseProjectSourceAnalysisEngine
getDefaultOptions
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, getExclusionsFile, getHeapGraph, getOptions, getPointerAnalysis, getScope, getSDG, isClosedWorld, makeDefaultEntrypoints, performAnalysis, setClassHierarchy, setClosedWorld, setEntrypointBuilder, setExclusionsFile, setJ2SELibraries, setJ2SELibraries, setModuleFiles
-
Constructor Details
-
JDTJavaSourceAnalysisEngine
public JDTJavaSourceAnalysisEngine(org.eclipse.jdt.core.IJavaProject project) -
JDTJavaSourceAnalysisEngine
-
-
Method Details
-
setDump
public void setDump(boolean dump) -
makeClassLoaderFactory
- Overrides:
makeClassLoaderFactory
in classAbstractAnalysisEngine<InstanceKey,
CallGraphBuilder<InstanceKey>, Void>
-
makeAnalysisScope
- Specified by:
makeAnalysisScope
in classEclipseProjectAnalysisEngine<org.eclipse.jdt.core.IJavaProject,
InstanceKey>
-
getSourceLoader
- Specified by:
getSourceLoader
in classEclipseProjectSourceAnalysisEngine<org.eclipse.jdt.core.IJavaProject,
InstanceKey>
-
makeDefaultCache
Description copied from class:EclipseProjectSourceAnalysisEngine
we don't provide a default implementation of this method to avoid introducing a dependence on com.ibm.wala.cast from this project- Specified by:
makeDefaultCache
in classEclipseProjectSourceAnalysisEngine<org.eclipse.jdt.core.IJavaProject,
InstanceKey>
-
createProjectPath
protected EclipseProjectPath<?,org.eclipse.jdt.core.IJavaProject> createProjectPath(org.eclipse.jdt.core.IJavaProject project) throws IOException, org.eclipse.core.runtime.CoreException - Specified by:
createProjectPath
in classEclipseProjectAnalysisEngine<org.eclipse.jdt.core.IJavaProject,
InstanceKey> - Throws:
IOException
org.eclipse.core.runtime.CoreException
-
getCallGraphBuilder
protected CallGraphBuilder<InstanceKey> getCallGraphBuilder(IClassHierarchy cha, AnalysisOptions options, IAnalysisCacheView cache) - Specified by:
getCallGraphBuilder
in classEclipseProjectAnalysisEngine<org.eclipse.jdt.core.IJavaProject,
InstanceKey>
-