Package cn.wensiqun.asmsupport

Examples of cn.wensiqun.asmsupport.Executeable


        mb.addTryCatchInfo(excetpionStart, excetpionEnd, excetpionStart, null);
  }

  @Override
  public void executing() {
        Executeable returnInsn = null;
       
    lock.loadToStack(this);
    for (Executeable e : getExecuteQueue()) {
      if(e.equals(flag1)){
        //e.execute();
        insnHelper.monitorEnter();
        insnHelper.mark(monitorenter);
        continue;
      }else if(e instanceof Return){
        returnInsn = e;
        break;
      }
     
      e.execute();
    }

    dupSynArgument.loadToStack(this);
    insnHelper.monitorExit();
    insnHelper.mark(monitorexit);
    insnHelper.goTo(returnLbl);
   
        //for exception
    insnHelper.nop();
    insnHelper.mark(excetpionStart);
    dupSynArgument.loadToStack(this);
    insnHelper.monitorExit();
    insnHelper.getMv().getStack().push(AClass.THROWABLE_ACLASS.getType());
    insnHelper.mark(excetpionEnd);
    insnHelper.throwException();
   
    insnHelper.mark(returnLbl);
    if(returnInsn != null){
      returnInsn.execute();
    }
  }
View Full Code Here

TOP

Related Classes of cn.wensiqun.asmsupport.Executeable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.