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.CoreException
IIndexFileLocation getIncludedByLocation() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
IIndexFileLocation getIncludesLocation() throws org.eclipse.core.runtime.CoreException
null
will be returned.null
if the include is unresolved or inactiveorg.eclipse.core.runtime.CoreException
String getName() throws org.eclipse.core.runtime.CoreException
<sys/types.h>
"types.h"
will be returned.org.eclipse.core.runtime.CoreException
String getFullName() throws org.eclipse.core.runtime.CoreException
<sys/types.h>
"sys/types.h"
will be returned.org.eclipse.core.runtime.CoreException
int getNameOffset() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
int getNameLength() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
boolean isSystemInclude() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
boolean isActive() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
boolean isResolved() throws org.eclipse.core.runtime.CoreException
#ifndef _header_h #include "header.h" #endif
org.eclipse.core.runtime.CoreException
boolean isResolvedByHeuristics() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
boolean isIncludedFileExported() throws org.eclipse.core.runtime.CoreException
true
if the included file is exported by the including header.org.eclipse.core.runtime.CoreException
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.