Class EclipseAnalysisScopeReader
java.lang.Object
com.ibm.wala.core.util.config.AnalysisScopeReader
com.ibm.wala.ide.util.EclipseAnalysisScopeReader
-
Field Summary
Fields inherited from class AnalysisScopeReader
BASIC_FILE, instance, MY_CLASSLOADERModifier and TypeFieldDescriptionprotected final Stringstatic AnalysisScopeReaderprotected final ClassLoader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmakeJavaBinaryAnalysisScopeFromPlugin(String classPath, File exclusionsFile) makeJavaBinaryAnalysisScopeFromPlugin(String classPath, File exclusionsFile, org.eclipse.core.runtime.Plugin plugIn) makePrimordialScopeFromPlugin(File exclusionsFile) makePrimordialScopeFromPlugin(File exclusionsFile, org.eclipse.core.runtime.Plugin plugIn) readJavaScopeFromPlugin(String scopeFileName, File exclusionsFile, ClassLoader javaLoader) readJavaScopeFromPlugin(String scopeFileName, File exclusionsFile, ClassLoader javaLoader, org.eclipse.core.runtime.Plugin plugIn) Methods inherited from class AnalysisScopeReader
addClassPathToScope, handleInSubclass, makeBasePrimordialScope, makeJavaBinaryAnalysisScope, makePrimordialScope, processScopeDefLine, read, read, readJavaScope, setScopeReaderModifier and TypeMethodDescriptionvoidaddClassPathToScope(String classPath, AnalysisScope scope, ClassLoaderReference loader) protected booleanhandleInSubclass(AnalysisScope scope, ClassLoaderReference walaLoader, String language, String entryType, String entryPathname) makeBasePrimordialScope(File exclusionsFile) Creates an AnalysisScope containing only the JDK standard libraries.makeJavaBinaryAnalysisScope(String classPath, File exclusionsFile) makePrimordialScope(File exclusionsFile) Creates an AnalysisScope containing only the JDK standard libraries.voidprocessScopeDefLine(AnalysisScope scope, ClassLoader javaLoader, String line) read(AnalysisScope scope, String scopeFileName, @Nullable File exclusionsFile, ClassLoader javaLoader) protected AnalysisScoperead(AnalysisScope scope, URI scopeFileURI, File exclusionsFile, ClassLoader javaLoader) readJavaScope(String scopeFileName, @Nullable File exclusionsFile, ClassLoader javaLoader) read in an analysis scope for a Java application from a text fileprotected static voidsetScopeReader(AnalysisScopeReader reader)
-
Constructor Details
-
EclipseAnalysisScopeReader
public EclipseAnalysisScopeReader()
-
-
Method Details
-
readJavaScopeFromPlugin
public AnalysisScope readJavaScopeFromPlugin(String scopeFileName, File exclusionsFile, ClassLoader javaLoader) throws IOException - Throws:
IOException
-
readJavaScopeFromPlugin
public AnalysisScope readJavaScopeFromPlugin(String scopeFileName, File exclusionsFile, ClassLoader javaLoader, org.eclipse.core.runtime.Plugin plugIn) throws IOException - Throws:
IOException
-
makePrimordialScopeFromPlugin
- Throws:
IOException
-
makePrimordialScopeFromPlugin
public AnalysisScope makePrimordialScopeFromPlugin(File exclusionsFile, org.eclipse.core.runtime.Plugin plugIn) throws IOException - Parameters:
exclusionsFile- file holding class hierarchy exclusions. may be null- Throws:
IllegalStateException- if there are problems reading wala propertiesIOException
-
makeJavaBinaryAnalysisScopeFromPlugin
public AnalysisScope makeJavaBinaryAnalysisScopeFromPlugin(String classPath, File exclusionsFile) throws IOException - Throws:
IOException
-
makeJavaBinaryAnalysisScopeFromPlugin
public AnalysisScope makeJavaBinaryAnalysisScopeFromPlugin(String classPath, File exclusionsFile, org.eclipse.core.runtime.Plugin plugIn) throws IOException - Parameters:
classPath- class path to analyze, delimited by File.pathSeparatorexclusionsFile- file holding class hierarchy exclusions. may be null- Throws:
IllegalStateException- if there are problems reading wala propertiesIOException
-