public interface ITypeInfo
Modifier and Type | Field and Description |
---|---|
static int[] |
KNOWN_TYPES |
Modifier and Type | Method and Description |
---|---|
void |
addDerivedReference(ITypeReference location)
Deprecated.
|
void |
addReference(ITypeReference location)
Deprecated.
|
boolean |
canSubstituteFor(ITypeInfo info)
Deprecated.
|
boolean |
encloses(ITypeInfo info)
Deprecated.
|
boolean |
exists()
Deprecated.
|
int |
getCElementType()
Returns the CElement type.
|
ITypeReference[] |
getDerivedReferences()
Deprecated.
|
ITypeInfo[] |
getEnclosedTypes()
Deprecated.
|
ITypeInfo[] |
getEnclosedTypes(int[] kinds)
Deprecated.
|
ITypeInfo |
getEnclosingNamespace(boolean includeGlobalNamespace)
Deprecated.
|
ICProject |
getEnclosingProject()
Returns the enclosing project.
|
ITypeInfo |
getEnclosingType()
Deprecated.
|
ITypeInfo |
getEnclosingType(int[] kinds)
Deprecated.
|
String |
getName()
Returns the type name.
|
IQualifiedTypeName |
getQualifiedTypeName()
Returns the qualified type name.
|
ITypeReference[] |
getReferences()
Returns the originating locations where this type was declared.
|
ITypeReference |
getResolvedReference()
Returns the real location where type was declared.
|
ITypeInfo |
getRootNamespace(boolean includeGlobalNamespace)
Deprecated.
|
ITypeInfo[] |
getSubTypes()
Deprecated.
|
ASTAccessVisibility |
getSuperTypeAccess(ITypeInfo subType)
Deprecated.
|
ITypeInfo[] |
getSuperTypes()
Deprecated.
|
boolean |
hasEnclosedTypes()
Deprecated.
|
boolean |
hasSubTypes()
Deprecated.
|
boolean |
hasSuperTypes()
Deprecated.
|
boolean |
isClass()
Deprecated.
|
boolean |
isEnclosed(ITypeInfo info)
Deprecated.
|
boolean |
isEnclosed(ITypeSearchScope scope)
Deprecated.
|
boolean |
isEnclosedType()
Deprecated.
|
boolean |
isEnclosingType()
Deprecated.
|
boolean |
isReferenced(ITypeSearchScope scope)
Deprecated.
|
boolean |
isUndefinedType()
Deprecated.
|
void |
setCElementType(int type)
Deprecated.
|
int getCElementType()
String getName()
IQualifiedTypeName getQualifiedTypeName()
ITypeReference[] getReferences()
ITypeReference getResolvedReference()
null
if not found.ICProject getEnclosingProject()
@Deprecated void setCElementType(int type)
@Deprecated boolean exists()
@Deprecated boolean isUndefinedType()
@Deprecated boolean isEnclosedType()
@Deprecated ITypeInfo getEnclosingType()
@Deprecated ITypeInfo getEnclosingNamespace(boolean includeGlobalNamespace)
@Deprecated ITypeInfo getEnclosingType(int[] kinds)
@Deprecated ITypeInfo getRootNamespace(boolean includeGlobalNamespace)
@Deprecated boolean isEnclosingType()
@Deprecated boolean hasEnclosedTypes()
@Deprecated boolean encloses(ITypeInfo info)
@Deprecated boolean isEnclosed(ITypeInfo info)
@Deprecated ITypeInfo[] getEnclosedTypes()
@Deprecated ITypeInfo[] getEnclosedTypes(int[] kinds)
@Deprecated boolean isEnclosed(ITypeSearchScope scope)
@Deprecated void addReference(ITypeReference location)
@Deprecated boolean canSubstituteFor(ITypeInfo info)
@Deprecated boolean hasSubTypes()
@Deprecated boolean hasSuperTypes()
@Deprecated ITypeInfo[] getSubTypes()
@Deprecated ITypeInfo[] getSuperTypes()
@Deprecated ASTAccessVisibility getSuperTypeAccess(ITypeInfo subType)
@Deprecated void addDerivedReference(ITypeReference location)
@Deprecated ITypeReference[] getDerivedReferences()
@Deprecated boolean isClass()
@Deprecated boolean isReferenced(ITypeSearchScope scope)
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.