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 int |
canSeeFocus(SearchPattern pattern,
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 |
IndexLocation[] |
getIndexLocations()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROJECT_CAN_SEE_FOCUS
public static final int PROJECT_CAN_SEE_FOCUS
- See Also:
- Constant Field Values
PROJECT_SOURCE_CAN_NOT_SEE_FOCUS
public static final int PROJECT_SOURCE_CAN_NOT_SEE_FOCUS
- See Also:
- Constant Field Values
PROJECT_CAN_NOT_SEE_FOCUS
public static final int PROJECT_CAN_NOT_SEE_FOCUS
- See Also:
- Constant Field Values
IndexSelector
public IndexSelector(IJavaSearchScope searchScope,
SearchPattern pattern)
canSeeFocus
public static int canSeeFocus(SearchPattern pattern,
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
getIndexLocations
public IndexLocation[] getIndexLocations()