|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.eclipse.util.EclipseProjectPath
public class EclipseProjectPath
Representation of an analysis scope from an Eclipse project. We set up classloaders as follows:
| Nested Class Summary | |
|---|---|
static class |
EclipseProjectPath.Loader
|
| Field Summary | |
|---|---|
static Atom |
SOURCE
TODO: do we really need this? Why shouldn't source files come from a "normal" class loader like any other resource? |
static ClassLoaderReference |
SOURCE_REF
|
| Method Summary | |
|---|---|
java.util.Collection<Module> |
getModules(EclipseProjectPath.Loader loader,
boolean binary)
|
static EclipseProjectPath |
make(org.eclipse.core.runtime.IPath workspaceRootPath,
org.eclipse.jdt.core.IJavaProject project)
|
protected org.eclipse.core.runtime.IPath |
makeAbsolute(org.eclipse.core.runtime.IPath p)
|
protected void |
resolveClasspathEntries(org.eclipse.jdt.core.IClasspathEntry[] entries,
EclipseProjectPath.Loader loader,
java.lang.String fileExtension)
|
void |
resolveProjectClasspathEntries()
If file extension is not provided, use system default |
void |
resolveProjectClasspathEntries(java.lang.String fileExtension)
If file extension is provided, use that to resolve source files in the classpath |
AnalysisScope |
toAnalysisScope(java.lang.ClassLoader classLoader,
java.io.File exclusionsFile)
Convert this path to a WALA analysis scope |
AnalysisScope |
toAnalysisScope(java.io.File exclusionsFile)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Atom SOURCE
public static final ClassLoaderReference SOURCE_REF
| Method Detail |
|---|
public static EclipseProjectPath make(org.eclipse.core.runtime.IPath workspaceRootPath,
org.eclipse.jdt.core.IJavaProject project)
throws org.eclipse.jdt.core.JavaModelException,
java.io.IOException
org.eclipse.jdt.core.JavaModelException
java.io.IOException
protected void resolveClasspathEntries(org.eclipse.jdt.core.IClasspathEntry[] entries,
EclipseProjectPath.Loader loader,
java.lang.String fileExtension)
throws org.eclipse.jdt.core.JavaModelException,
java.io.IOException
org.eclipse.jdt.core.JavaModelException
java.io.IOExceptionprotected org.eclipse.core.runtime.IPath makeAbsolute(org.eclipse.core.runtime.IPath p)
public void resolveProjectClasspathEntries()
throws org.eclipse.jdt.core.JavaModelException,
java.io.IOException
org.eclipse.jdt.core.JavaModelException
java.io.IOException
public void resolveProjectClasspathEntries(java.lang.String fileExtension)
throws org.eclipse.jdt.core.JavaModelException,
java.io.IOException
fileExtension -
org.eclipse.jdt.core.JavaModelException
java.io.IOException
public AnalysisScope toAnalysisScope(java.lang.ClassLoader classLoader,
java.io.File exclusionsFile)
public AnalysisScope toAnalysisScope(java.io.File exclusionsFile)
public java.util.Collection<Module> getModules(EclipseProjectPath.Loader loader,
boolean binary)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||