Package javassist.bytecode.stackmap
Class TypeData.BasicType
java.lang.Object
javassist.bytecode.stackmap.TypeData
javassist.bytecode.stackmap.TypeData.BasicType
- Enclosing class:
TypeData
Primitive types.
-
Nested Class Summary
Nested classes/interfaces inherited from class javassist.bytecode.stackmap.TypeData
TypeData.AbsTypeVar, TypeData.ArrayElement, TypeData.ArrayType, TypeData.BasicType, TypeData.ClassName, TypeData.NullType, TypeData.TypeVar, TypeData.UninitData, TypeData.UninitThis, TypeData.UninitTypeVar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getArrayType
(int dim) char
getName()
int
getTypeData
(ConstPool cp) int
boolean
If the type is a basic type, this method normalizes the type and returns a BasicType object.join()
void
(package private) String
Methods inherited from class javassist.bytecode.stackmap.TypeData
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, dfs, eq, isNullType, isUninit, make, toString, toTypeVar
-
Field Details
-
name
-
typeTag
private int typeTag -
decodedName
private char decodedName
-
-
Constructor Details
-
BasicType
-
-
Method Details
-
getTypeTag
public int getTypeTag()- Specified by:
getTypeTag
in classTypeData
-
getTypeData
- Specified by:
getTypeData
in classTypeData
-
join
-
isBasicType
Description copied from class:TypeData
If the type is a basic type, this method normalizes the type and returns a BasicType object. Otherwise, it returns null.- Specified by:
isBasicType
in classTypeData
-
is2WordType
public boolean is2WordType()- Specified by:
is2WordType
in classTypeData
-
eq
-
getName
-
getDecodedName
public char getDecodedName() -
setType
- Specified by:
setType
in classTypeData
- Throws:
BadBytecode
-
getArrayType
- Specified by:
getArrayType
in classTypeData
- Parameters:
dim
- array dimension. It may be negative.- Throws:
NotFoundException
-
toString2
-