Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Schorn2007-11-23 12:53:12 +0000
committerMarkus Schorn2007-11-23 12:53:12 +0000
commit95abd050f695961284d2239cb722768a449f0a2f (patch)
treeff54f207e755e112dd7e98fb11eeea56159a2069 /core/org.eclipse.cdt.core/parser
parent052cd58a7a82186f20e97650feea55beb52491de (diff)
downloadorg.eclipse.cdt-95abd050f695961284d2239cb722768a449f0a2f.tar.gz
org.eclipse.cdt-95abd050f695961284d2239cb722768a449f0a2f.tar.xz
org.eclipse.cdt-95abd050f695961284d2239cb722768a449f0a2f.zip
Follow up for bug 193057, remove unused method from experimental API.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/core/index/IIndex.java11
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/EmptyCIndex.java4
2 files changed, 2 insertions, 13 deletions
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.
* <p>
- * 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 <code>null</code>.
@@ -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

Back to the top