示例#1
0
 @Override
 public void visit(MonitorExitInstruction insn) {
   MonitorExitStatement stmt = new MonitorExitStatement();
   stmt.setLocation(currentLocation);
   stmt.setObjectRef(Expr.var(insn.getObjectRef().getIndex()));
   statements.add(stmt);
 }
示例#2
0
 @Override
 public void visit(MonitorExitStatement statement) {
   statement.getObjectRef().acceptVisitor(this);
   statement.setObjectRef(resultExpr);
   resultStmt = statement;
 }