Package cn.wensiqun.asmsupport.operators.util

Examples of cn.wensiqun.asmsupport.operators.util.ThrowExceptionContainer


     */
    public Method(MethodEntity me, IClassContext context, SuperMethodBody methodBody, int mode) {
        super();
        this.me = me;
        this.context = context;
        this.throwExceptions = new ThrowExceptionContainer();
        this.stack = new Stack();
        this.locals = new LocalVariables();
        this.mode = mode;

        CollectionUtils.addAll(throwExceptions, me.getExceptions());
View Full Code Here


    /**
     * 获取所有需要抛出的异常
     * @param block
     */
    private void getThrowExceptionsInProgramBlock(ProgramBlock block){
      ThrowExceptionContainer blockExceptions = block.getThrowExceptions();
      if(blockExceptions != null){
        for(AClass exp : blockExceptions){
          throwExceptions.add(exp);
        }
      }
View Full Code Here

     * 添加抛出的异常到方法签名中
     * @param exception
     */
  public void addException(AClass exception){
    if(throwExceptions == null){
      throwExceptions = new ThrowExceptionContainer();
    }
    throwExceptions.add(exception);
    }
View Full Code Here

    public Try() {
        super();
        start = new Label();
        end = new Label();
        implicitCatchStartLbl = new Label();
        catchedExceptions = new ThrowExceptionContainer();
    }
View Full Code Here

TOP

Related Classes of cn.wensiqun.asmsupport.operators.util.ThrowExceptionContainer

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.