Package javassist.bytecode.stackmap
Class TypeData.UninitTypeVar
- java.lang.Object
-
- javassist.bytecode.stackmap.TypeData
-
- javassist.bytecode.stackmap.TypeData.AbsTypeVar
-
- javassist.bytecode.stackmap.TypeData.UninitTypeVar
-
- Enclosing class:
- TypeData
public static class TypeData.UninitTypeVar extends TypeData.AbsTypeVar
-
-
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
-
-
Constructor Summary
Constructors Constructor Description UninitTypeVar(TypeData.UninitData t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
constructorCalled(int offset)
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.boolean
isUninit()
TypeData
join()
void
merge(TypeData t)
int
offset()
void
setType(java.lang.String s, ClassPool cp)
(package private) java.lang.String
toString2(java.util.HashSet set)
protected TypeData.TypeVar
toTypeVar(int dim)
Returns this if it is a TypeVar or a TypeVar that this type depends on.-
Methods inherited from class javassist.bytecode.stackmap.TypeData
aastore, commonSuperClass, commonSuperClassEx, dfs, eq, isNullType, make, toString
-
-
-
-
Field Detail
-
type
protected TypeData type
-
-
Constructor Detail
-
UninitTypeVar
public UninitTypeVar(TypeData.UninitData t)
-
-
Method Detail
-
getTypeTag
public int getTypeTag()
- Overrides:
getTypeTag
in classTypeData.AbsTypeVar
-
getTypeData
public int getTypeData(ConstPool cp)
- Overrides:
getTypeData
in classTypeData.AbsTypeVar
-
isBasicType
public TypeData.BasicType 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
public boolean eq(TypeData d)
- Overrides:
eq
in classTypeData.AbsTypeVar
-
toTypeVar
protected TypeData.TypeVar toTypeVar(int dim)
Description copied from class:TypeData
Returns this if it is a TypeVar or a TypeVar that this type depends on. Otherwise, this method returns null. It is used by dfs().
-
setType
public void setType(java.lang.String s, ClassPool cp) throws BadBytecode
- Specified by:
setType
in classTypeData
- Throws:
BadBytecode
-
merge
public void merge(TypeData t)
- Specified by:
merge
in classTypeData.AbsTypeVar
-
constructorCalled
public void constructorCalled(int offset)
- Overrides:
constructorCalled
in classTypeData
-
offset
public int offset()
-
getArrayType
public TypeData getArrayType(int dim) throws NotFoundException
- Specified by:
getArrayType
in classTypeData
- Parameters:
dim
- array dimension. It may be negative.- Throws:
NotFoundException
-
-