public static class TypeData.TypeVar extends TypeData.AbsTypeVar
TypeData.AbsTypeVar, TypeData.ArrayElement, TypeData.ArrayType, TypeData.BasicType, TypeData.ClassName, TypeData.NullType, TypeData.TypeVar, TypeData.UninitData, TypeData.UninitThis, TypeData.UninitTypeVar| Modifier and Type | Field and Description |
|---|---|
protected String |
fixedType |
protected ArrayList |
lowers |
protected ArrayList |
uppers |
protected ArrayList |
usedBy |
| Constructor and Description |
|---|
TypeData.TypeVar(TypeData t) |
| Modifier and Type | Method and Description |
|---|---|
int |
dfs(ArrayList preOrder,
int index,
ClassPool cp) |
String |
getName() |
int |
getTypeData(ConstPool cp) |
int |
getTypeTag() |
boolean |
is2WordType() |
TypeData.BasicType |
isBasicType()
If the type is a basic type, this method normalizes the type
and returns a BasicType object.
|
boolean |
isNullType()
Returns false if getName() returns a valid type name.
|
boolean |
isUninit() |
void |
merge(TypeData t) |
void |
setType(String typeName,
ClassPool cp) |
protected TypeData.TypeVar |
toTypeVar()
Returns this if it is a TypeVar or a TypeVar that this
type depends on.
|
eqaastore, commonSuperClass, commonSuperClassEx, constructorCalled, join, makeprotected ArrayList lowers
protected ArrayList usedBy
protected ArrayList uppers
protected String fixedType
public TypeData.TypeVar(TypeData t)
public TypeData.BasicType isBasicType()
TypeDataisBasicType in class TypeDatapublic boolean is2WordType()
is2WordType in class TypeDatapublic boolean isNullType()
TypeDataisNullType in class TypeDatapublic void merge(TypeData t)
merge in class TypeData.AbsTypeVarpublic int getTypeTag()
getTypeTag in class TypeData.AbsTypeVarpublic int getTypeData(ConstPool cp)
getTypeData in class TypeData.AbsTypeVarpublic void setType(String typeName, ClassPool cp) throws BadBytecode
setType in class TypeDataBadBytecodeprotected TypeData.TypeVar toTypeVar()
TypeDatapublic int dfs(ArrayList preOrder, int index, ClassPool cp) throws NotFoundException
dfs in class TypeDataNotFoundExceptionCopyright © 2013. All Rights Reserved.