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