diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndex.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndex.java index a0c635e1be2..b3401b5a6bf 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndex.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndex.java @@ -251,8 +251,8 @@ public interface IIndex { * Searches for all bindings in global scope with a given name. In case a binding exists in multiple projects, no duplicate bindings are returned. * This method makes use of the BTree and is faster than the methods using patterns. *
- * To find bindings for file-local (static) variables or functions you need to provide an additional qualifier. It can be obtained by calling
- * {@link #getFileLocalScopeQualifier()} or {@link IndexLocationFactory#getFileLocalQualifier(IIndexLocation)}.
+ * To find bindings for file-local (static) variables or functions you need to provide an additional qualifier.
+ * It can be obtained by calling {@link IIndexBinding#getFileLocalScopeQualifier()}.
* @param names an array of names, which has to be matched by the qualified name of the bindings.
* @param filter a filter that allows for skipping parts of the index
* @param monitor a monitor to report progress, may be null
.
@@ -345,11 +345,4 @@ public interface IIndex {
* @throws CoreException
*/
public IIndexBinding adaptBinding(IBinding binding);
-
- /**
- * Returns the additional qualifier with which you can search for static (file-local) functions and
- * variables.
- * @see #findBindings(char[][], IndexFilter, IProgressMonitor).
- */
- public String getFileLocalScopeQualifier(IIndexFileLocation loc);
}
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/EmptyCIndex.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/EmptyCIndex.java
index 988e3774ad0..cc4d17df512 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/EmptyCIndex.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/EmptyCIndex.java
@@ -121,8 +121,4 @@ final public class EmptyCIndex implements IIndex {
public IIndexMacro[] findMacrosForPrefix(char[] prefix, IndexFilter filter, IProgressMonitor monitor) {
return IIndexMacro.EMPTY_INDEX_MACRO_ARRAY;
}
-
- public String getFileLocalScopeQualifier(IIndexFileLocation loc) {
- return new String(CIndex.getFileLocalScopeQualifier(loc.getFullPath()));
- }
}
\ No newline at end of file