Ejemplo n.º 1
0
 @Override
 public void visit(MonitorEnterInstruction insn) {
   MonitorEnterStatement stmt = new MonitorEnterStatement();
   stmt.setLocation(currentLocation);
   stmt.setObjectRef(Expr.var(insn.getObjectRef().getIndex()));
   async = false;
   statements.add(stmt);
 }
Ejemplo n.º 2
0
 @Override
 public void visit(MonitorEnterStatement statement) {
   statement.getObjectRef().acceptVisitor(this);
   statement.setObjectRef(resultExpr);
   resultStmt = statement;
 }