com.ibm.wala.cast.java.client.polyglot
Class EclipseProjectSourceAnalysisEngine
java.lang.Object
com.ibm.wala.client.AbstractAnalysisEngine
com.ibm.wala.cast.java.client.polyglot.EclipseProjectAnalysisEngine
com.ibm.wala.cast.java.client.polyglot.EclipseProjectSourceAnalysisEngine
- All Implemented Interfaces:
- AnalysisEngine
public class EclipseProjectSourceAnalysisEngine
- extends EclipseProjectAnalysisEngine
An EclipseProjectAnalysisEngine specialized for source code analysis with CAst
| Methods inherited from class com.ibm.wala.client.AbstractAnalysisEngine |
addApplicationModulesToScope, buildCallGraph, buildDefaultCallGraph, defaultCallGraphBuilder, getCache, getCallGraph, getClassHierarchy, getExclusionsFile, getHeapGraph, getOptions, getPointerAnalysis, getScope, isClosedWorld, setClassHierarchy, setClosedWorld, setEntrypointBuilder, setExclusionsFile, setJ2SELibraries, setJ2SELibraries, setModuleFiles |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultFileExt
public static final java.lang.String defaultFileExt
- See Also:
- Constant Field Values
EclipseProjectSourceAnalysisEngine
public EclipseProjectSourceAnalysisEngine(org.eclipse.jdt.core.IJavaProject project)
throws java.io.IOException,
org.eclipse.core.runtime.CoreException
- Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException
EclipseProjectSourceAnalysisEngine
public EclipseProjectSourceAnalysisEngine(org.eclipse.jdt.core.IJavaProject project,
java.lang.String fileExt)
throws java.io.IOException,
org.eclipse.core.runtime.CoreException
- Throws:
java.io.IOException
org.eclipse.core.runtime.CoreException
makeDefaultCache
public AnalysisCache makeDefaultCache()
- Overrides:
makeDefaultCache in class AbstractAnalysisEngine
makeSourceAnalysisScope
protected AnalysisScope makeSourceAnalysisScope()
buildAnalysisScope
public void buildAnalysisScope()
- Description copied from class:
AbstractAnalysisEngine
- Set up the AnalysisScope object
- Overrides:
buildAnalysisScope in class EclipseProjectAnalysisEngine
getTranslatorExtension
public IRTranslatorExtension getTranslatorExtension()
getClassLoaderFactory
protected ClassLoaderFactory getClassLoaderFactory(SetOfClasses exclusions,
IRTranslatorExtension extInfo)
buildClassHierarchy
public IClassHierarchy buildClassHierarchy()
- Overrides:
buildClassHierarchy in class AbstractAnalysisEngine
- Returns:
- a IClassHierarchy object for this analysis scope
makeDefaultEntrypoints
protected java.lang.Iterable<Entrypoint> makeDefaultEntrypoints(AnalysisScope scope,
IClassHierarchy cha)
- Overrides:
makeDefaultEntrypoints in class AbstractAnalysisEngine
getDefaultOptions
public AnalysisOptions getDefaultOptions(java.lang.Iterable<Entrypoint> entrypoints)
- Description copied from interface:
AnalysisEngine
- Get the default analysis options appropriate for this engine
- Specified by:
getDefaultOptions in interface AnalysisEngine- Overrides:
getDefaultOptions in class AbstractAnalysisEngine