Package org.eclipse.cdt.core.browser
Interface ITypeInfo
- All Known Implementing Classes:
IndexTypeInfo
,TypeInfo
,UnknownTypeInfo
public interface ITypeInfo
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDerivedReference
(ITypeReference location) Deprecated.void
addReference
(ITypeReference location) Deprecated.boolean
canSubstituteFor
(ITypeInfo info) Deprecated.boolean
Deprecated.boolean
exists()
Deprecated.int
Returns the CElement type.Deprecated.Deprecated.getEnclosedTypes
(int[] kinds) Deprecated.getEnclosingNamespace
(boolean includeGlobalNamespace) Deprecated.Returns the enclosing project.Deprecated.getEnclosingType
(int[] kinds) Deprecated.getName()
Returns the type name.Returns the qualified type name.Returns the originating locations where this type was declared.Returns the real location where type was declared.getRootNamespace
(boolean includeGlobalNamespace) Deprecated.Deprecated.getSuperTypeAccess
(ITypeInfo subType) Deprecated.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
isClass()
Deprecated.boolean
isEnclosed
(ITypeInfo info) Deprecated.boolean
isEnclosed
(ITypeSearchScope scope) Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
isReferenced
(ITypeSearchScope scope) Deprecated.boolean
Deprecated.void
setCElementType
(int type) Deprecated.
-
Field Details
-
KNOWN_TYPES
static final int[] KNOWN_TYPES
-
-
Method Details
-
getCElementType
int getCElementType()Returns the CElement type.- Returns:
- ICElement.C_NAMESPACE, C_CLASS, C_STRUCT, C_UNION, C_ENUMERATION, or C_TYPEDEF, or zero if unknown type.
-
getName
String getName()Returns the type name. -
getQualifiedTypeName
IQualifiedTypeName getQualifiedTypeName()Returns the qualified type name. -
getReferences
ITypeReference[] getReferences()Returns the originating locations where this type was declared.- Returns:
- all known source references, or an empty array if none found.
-
getResolvedReference
ITypeReference getResolvedReference()Returns the real location where type was declared.- Returns:
- the parsed source reference (with offset and length),
or
null
if not found.
-
getEnclosingProject
ICProject getEnclosingProject()Returns the enclosing project. -
setCElementType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
exists
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isUndefinedType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosedType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingNamespace
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getRootNamespace
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosingType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
hasEnclosedTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
encloses
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosed
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosedTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosedTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosed
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
addReference
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
canSubstituteFor
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
hasSubTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
hasSuperTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getSubTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getSuperTypes
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getSuperTypeAccess
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
addDerivedReference
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
getDerivedReferences
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isClass
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isReferenced
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-