Package javassist.bytecode.stackmap
Class TypeData.ArrayElement
java.lang.Object
javassist.bytecode.stackmap.TypeData
javassist.bytecode.stackmap.TypeData.AbsTypeVar
javassist.bytecode.stackmap.TypeData.ArrayElement
- Enclosing class:
TypeData
-
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 TypeMethodDescriptionint
Depth-first search by Tarjan's algorithmgetArrayType
(int dim) getName()
boolean
If the type is a basic type, this method normalizes the type and returns a BasicType object.static TypeData
void
void
(package private) String
protected TypeData.TypeVar
toTypeVar
(int dim) Returns this if it is a TypeVar or a TypeVar that this type depends on.private static String
Methods inherited from class javassist.bytecode.stackmap.TypeData.AbsTypeVar
eq, getTypeData, getTypeTag
Methods inherited from class javassist.bytecode.stackmap.TypeData
aastore, commonSuperClass, commonSuperClassEx, constructorCalled, eq, isNullType, isUninit, join, make, toString
-
Field Details
-
array
-
-
Constructor Details
-
ArrayElement
-
-
Method Details
-
make
- Throws:
BadBytecode
-
merge
- Specified by:
merge
in classTypeData.AbsTypeVar
-
getName
-
arrayType
-
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
-
typeName
-
setType
- Specified by:
setType
in classTypeData
- Throws:
BadBytecode
-
toTypeVar
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(). -
getArrayType
- Specified by:
getArrayType
in classTypeData
- Parameters:
dim
- array dimension. It may be negative.- Throws:
NotFoundException
-
dfs
Description copied from class:TypeData
Depth-first search by Tarjan's algorithm- Overrides:
dfs
in classTypeData
- Parameters:
order
- a node stack in the order in which nodes are visited.index
- the index used by the algorithm.- Throws:
NotFoundException
-
toString2
-