TypeData.NullType
, TypeData.UninitData
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
Constructor | Description |
---|---|
ClassName(java.lang.String n) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
eq(TypeData d) |
|
TypeData |
getArrayType(int dim) |
|
java.lang.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(java.lang.String typeName,
ClassPool cp) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, dfs, isNullType, isUninit, join, make, toString, toTypeVar
public TypeData.BasicType isBasicType()
TypeData
isBasicType
in class TypeData
public boolean is2WordType()
is2WordType
in class TypeData
public int getTypeTag()
getTypeTag
in class TypeData
public int getTypeData(ConstPool cp)
getTypeData
in class TypeData
public void setType(java.lang.String typeName, 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 © 2018 Shigeru Chiba, www.javassist.org. All Rights Reserved.