Package org.eclipse.cdt.core.browser
Class TypeInfo
java.lang.Object
org.eclipse.cdt.core.browser.TypeInfo
- All Implemented Interfaces:
ITypeInfo
- Direct Known Subclasses:
UnknownTypeInfo
- Restriction:
- This class is not intended to be subclassed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.browser.ITypeInfo
KNOWN_TYPES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDerivedReference
(ITypeReference location) Deprecated.void
addReference
(ITypeReference location) Deprecated.boolean
canSubstituteFor
(ITypeInfo info) Deprecated.int
Deprecated.boolean
Deprecated.boolean
exists()
Deprecated.int
Deprecated.Deprecated.Deprecated.getEnclosedTypes
(int[] kinds) Deprecated.getEnclosingNamespace
(boolean includeGlobalNamespace) Deprecated.Deprecated.Deprecated.getEnclosingType
(int[] kinds) Deprecated.getName()
Deprecated.Deprecated.Deprecated.Deprecated.getRootNamespace
(boolean includeGlobalNamespace) Deprecated.Deprecated.getSuperTypeAccess
(ITypeInfo superType) 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.protected boolean
isExactMatch
(ITypeInfo info) boolean
Deprecated.boolean
isReferenced
(ITypeSearchScope scope) Deprecated.boolean
Deprecated.static boolean
isValidType
(int type) Deprecated.void
setCElementType
(int type) Deprecated.
-
Constructor Details
-
TypeInfo
protected TypeInfo()- Since:
- 5.1
-
-
Method Details
-
addReference
Deprecated.- Specified by:
addReference
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getReferences
Deprecated.Description copied from interface:ITypeInfo
Returns the originating locations where this type was declared.- Specified by:
getReferences
in interfaceITypeInfo
- Returns:
- all known source references, or an empty array if none found.
- Restriction:
- This method is not intended to be referenced by clients.
-
getResolvedReference
Deprecated.Description copied from interface:ITypeInfo
Returns the real location where type was declared.- Specified by:
getResolvedReference
in interfaceITypeInfo
- Returns:
- the parsed source reference (with offset and length),
or
null
if not found. - Restriction:
- This method is not intended to be referenced by clients.
-
isReferenced
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isReferenced
Deprecated.- Specified by:
isReferenced
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
isUndefinedType
Deprecated.- Specified by:
isUndefinedType
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
canSubstituteFor
Deprecated.- Specified by:
canSubstituteFor
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
isExactMatch
-
exists
Deprecated. -
getCElementType
Deprecated.Description copied from interface:ITypeInfo
Returns the CElement type.- Specified by:
getCElementType
in interfaceITypeInfo
- Returns:
- ICElement.C_NAMESPACE, C_CLASS, C_STRUCT, C_UNION, C_ENUMERATION, or C_TYPEDEF, or zero if unknown type.
- Restriction:
- This method is not intended to be referenced by clients.
-
setCElementType
Deprecated.- Specified by:
setCElementType
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getQualifiedTypeName
Deprecated.Description copied from interface:ITypeInfo
Returns the qualified type name.- Specified by:
getQualifiedTypeName
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getName
Deprecated.Description copied from interface:ITypeInfo
Returns the type name. -
isEnclosedType
Deprecated.- Specified by:
isEnclosedType
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingType
Deprecated.- Specified by:
getEnclosingType
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingType
Deprecated.- Specified by:
getEnclosingType
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingNamespace
Deprecated.- Specified by:
getEnclosingNamespace
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getRootNamespace
Deprecated.- Specified by:
getRootNamespace
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosingType
Deprecated.- Specified by:
isEnclosingType
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
encloses
Deprecated. -
isEnclosed
Deprecated.- Specified by:
isEnclosed
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
hasEnclosedTypes
Deprecated.- Specified by:
hasEnclosedTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosedTypes
Deprecated.- Specified by:
getEnclosedTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosedTypes
Deprecated.- Specified by:
getEnclosedTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingProject
Deprecated.Description copied from interface:ITypeInfo
Returns the enclosing project.- Specified by:
getEnclosingProject
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosed
Deprecated.- Specified by:
isEnclosed
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
isValidType
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
addDerivedReference
Deprecated.- Specified by:
addDerivedReference
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getDerivedReferences
Deprecated.- Specified by:
getDerivedReferences
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
hasSubTypes
Deprecated.- Specified by:
hasSubTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getSubTypes
Deprecated.- Specified by:
getSubTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
hasSuperTypes
Deprecated.- Specified by:
hasSuperTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getSuperTypes
Deprecated.- Specified by:
getSuperTypes
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
getSuperTypeAccess
Deprecated.- Specified by:
getSuperTypeAccess
in interfaceITypeInfo
- Restriction:
- This method is not intended to be referenced by clients.
-
isClass
Deprecated. -
compareTo
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-