javassist.bytecode.stackmap
Class TypeData.BasicType

java.lang.Object
  extended by javassist.bytecode.stackmap.TypeData
      extended by javassist.bytecode.stackmap.TypeData.BasicType
Enclosing class:
TypeData

protected static class TypeData.BasicType
extends TypeData

Primitive types.


Nested Class Summary
 
Nested classes/interfaces inherited from class javassist.bytecode.stackmap.TypeData
TypeData.ArrayElement, TypeData.BasicType, TypeData.ClassName, TypeData.NullType, TypeData.TypeName, TypeData.UninitData, TypeData.UninitThis
 
Constructor Summary
TypeData.BasicType(java.lang.String type, int tag)
           
 
Method Summary
 TypeData copy()
           
 boolean equals(java.lang.Object obj)
           
 void evalExpectedType(ClassPool cp)
           
 java.lang.String getExpected()
           
 java.lang.String getName()
           
 int getTypeData(ConstPool cp)
           
 int getTypeTag()
           
 boolean is2WordType()
           
 boolean isObjectType()
           
 void merge(TypeData neighbor)
           
protected  void setType(java.lang.String s, ClassPool cp)
           
 java.lang.String toString()
           
 
Methods inherited from class javassist.bytecode.stackmap.TypeData
getSelf, isNullType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeData.BasicType

public TypeData.BasicType(java.lang.String type,
                          int tag)
Method Detail

merge

public void merge(TypeData neighbor)
Specified by:
merge in class TypeData

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in class TypeData

getTypeTag

public int getTypeTag()
Specified by:
getTypeTag in class TypeData

getTypeData

public int getTypeData(ConstPool cp)
Specified by:
getTypeData in class TypeData

isObjectType

public boolean isObjectType()
Specified by:
isObjectType in class TypeData

is2WordType

public boolean is2WordType()
Overrides:
is2WordType in class TypeData

copy

public TypeData copy()
Specified by:
copy in class TypeData

evalExpectedType

public void evalExpectedType(ClassPool cp)
                      throws BadBytecode
Specified by:
evalExpectedType in class TypeData
Throws:
BadBytecode

getExpected

public java.lang.String getExpected()
                             throws BadBytecode
Specified by:
getExpected in class TypeData
Throws:
BadBytecode

getName

public java.lang.String getName()
Specified by:
getName in class TypeData

setType

protected void setType(java.lang.String s,
                       ClassPool cp)
                throws BadBytecode
Specified by:
setType in class TypeData
Throws:
BadBytecode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.