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
public class TypeInfo extends java.lang.Object implements ITypeInfo
- 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
Constructors Modifier Constructor Description protectedTypeInfo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddDerivedReference(ITypeReference location)Deprecated.voidaddReference(ITypeReference location)Deprecated.booleancanSubstituteFor(ITypeInfo info)Deprecated.intcompareTo(java.lang.Object obj)Deprecated.booleanencloses(ITypeInfo info)Deprecated.booleanexists()Deprecated.intgetCElementType()Deprecated.ITypeReference[]getDerivedReferences()Deprecated.ITypeInfo[]getEnclosedTypes()Deprecated.ITypeInfo[]getEnclosedTypes(int[] kinds)Deprecated.ITypeInfogetEnclosingNamespace(boolean includeGlobalNamespace)Deprecated.ICProjectgetEnclosingProject()Deprecated.ITypeInfogetEnclosingType()Deprecated.ITypeInfogetEnclosingType(int[] kinds)Deprecated.java.lang.StringgetName()Deprecated.IQualifiedTypeNamegetQualifiedTypeName()Deprecated.ITypeReference[]getReferences()Deprecated.ITypeReferencegetResolvedReference()Deprecated.ITypeInfogetRootNamespace(boolean includeGlobalNamespace)Deprecated.ITypeInfo[]getSubTypes()Deprecated.ASTAccessVisibilitygetSuperTypeAccess(ITypeInfo superType)Deprecated.ITypeInfo[]getSuperTypes()Deprecated.booleanhasEnclosedTypes()Deprecated.booleanhasSubTypes()Deprecated.booleanhasSuperTypes()Deprecated.booleanisClass()Deprecated.booleanisEnclosed(ITypeInfo info)Deprecated.booleanisEnclosed(ITypeSearchScope scope)Deprecated.booleanisEnclosedType()Deprecated.booleanisEnclosingType()Deprecated.protected booleanisExactMatch(ITypeInfo info)booleanisReferenced()Deprecated.booleanisReferenced(ITypeSearchScope scope)Deprecated.booleanisUndefinedType()Deprecated.static booleanisValidType(int type)Deprecated.voidsetCElementType(int type)Deprecated.
-
-
-
Method Detail
-
addReference
@Deprecated public void addReference(ITypeReference location)
Deprecated.- Specified by:
addReferencein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getReferences
@Deprecated public ITypeReference[] getReferences()
Deprecated.Description copied from interface:ITypeInfoReturns the originating locations where this type was declared.- Specified by:
getReferencesin 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 public ITypeReference getResolvedReference()
Deprecated.Description copied from interface:ITypeInfoReturns the real location where type was declared.- Specified by:
getResolvedReferencein interfaceITypeInfo- Returns:
- the parsed source reference (with offset and length),
or
nullif not found. - Restriction:
- This method is not intended to be referenced by clients.
-
isReferenced
@Deprecated public boolean isReferenced()
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
isReferenced
@Deprecated public boolean isReferenced(ITypeSearchScope scope)
Deprecated.- Specified by:
isReferencedin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
isUndefinedType
@Deprecated public boolean isUndefinedType()
Deprecated.- Specified by:
isUndefinedTypein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
canSubstituteFor
@Deprecated public boolean canSubstituteFor(ITypeInfo info)
Deprecated.- Specified by:
canSubstituteForin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
isExactMatch
protected boolean isExactMatch(ITypeInfo info)
-
exists
@Deprecated public boolean exists()
Deprecated.
-
getCElementType
@Deprecated public int getCElementType()
Deprecated.Description copied from interface:ITypeInfoReturns the CElement type.- Specified by:
getCElementTypein 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 public void setCElementType(int type)
Deprecated.- Specified by:
setCElementTypein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getQualifiedTypeName
@Deprecated public IQualifiedTypeName getQualifiedTypeName()
Deprecated.Description copied from interface:ITypeInfoReturns the qualified type name.- Specified by:
getQualifiedTypeNamein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getName
@Deprecated public java.lang.String getName()
Deprecated.Description copied from interface:ITypeInfoReturns the type name.
-
isEnclosedType
@Deprecated public boolean isEnclosedType()
Deprecated.- Specified by:
isEnclosedTypein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingType
@Deprecated public ITypeInfo getEnclosingType(int[] kinds)
Deprecated.- Specified by:
getEnclosingTypein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingType
@Deprecated public ITypeInfo getEnclosingType()
Deprecated.- Specified by:
getEnclosingTypein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingNamespace
@Deprecated public ITypeInfo getEnclosingNamespace(boolean includeGlobalNamespace)
Deprecated.- Specified by:
getEnclosingNamespacein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getRootNamespace
@Deprecated public ITypeInfo getRootNamespace(boolean includeGlobalNamespace)
Deprecated.- Specified by:
getRootNamespacein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosingType
@Deprecated public boolean isEnclosingType()
Deprecated.- Specified by:
isEnclosingTypein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
encloses
@Deprecated public boolean encloses(ITypeInfo info)
Deprecated.
-
isEnclosed
@Deprecated public boolean isEnclosed(ITypeInfo info)
Deprecated.- Specified by:
isEnclosedin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
hasEnclosedTypes
@Deprecated public boolean hasEnclosedTypes()
Deprecated.- Specified by:
hasEnclosedTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosedTypes
@Deprecated public ITypeInfo[] getEnclosedTypes()
Deprecated.- Specified by:
getEnclosedTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosedTypes
@Deprecated public ITypeInfo[] getEnclosedTypes(int[] kinds)
Deprecated.- Specified by:
getEnclosedTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getEnclosingProject
@Deprecated public ICProject getEnclosingProject()
Deprecated.Description copied from interface:ITypeInfoReturns the enclosing project.- Specified by:
getEnclosingProjectin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
isEnclosed
@Deprecated public boolean isEnclosed(ITypeSearchScope scope)
Deprecated.- Specified by:
isEnclosedin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
isValidType
@Deprecated public static boolean isValidType(int type)
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
addDerivedReference
@Deprecated public void addDerivedReference(ITypeReference location)
Deprecated.- Specified by:
addDerivedReferencein interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getDerivedReferences
@Deprecated public ITypeReference[] getDerivedReferences()
Deprecated.- Specified by:
getDerivedReferencesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
hasSubTypes
@Deprecated public boolean hasSubTypes()
Deprecated.- Specified by:
hasSubTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getSubTypes
@Deprecated public ITypeInfo[] getSubTypes()
Deprecated.- Specified by:
getSubTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
hasSuperTypes
@Deprecated public boolean hasSuperTypes()
Deprecated.- Specified by:
hasSuperTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getSuperTypes
@Deprecated public ITypeInfo[] getSuperTypes()
Deprecated.- Specified by:
getSuperTypesin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
getSuperTypeAccess
@Deprecated public ASTAccessVisibility getSuperTypeAccess(ITypeInfo superType)
Deprecated.- Specified by:
getSuperTypeAccessin interfaceITypeInfo- Restriction:
- This method is not intended to be referenced by clients.
-
isClass
@Deprecated public boolean isClass()
Deprecated.
-
compareTo
@Deprecated public int compareTo(java.lang.Object obj)
Deprecated.- Restriction:
- This method is not intended to be referenced by clients.
-
-