Class TypeData.BasicType
- java.lang.Object
-
- org.hotswap.agent.javassist.bytecode.stackmap.TypeData
-
- org.hotswap.agent.javassist.bytecode.stackmap.TypeData.BasicType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hotswap.agent.javassist.bytecode.stackmap.TypeData
TypeData.AbsTypeVar, TypeData.ArrayElement, TypeData.ArrayType, TypeData.BasicType, TypeData.ClassName, TypeData.NullType, TypeData.TypeVar, TypeData.UninitData, TypeData.UninitThis, TypeData.UninitTypeVar
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaneq(TypeData d)TypeDatagetArrayType(int dim)chargetDecodedName()StringgetName()intgetTypeData(ConstPool cp)intgetTypeTag()booleanis2WordType()TypeData.BasicTypeisBasicType()If the type is a basic type, this method normalizes the type and returns a BasicType object.TypeDatajoin()voidsetType(String s, ClassPool cp)-
Methods inherited from class org.hotswap.agent.javassist.bytecode.stackmap.TypeData
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, dfs, isNullType, isUninit, make, toString, toTypeVar
-
-
-
-
Constructor Detail
-
BasicType
public BasicType(String type, int tag, char decoded)
-
-
Method Detail
-
getTypeTag
public int getTypeTag()
- Specified by:
getTypeTagin classTypeData
-
getTypeData
public int getTypeData(ConstPool cp)
- Specified by:
getTypeDatain classTypeData
-
isBasicType
public TypeData.BasicType isBasicType()
Description copied from class:TypeDataIf the type is a basic type, this method normalizes the type and returns a BasicType object. Otherwise, it returns null.- Specified by:
isBasicTypein classTypeData
-
is2WordType
public boolean is2WordType()
- Specified by:
is2WordTypein classTypeData
-
getDecodedName
public char getDecodedName()
-
setType
public void setType(String s, ClassPool cp) throws BadBytecode
- Specified by:
setTypein classTypeData- Throws:
BadBytecode
-
getArrayType
public TypeData getArrayType(int dim) throws NotFoundException
- Specified by:
getArrayTypein classTypeData- Parameters:
dim- array dimension. It may be negative.- Throws:
NotFoundException
-
-