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, toTypeVar
public BasicType(String type, int tag, char decoded)
public int getTypeTag()
getTypeTag
in class TypeData
public int getTypeData(ConstPool cp)
getTypeData
in class TypeData
public TypeData.BasicType isBasicType()
TypeData
isBasicType
in class TypeData
public boolean is2WordType()
is2WordType
in class TypeData
public char getDecodedName()
public void setType(String s, ClassPool cp) throws BadBytecode
setType
in class TypeData
BadBytecode
public TypeData getArrayType(int dim) throws NotFoundException
getArrayType
in class TypeData
dim
- array dimension. It may be negative.NotFoundException
Copyright © 2016 Shigeru Chiba, www.javassist.org. All rights reserved.