Class TypeData.ClassName
- java.lang.Object
-
- org.hotswap.agent.javassist.bytecode.stackmap.TypeData
-
- org.hotswap.agent.javassist.bytecode.stackmap.TypeData.ClassName
-
- Direct Known Subclasses:
TypeData.NullType,TypeData.UninitData
- Enclosing class:
- TypeData
public static class TypeData.ClassName extends TypeData
Type data for OBJECT.
-
-
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)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.voidsetType(String typeName, ClassPool cp)-
Methods inherited from class org.hotswap.agent.javassist.bytecode.stackmap.TypeData
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, dfs, isNullType, isUninit, join, make, toString, toTypeVar
-
-
-
-
Constructor Detail
-
ClassName
public ClassName(String n)
-
-
Method Detail
-
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
-
getTypeTag
public int getTypeTag()
- Specified by:
getTypeTagin classTypeData
-
getTypeData
public int getTypeData(ConstPool cp)
- Specified by:
getTypeDatain classTypeData
-
setType
public void setType(String typeName, 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
-
-