org.aspectj.org.eclipse.jdt.internal.core.search
Class IndexSelector

java.lang.Object
  extended by 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.


Constructor Summary
IndexSelector(IJavaSearchScope searchScope, SearchPattern pattern)
           
 
Method Summary
static boolean 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
 IPath[] getIndexLocations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexSelector

public IndexSelector(IJavaSearchScope searchScope,
                     SearchPattern pattern)
Method Detail

canSeeFocus

public static boolean 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 IPath[] getIndexLocations()