Esempio n. 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);
 }
Esempio n. 2
0
 @Override
 public void visit(MonitorExitStatement statement) {
   statement.getObjectRef().acceptVisitor(this);
   statement.setObjectRef(resultExpr);
   resultStmt = statement;
 }