org.aspectj.org.eclipse.jdt.internal.core.search
Class IndexSelector
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.IndexSelector
public class IndexSelector
- extends java.lang.Object
Selects the indexes that correspond to projects in a given search scope
and that are dependent on a given focus element.
|
Method Summary |
static boolean |
canSeeFocus(IJavaElement focus,
boolean isPolymorphicSearch,
IPath projectOrJarPath)
Returns whether elements of the given project or jar can see the given focus (an IJavaProject or
a JarPackageFragmentRot) either because the focus is part of the project or the jar, or because it is
accessible throught the project's classpath |
static boolean |
canSeeFocus(IJavaElement focus,
JavaProject javaProject,
IClasspathEntry[] focusEntriesForPolymorphicSearch)
|
IPath[] |
getIndexLocations()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexSelector
public IndexSelector(IJavaSearchScope searchScope,
SearchPattern pattern)
canSeeFocus
public static boolean canSeeFocus(IJavaElement focus,
boolean isPolymorphicSearch,
IPath projectOrJarPath)
- Returns whether elements of the given project or jar can see the given focus (an IJavaProject or
a JarPackageFragmentRot) either because the focus is part of the project or the jar, or because it is
accessible throught the project's classpath
canSeeFocus
public static boolean canSeeFocus(IJavaElement focus,
JavaProject javaProject,
IClasspathEntry[] focusEntriesForPolymorphicSearch)
getIndexLocations
public IPath[] getIndexLocations()