javassist.bytecode.stackmap
Class TypeData

java.lang.Object
  extended by javassist.bytecode.stackmap.TypeData
Direct Known Subclasses:
TypeData.BasicType, TypeData.TypeName, TypeData.UninitData

public abstract class TypeData
extends java.lang.Object


Nested Class Summary
static class TypeData.ArrayElement
          Type data for OBJECT if the type is an object type and is derived as an element type from an array type by AALOAD.
protected static class TypeData.BasicType
          Primitive types.
static class TypeData.ClassName
          Type data for OBJECT.
static class TypeData.NullType
          Type data for NULL or OBJECT.
protected static class TypeData.TypeName
           
static class TypeData.UninitData
          Type data for UNINIT.
static class TypeData.UninitThis
           
 
Constructor Summary
protected TypeData()
           
 
Method Summary
abstract  TypeData copy()
           
abstract  boolean equals(java.lang.Object obj)
           
abstract  void evalExpectedType(ClassPool cp)
           
abstract  java.lang.String getExpected()
           
abstract  java.lang.String getName()
           
 TypeData getSelf()
           
abstract  int getTypeData(ConstPool cp)
           
abstract  int getTypeTag()
           
 boolean is2WordType()
           
 boolean isNullType()
           
abstract  boolean isObjectType()
           
abstract  void merge(TypeData neighbor)
           
protected abstract  void setType(java.lang.String s, ClassPool cp)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeData

protected TypeData()
Method Detail

merge

public abstract void merge(TypeData neighbor)

equals

public abstract boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getTypeTag

public abstract int getTypeTag()

getTypeData

public abstract int getTypeData(ConstPool cp)

getSelf

public TypeData getSelf()

copy

public abstract TypeData copy()

isObjectType

public abstract boolean isObjectType()

is2WordType

public boolean is2WordType()

isNullType

public boolean isNullType()

getName

public abstract java.lang.String getName()
                                  throws BadBytecode
Throws:
BadBytecode

setType

protected abstract void setType(java.lang.String s,
                                ClassPool cp)
                         throws BadBytecode
Throws:
BadBytecode

evalExpectedType

public abstract void evalExpectedType(ClassPool cp)
                               throws BadBytecode
Throws:
BadBytecode

getExpected

public abstract java.lang.String getExpected()
                                      throws BadBytecode
Throws:
BadBytecode


Copyright © 2011. All Rights Reserved.