org.dellroad.jc.cgen.escape
Class KnownSizeDetector.SizeTypeSwitch

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

public static class KnownSizeDetector.SizeTypeSwitch
extends TypeSwitch

Computes the size in bytes of an instance of a type.

See Also:
KnownSizeDetector.size()

Constructor Summary
KnownSizeDetector.SizeTypeSwitch()
           
 
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 defaultCase(Type t)
           
 
Methods inherited from class soot.TypeSwitch
caseAnySubType, caseArrayType, caseDefault, caseErroneousType, caseNullType, caseRefType, caseStmtAddressType, caseUnknownType, caseVoidType, getResult, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnownSizeDetector.SizeTypeSwitch

public KnownSizeDetector.SizeTypeSwitch()
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)

caseFloatType

public void caseFloatType(FloatType t)

caseLongType

public void caseLongType(LongType t)

caseDoubleType

public void caseDoubleType(DoubleType t)

defaultCase

public void defaultCase(Type t)