org.dellroad.jc.cgen.analysis
Class ReferenceDetector

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

public class ReferenceDetector
extends AbstractJimpleValueSwitch

Instances of this class detect 'new' expressions of objects that subclass java.lang.ref.Reference. The result is either Boolean.TRUE or Boolean.FALSE.


Constructor Summary
ReferenceDetector()
           
 
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

ReferenceDetector

public ReferenceDetector()
Method Detail

caseNewExpr

public void caseNewExpr(NewExpr v)

defaultCase

public void defaultCase(Object obj)