Package org.aspectj.org.eclipse.jdt.internal.core.search.indexing

Examples of org.aspectj.org.eclipse.jdt.internal.core.search.indexing.IndexManager.ensureIndexExists()


    } else if (file == null) {
      containerPath = documentPath.removeLastSegments(documentPath.segmentCount()-1);
    }
    IndexManager manager = JavaModelManager.getJavaModelManager().getIndexManager();
    // TODO (frederic) should not have to create index manually, should expose API that recreates index instead
    manager.ensureIndexExists(indexLocation, containerPath);
    manager.scheduleDocumentIndexing(document, containerPath, indexLocation, this);
  }

  /**
   * Returns the collection of index locations to consider when performing the
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.