org.dellroad.jc.cgen
Class Util.PrimTypeSwitch

java.lang.Object
  extended bysoot.TypeSwitch
      extended byorg.dellroad.jc.cgen.Util.PrimTypeSwitch
All Implemented Interfaces:
ITypeSwitch, Switch
Enclosing class:
Util

public abstract static class Util.PrimTypeSwitch
extends TypeSwitch

Utility class that passes the appropriate string ("byte", "char", etc.) to the prim() method depending on the primitive type.


Constructor Summary
Util.PrimTypeSwitch()
           
 
Method Summary
 void caseBooleanType(BooleanType t)
           
 void caseByteType(ByteType t)
           
 void caseCharType(CharType t)
           
 void caseDoubleType(DoubleType t)
           
 void caseFloatType(FloatType t)
           
 void caseIntType(IntType t)
           
 void caseLongType(LongType t)
           
 void caseShortType(ShortType t)
           
 void caseVoidType(VoidType t)
           
 void defaultCase(Type t)
           
abstract  void prim(String ptype)
           
 
Methods inherited from class soot.TypeSwitch
caseAnySubType, caseArrayType, caseDefault, caseErroneousType, caseNullType, caseRefType, caseStmtAddressType, caseUnknownType, getResult, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util.PrimTypeSwitch

public Util.PrimTypeSwitch()
Method Detail

caseBooleanType

public void caseBooleanType(BooleanType t)

caseByteType

public void caseByteType(ByteType t)

caseCharType

public void caseCharType(CharType t)

caseShortType

public void caseShortType(ShortType t)

caseIntType

public void caseIntType(IntType t)

caseLongType

public void caseLongType(LongType t)

caseFloatType

public void caseFloatType(FloatType t)

caseDoubleType

public void caseDoubleType(DoubleType t)

caseVoidType

public void caseVoidType(VoidType t)

prim

public abstract void prim(String ptype)

defaultCase

public void defaultCase(Type t)