Class WorkspaceSnapshot

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.indexer.WorkspaceSnapshot

public final class WorkspaceSnapshot extends Object
Represents a snapshot of all the indexable objects in the workspace at a given moment in time.
  • Field Details

    • EXPERIMENTAL_INDEX_OUTPUT_FOLDERS

      public static boolean EXPERIMENTAL_INDEX_OUTPUT_FOLDERS
      Enable this to index the content of output folders, in cases where that content exists and is up-to-date. This is much faster than indexing source files directly.
  • Method Details

    • getAllIndexables

      public Map<org.eclipse.core.runtime.IPath,​List<IJavaElement>> getAllIndexables()
    • allLocations

      public Set<org.eclipse.core.runtime.IPath> allLocations()
    • get

      public List<IJavaElement> get(org.eclipse.core.runtime.IPath next)
    • create

      public static WorkspaceSnapshot create(org.eclipse.core.resources.IWorkspaceRoot root, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Throws:
      org.eclipse.core.runtime.CoreException