Package sootup.core.jimple.visitor
Class ReplaceUseStmtVisitor
java.lang.Object
sootup.core.jimple.visitor.AbstractStmtVisitor
sootup.core.jimple.visitor.ReplaceUseStmtVisitor
- All Implemented Interfaces:
StmtVisitor
,Visitor
Replace old use(Value) of a Stmt with a new use(Value)
- Author:
- Zun Wang
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
caseAssignStmt
(JAssignStmt stmt) void
void
void
void
caseGotoStmt
(JGotoStmt stmt) void
void
caseIfStmt
(JIfStmt stmt) void
caseInvokeStmt
(JInvokeStmt stmt) void
caseNopStmt
(JNopStmt stmt) void
caseRetStmt
(JRetStmt stmt) void
caseReturnStmt
(JReturnStmt stmt) void
void
caseSwitchStmt
(JSwitchStmt stmt) void
caseThrowStmt
(JThrowStmt stmt) void
defaultCaseStmt
(Stmt stmt) protected void
-
Field Details
-
oldUse
-
newUse
-
result
-
-
Constructor Details
-
ReplaceUseStmtVisitor
-
-
Method Details
-
caseBreakpointStmt
- Specified by:
caseBreakpointStmt
in interfaceStmtVisitor
- Overrides:
caseBreakpointStmt
in classAbstractStmtVisitor
-
caseInvokeStmt
- Specified by:
caseInvokeStmt
in interfaceStmtVisitor
- Overrides:
caseInvokeStmt
in classAbstractStmtVisitor
-
caseAssignStmt
- Specified by:
caseAssignStmt
in interfaceStmtVisitor
- Overrides:
caseAssignStmt
in classAbstractStmtVisitor
-
caseIdentityStmt
- Specified by:
caseIdentityStmt
in interfaceStmtVisitor
- Overrides:
caseIdentityStmt
in classAbstractStmtVisitor
-
caseEnterMonitorStmt
- Specified by:
caseEnterMonitorStmt
in interfaceStmtVisitor
- Overrides:
caseEnterMonitorStmt
in classAbstractStmtVisitor
-
caseExitMonitorStmt
- Specified by:
caseExitMonitorStmt
in interfaceStmtVisitor
- Overrides:
caseExitMonitorStmt
in classAbstractStmtVisitor
-
caseGotoStmt
- Specified by:
caseGotoStmt
in interfaceStmtVisitor
- Overrides:
caseGotoStmt
in classAbstractStmtVisitor
-
caseIfStmt
- Specified by:
caseIfStmt
in interfaceStmtVisitor
- Overrides:
caseIfStmt
in classAbstractStmtVisitor
-
caseNopStmt
- Specified by:
caseNopStmt
in interfaceStmtVisitor
- Overrides:
caseNopStmt
in classAbstractStmtVisitor
-
caseRetStmt
- Specified by:
caseRetStmt
in interfaceStmtVisitor
- Overrides:
caseRetStmt
in classAbstractStmtVisitor
-
caseReturnStmt
- Specified by:
caseReturnStmt
in interfaceStmtVisitor
- Overrides:
caseReturnStmt
in classAbstractStmtVisitor
-
caseReturnVoidStmt
- Specified by:
caseReturnVoidStmt
in interfaceStmtVisitor
- Overrides:
caseReturnVoidStmt
in classAbstractStmtVisitor
-
caseSwitchStmt
- Specified by:
caseSwitchStmt
in interfaceStmtVisitor
- Overrides:
caseSwitchStmt
in classAbstractStmtVisitor
-
caseThrowStmt
- Specified by:
caseThrowStmt
in interfaceStmtVisitor
- Overrides:
caseThrowStmt
in classAbstractStmtVisitor
-
defaultCaseStmt
- Specified by:
defaultCaseStmt
in interfaceStmtVisitor
- Overrides:
defaultCaseStmt
in classAbstractStmtVisitor
-
getResult
-
setResult
-