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 TypeMethodDescriptionintDepth-first search by Tarjan's algorithmgetArrayType(int dim) getName()booleanIf the type is a basic type, this method normalizes the type and returns a BasicType object.static TypeDatavoidvoid(package private) Stringprotected TypeData.TypeVartoTypeVar(int dim) Returns this if it is a TypeVar or a TypeVar that this type depends on.private static StringMethods inherited from class javassist.bytecode.stackmap.TypeData.AbsTypeVar
eq, getTypeData, getTypeTagMethods 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:
mergein classTypeData.AbsTypeVar
-
getName
-
arrayType
-
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
-
typeName
-
setType
- Specified by:
setTypein classTypeData- Throws:
BadBytecode
-
toTypeVar
Description copied from class:TypeDataReturns 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:
getArrayTypein classTypeData- Parameters:
dim- array dimension. It may be negative.- Throws:
NotFoundException
-
dfs
Description copied from class:TypeDataDepth-first search by Tarjan's algorithm- Overrides:
dfsin classTypeData- Parameters:
order- a node stack in the order in which nodes are visited.index- the index used by the algorithm.- Throws:
NotFoundException
-
toString2
-