Top Inners Constructors Methods
javassist.bytecode.stackmap

public abstract Class TypeData

extends Object
Class Inheritance
Known Direct Subclasses
javassist.bytecode.stackmap.TypeData.BasicType, javassist.bytecode.stackmap.TypeData.AbsTypeVar, javassist.bytecode.stackmap.TypeData.ClassName
Imports
java.util.ArrayList, .HashSet, .Iterator, .List, .Set, javassist.ClassPool, .CtClass, .NotFoundException, javassist.bytecode.BadBytecode, .ConstPool, .Descriptor, .StackMapTable

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
public static class
public static class
protected static class
TypeData.BasicType

Primitive types.

public static class
TypeData.ClassName

Type data for OBJECT.

public static class
TypeData.NullType

Type data for NULL or OBJECT.

public static class
public static class
TypeData.UninitData

Type data for UNINIT.

public static class
public static class

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
aastore(TypeData array, TypeData value, ClassPool cp)

public static CtClass
commonSuperClass(CtClass one, CtClass two)

Finds the most specific common super class of the given classes.

public static CtClass
commonSuperClassEx(CtClass one, CtClass two)

Finds the most specific common super class of the given classes by considering array types.

public void
constructorCalled(int offset)

public int
dfs(List<TypeData>
a node stack in the order in which nodes are visited.
order
,
int
the index used by the algorithm.
index
,
ClassPool cp)

Depth-first search by Tarjan's algorithm

public abstract boolean
pack-priv static boolean
eq(CtClass one, CtClass two)

public abstract TypeData
getArrayType(int
array dimension. It may be negative.
dim
)

public abstract String
public abstract int
public abstract int
public abstract boolean
public abstract TypeData.BasicType
isBasicType()

If the type is a basic type, this method normalizes the type and returns a BasicType object.

public boolean
isNullType()

Returns false if getName() returns a valid type name.

public boolean
public TypeData
join()

public static TypeData[]
make(int size)

private static void
setType(TypeData td, String
dot-separated name unless the type is an array type.
className
,
ClassPool cp)

Sets the type name of this object type.

public abstract void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

pack-priv abstract String
protected TypeData.TypeVar
toTypeVar(int
dimension
dim
)

Returns this if it is a TypeVar or a TypeVar that this type depends on.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait