public class UnindexedSearchScope extends AbstractSearchScope
APPLICATION_LIBRARIES, JAR_FILE_ENTRY_SEPARATOR, REFERENCED_PROJECTS, SOURCES, SYSTEM_LIBRARIES| Modifier and Type | Method and Description |
|---|---|
boolean |
encloses(IJavaElement element)
Checks whether this scope encloses the given element.
|
boolean |
encloses(java.lang.String resourcePathString)
Checks whether the resource at the given path is enclosed by this scope.
|
IPath[] |
enclosingProjectsAndJars()
Returns the paths to the enclosing projects and JARs for this search scope.
|
static IJavaSearchScope |
filterEntriesCoveredByTheNewIndex(IJavaSearchScope scope) |
void |
processDelta(IJavaElementDelta delta,
int eventType) |
includesBinaries, includesClasspaths, setIncludesBinaries, setIncludesClasspathspublic static IJavaSearchScope filterEntriesCoveredByTheNewIndex(IJavaSearchScope scope)
public boolean encloses(java.lang.String resourcePathString)
IJavaSearchScoperesourcePathString - if the resource is contained in
a JAR file, the path is composed of 2 paths separated
by JAR_FILE_ENTRY_SEPARATOR: the first path is the full OS path
to the JAR (if it is an external JAR), or the workspace relative IPath
to the JAR (if it is an internal JAR),
the second path is the path to the resource inside the JAR.public boolean encloses(IJavaElement element)
IJavaSearchScopeelement - the given elementtrue if the element is in this scopepublic IPath[] enclosingProjectsAndJars()
IJavaSearchScopeIResource.getFullPath()).
For example, /MyProject
IResource.getFullPath()).
For example, /MyProject/mylib.jar
public void processDelta(IJavaElementDelta delta, int eventType)
processDelta in class AbstractSearchScope