public interface IIndexInclude
| Modifier and Type | Field and Description |
|---|---|
static IIndexInclude[] |
EMPTY_INCLUDES_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
String |
getFullName()
Returns the name of the include.
|
IIndexFile |
getIncludedBy()
Returns the file that contains this directive.
|
IIndexFileLocation |
getIncludedByLocation()
Returns the IIndexFileLocation of the file that contains this directive.
|
IIndexFileLocation |
getIncludesLocation()
Returns the IIndexFileLocation of the file that is included by this
directive.
|
String |
getName()
Returns the simple name of the directive.
|
int |
getNameLength()
Returns the length of the name of the include.
|
int |
getNameOffset()
Returns the character offset of the name of the include in its source file.
|
boolean |
isActive()
Test whether this include is in active code (not skipped by conditional preprocessing).
|
boolean |
isIncludedFileExported()
Returns
true if the included file is exported by the including header. |
boolean |
isResolved()
Test whether this include has been resolved (found in the file system).
|
boolean |
isResolvedByHeuristics()
Tests whether this include has been resolved using a heuristics rather than relying on
the include search path.
|
boolean |
isSystemInclude()
Returns whether this is a system include (an include specified within angle
brackets).
|
static final IIndexInclude[] EMPTY_INCLUDES_ARRAY
IIndexFile getIncludedBy() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionIIndexFileLocation getIncludedByLocation() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionIIndexFileLocation getIncludesLocation() throws org.eclipse.core.runtime.CoreException
null
will be returned.null
if the include is unresolved or inactiveorg.eclipse.core.runtime.CoreExceptionString getName() throws org.eclipse.core.runtime.CoreException
<sys/types.h> "types.h" will be returned.org.eclipse.core.runtime.CoreExceptionString getFullName() throws org.eclipse.core.runtime.CoreException
<sys/types.h> "sys/types.h" will be returned.org.eclipse.core.runtime.CoreExceptionint getNameOffset()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionint getNameLength()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionboolean isSystemInclude()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionboolean isActive()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionboolean isResolved()
throws org.eclipse.core.runtime.CoreException
#ifndef _header_h #include "header.h" #endif
org.eclipse.core.runtime.CoreExceptionboolean isResolvedByHeuristics()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionboolean isIncludedFileExported()
throws org.eclipse.core.runtime.CoreException
true if the included file is exported by the including header.org.eclipse.core.runtime.CoreExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.