public interface IIndexFileSet
Modifier and Type | Field and Description |
---|---|
static IIndexFileSet |
EMPTY |
Modifier and Type | Method and Description |
---|---|
void |
add(IIndexFile indexFile)
Adds a file to this set.
|
boolean |
contains(IIndexFile file)
Returns whether the given file is part of this file set.
|
boolean |
containsDeclaration(IIndexBinding binding)
Returns
true if this file set contains a declaration or definition of
the given binding. |
boolean |
containsNonLocalDeclaration(IBinding binding,
org.eclipse.cdt.internal.core.index.IIndexFragment ignore)
Checks whether the given binding has a non-local declaration in
another index fragment.
|
IBinding[] |
filterFileLocalBindings(IBinding[] bindings)
Returns an array of bindings where all local bindings that are not part of this file-set
have been removed.
|
IIndexFileSet |
invert()
Returns an index file set with the inverse meaning.
|
void |
remove(IIndexFile indexFile)
Removes a file from this set.
|
static final IIndexFileSet EMPTY
boolean contains(IIndexFile file) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
boolean containsDeclaration(IIndexBinding binding)
true
if this file set contains a declaration or definition of
the given binding.IBinding[] filterFileLocalBindings(IBinding[] bindings)
IIndexFileSet invert()
void add(IIndexFile indexFile)
void remove(IIndexFile indexFile)
boolean containsNonLocalDeclaration(IBinding binding, org.eclipse.cdt.internal.core.index.IIndexFragment ignore)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.