org.dellroad.jc.cgen.analysis
Class FinalizeDetector

java.lang.Object
  extended bysoot.jimple.AbstractJimpleValueSwitch
      extended byorg.dellroad.jc.cgen.analysis.FinalizeDetector
All Implemented Interfaces:
ConstantSwitch, ExprSwitch, JimpleValueSwitch, RefSwitch, Switch

public class FinalizeDetector
extends AbstractJimpleValueSwitch

Instance of this class detect 'new' expressions of objects that override finalize(). The result is either Boolean.TRUE or Boolean.FALSE.


Constructor Summary
FinalizeDetector()
           
 
Method Summary
 void caseNewExpr(NewExpr v)
           
 void defaultCase(Object obj)
           
 
Methods inherited from class soot.jimple.AbstractJimpleValueSwitch
caseAddExpr, caseAndExpr, caseArrayRef, caseCastExpr, caseCaughtExceptionRef, caseCmpExpr, caseCmpgExpr, caseCmplExpr, caseDivExpr, caseDoubleConstant, caseEqExpr, caseFloatConstant, caseGeExpr, caseGtExpr, caseInstanceFieldRef, caseInstanceOfExpr, caseIntConstant, caseInterfaceInvokeExpr, caseLeExpr, caseLengthExpr, caseLocal, caseLongConstant, caseLtExpr, caseMulExpr, caseNeExpr, caseNegExpr, caseNewArrayExpr, caseNewMultiArrayExpr, caseNullConstant, caseOrExpr, caseParameterRef, caseRemExpr, caseShlExpr, caseShrExpr, caseSpecialInvokeExpr, caseStaticFieldRef, caseStaticInvokeExpr, caseStringConstant, caseSubExpr, caseThisRef, caseUshrExpr, caseVirtualInvokeExpr, caseXorExpr, getResult, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FinalizeDetector

public FinalizeDetector()
Method Detail

caseNewExpr

public void caseNewExpr(NewExpr v)

defaultCase

public void defaultCase(Object obj)