@Override public String toString() { return "indexing " + searchDocument.getPath(); //$NON-NLS-1$ } @Override
private String getContainerRelativePath() { if (this.containerRelativePath == null) this.containerRelativePath = this.index.containerRelativePath(getPath()); return this.containerRelativePath; }
private String getContainerRelativePath() { if (this.containerRelativePath == null) this.containerRelativePath = this.index.containerRelativePath(getPath()); return this.containerRelativePath; }
private String getContainerRelativePath() { if (this.containerRelativePath == null) this.containerRelativePath = this.index.containerRelativePath(getPath()); return this.containerRelativePath; }
private String getContainerRelativePath() { if (this.containerRelativePath == null) this.containerRelativePath = this.index.containerRelativePath(getPath()); return this.containerRelativePath; }
@Override public void indexResolvedDocument(SearchDocument document, IPath indexPath) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.indexResolvedDocument(); this.sourceIndexer = null; } }
@Override public void resolveDocument(SearchDocument document) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.resolveDocument(); } }
public void resolveDocument(SearchDocument document) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.resolveDocument(); } }
@Override public void indexResolvedDocument(SearchDocument document, IPath indexPath) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.indexResolvedDocument(); this.sourceIndexer = null; } }
public void resolveDocument(SearchDocument document) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.resolveDocument(); } }
public void resolveDocument(SearchDocument document) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.resolveDocument(); } }
@Override public void indexResolvedDocument(SearchDocument document, IPath indexPath) { String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { if (this.sourceIndexer != null) this.sourceIndexer.indexResolvedDocument(); this.sourceIndexer = null; } }
protected void addTypeDeclaration(int modifiers, char[] packageName, char[] name, char[][] enclosingTypeNames, boolean secondary) { char[] indexKey = TypeDeclarationPattern.createIndexKey(modifiers, name, packageName, enclosingTypeNames, secondary); if (secondary) JavaModelManager.getJavaModelManager().secondaryTypeAdding( this.document.getPath(), name == null ? CharOperation.NO_CHAR : name, packageName == null ? CharOperation.NO_CHAR : packageName); addIndexEntry(TYPE_DECL, indexKey); } public void addTypeReference(char[] typeName) {
protected void addTypeDeclaration(int modifiers, char[] packageName, char[] name, char[][] enclosingTypeNames, boolean secondary) { char[] indexKey = TypeDeclarationPattern.createIndexKey(modifiers, name, packageName, enclosingTypeNames, secondary); if (secondary) JavaModelManager.getJavaModelManager().secondaryTypeAdding( this.document.getPath(), name == null ? CharOperation.NO_CHAR : name, packageName == null ? CharOperation.NO_CHAR : packageName); addIndexEntry(TYPE_DECL, indexKey); } public void addTypeReference(char[] typeName) {
protected void addTypeDeclaration(int modifiers, char[] packageName, char[] name, char[][] enclosingTypeNames, boolean secondary) { char[] indexKey = TypeDeclarationPattern.createIndexKey(modifiers, name, packageName, enclosingTypeNames, secondary); if (secondary) JavaModelManager.getJavaModelManager().secondaryTypeAdding( this.document.getPath(), name == null ? CharOperation.NO_CHAR : name, packageName == null ? CharOperation.NO_CHAR : packageName); addIndexEntry(TYPE_DECL, indexKey); } public void addTypeReference(char[] typeName) {
public void indexDocument(SearchDocument document, IPath indexPath) { // TODO must verify that the document + indexPath match, when this is not called from scheduleDocumentIndexing document.removeAllIndexEntries(); // in case the document was already indexed String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { this.sourceIndexer = new SourceIndexer(document); this.sourceIndexer.indexDocument(); } else if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(documentPath)) { new BinaryIndexer(document).indexDocument(); } }
public void indexDocument(SearchDocument document, IPath indexPath) { // TODO must verify that the document + indexPath match, when this is not called from scheduleDocumentIndexing document.removeAllIndexEntries(); // in case the document was already indexed String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { new SourceIndexer(document).indexDocument(); } else if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(documentPath)) { new BinaryIndexer(document).indexDocument(); } }
public void indexDocument(SearchDocument document, IPath indexPath) { // TODO must verify that the document + indexPath match, when this is not called from scheduleDocumentIndexing document.removeAllIndexEntries(); // in case the document was already indexed String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { this.sourceIndexer = new SourceIndexer(document); this.sourceIndexer.indexDocument(); } else if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(documentPath)) { new BinaryIndexer(document).indexDocument(); } }
public void indexDocument(SearchDocument document, IPath indexPath) { // TODO must verify that the document + indexPath match, when this is not called from scheduleDocumentIndexing document.removeAllIndexEntries(); // in case the document was already indexed String documentPath = document.getPath(); if (org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(documentPath)) { this.sourceIndexer = new SourceIndexer(document); this.sourceIndexer.indexDocument(); } else if (org.eclipse.jdt.internal.compiler.util.Util.isClassFileName(documentPath)) { new BinaryIndexer(document).indexDocument(); } }