Class RelevantVariableFinder
java.lang.Object
com.ibm.wala.analysis.nullpointer.RelevantVariableFinder
- All Implemented Interfaces:
SSAInstruction.IVisitor
Helper class to find the variable that may be null.
- Author:
- Stephan Gocht
<stephan@gobro.de>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
void
visitArrayLength
(SSAArrayLengthInstruction instruction) void
visitArrayLoad
(SSAArrayLoadInstruction instruction) void
visitArrayStore
(SSAArrayStoreInstruction instruction) void
visitBinaryOp
(SSABinaryOpInstruction instruction) void
visitCheckCast
(SSACheckCastInstruction instruction) void
visitComparison
(SSAComparisonInstruction instruction) void
visitConditionalBranch
(SSAConditionalBranchInstruction instruction) void
visitConversion
(SSAConversionInstruction instruction) void
visitGet
(SSAGetInstruction instruction) void
visitGetCaughtException
(SSAGetCaughtExceptionInstruction instruction) void
visitGoto
(SSAGotoInstruction instruction) void
visitInstanceof
(SSAInstanceofInstruction instruction) void
visitInvoke
(SSAInvokeInstruction instruction) void
visitLoadMetadata
(SSALoadMetadataInstruction instruction) void
visitMonitor
(SSAMonitorInstruction instruction) void
visitNew
(SSANewInstruction instruction) void
visitPhi
(SSAPhiInstruction instruction) void
visitPi
(SSAPiInstruction instruction) void
visitPut
(SSAPutInstruction instruction) void
visitReturn
(SSAReturnInstruction instruction) void
visitSwitch
(SSASwitchInstruction instruction) void
visitThrow
(SSAThrowInstruction instruction) void
visitUnaryOp
(SSAUnaryOpInstruction instruction)
-
Constructor Details
-
RelevantVariableFinder
-
-
Method Details
-
getVarNum
public int getVarNum() -
visitArrayLength
- Specified by:
visitArrayLength
in interfaceSSAInstruction.IVisitor
-
visitArrayLoad
- Specified by:
visitArrayLoad
in interfaceSSAInstruction.IVisitor
-
visitArrayStore
- Specified by:
visitArrayStore
in interfaceSSAInstruction.IVisitor
-
visitBinaryOp
- Specified by:
visitBinaryOp
in interfaceSSAInstruction.IVisitor
-
visitCheckCast
- Specified by:
visitCheckCast
in interfaceSSAInstruction.IVisitor
-
visitComparison
- Specified by:
visitComparison
in interfaceSSAInstruction.IVisitor
-
visitConditionalBranch
- Specified by:
visitConditionalBranch
in interfaceSSAInstruction.IVisitor
-
visitConversion
- Specified by:
visitConversion
in interfaceSSAInstruction.IVisitor
-
visitGet
- Specified by:
visitGet
in interfaceSSAInstruction.IVisitor
-
visitGetCaughtException
- Specified by:
visitGetCaughtException
in interfaceSSAInstruction.IVisitor
-
visitGoto
- Specified by:
visitGoto
in interfaceSSAInstruction.IVisitor
-
visitInstanceof
- Specified by:
visitInstanceof
in interfaceSSAInstruction.IVisitor
-
visitInvoke
- Specified by:
visitInvoke
in interfaceSSAInstruction.IVisitor
-
visitLoadMetadata
- Specified by:
visitLoadMetadata
in interfaceSSAInstruction.IVisitor
-
visitMonitor
- Specified by:
visitMonitor
in interfaceSSAInstruction.IVisitor
-
visitNew
- Specified by:
visitNew
in interfaceSSAInstruction.IVisitor
-
visitPhi
- Specified by:
visitPhi
in interfaceSSAInstruction.IVisitor
-
visitPi
- Specified by:
visitPi
in interfaceSSAInstruction.IVisitor
-
visitPut
- Specified by:
visitPut
in interfaceSSAInstruction.IVisitor
-
visitReturn
- Specified by:
visitReturn
in interfaceSSAInstruction.IVisitor
-
visitSwitch
- Specified by:
visitSwitch
in interfaceSSAInstruction.IVisitor
-
visitThrow
- Specified by:
visitThrow
in interfaceSSAInstruction.IVisitor
-
visitUnaryOp
- Specified by:
visitUnaryOp
in interfaceSSAInstruction.IVisitor
-