public static class TypeData.ClassName extends TypeData
TypeData.AbsTypeVar, TypeData.ArrayElement, TypeData.ArrayType, TypeData.BasicType, TypeData.ClassName, TypeData.NullType, TypeData.TypeVar, TypeData.UninitData, TypeData.UninitThis, TypeData.UninitTypeVar| Modifier and Type | Method and Description |
|---|---|
boolean |
eq(TypeData d) |
TypeData |
getArrayType(int dim) |
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.
|
void |
setType(String typeName,
ClassPool cp) |
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, dfs, isNullType, isUninit, join, make, toString, toTypeVarpublic ClassName(String n)
public TypeData.BasicType isBasicType()
TypeDataisBasicType in class TypeDatapublic boolean is2WordType()
is2WordType in class TypeDatapublic int getTypeTag()
getTypeTag in class TypeDatapublic int getTypeData(ConstPool cp)
getTypeData in class TypeDatapublic void setType(String typeName, 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.