TypeData.AbsTypeVar, TypeData.ArrayElement, TypeData.ArrayType, TypeData.BasicType, TypeData.ClassName, TypeData.NullType, TypeData.TypeVar, TypeData.UninitData, TypeData.UninitThis, TypeData.UninitTypeVar| Constructor and Description |
|---|
BasicType(String type,
int tag,
char decoded) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
eq(TypeData d) |
TypeData |
getArrayType(int dim) |
char |
getDecodedName() |
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.
|
TypeData |
join() |
void |
setType(String s,
ClassPool cp) |
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, dfs, isNullType, isUninit, make, toString, toTypeVarpublic BasicType(String type, int tag, char decoded)
public int getTypeTag()
getTypeTag in class TypeDatapublic int getTypeData(ConstPool cp)
getTypeData in class TypeDatapublic TypeData.BasicType isBasicType()
TypeDataisBasicType in class TypeDatapublic boolean is2WordType()
is2WordType in class TypeDatapublic char getDecodedName()
public void setType(String s, ClassPool cp) throws BadBytecode
setType in class TypeDataBadBytecodepublic TypeData getArrayType(int dim) throws NotFoundException
getArrayType in class TypeDatadim - array dimension. It may be negative.NotFoundExceptionCopyright © 2016 Shigeru Chiba, www.javassist.org. All Rights Reserved.