Package jadx.core.dex.trycatch

Examples of jadx.core.dex.trycatch.TryCatchBlock.addHandler()


      TryCatchBlock tcBlock = new TryCatchBlock();
      catches.add(tcBlock);
      for (int i = 0; i < handler.getAddresses().length; i++) {
        int addr = handler.getAddresses()[i];
        ClassInfo type = ClassInfo.fromDex(parentClass.dex(), handler.getTypeIndexes()[i]);
        tcBlock.addHandler(this, addr, type);
        addrs.add(addr);
        hc++;
      }
      int addr = handler.getCatchAllAddress();
      if (addr >= 0) {
View Full Code Here


        addrs.add(addr);
        hc++;
      }
      int addr = handler.getCatchAllAddress();
      if (addr >= 0) {
        tcBlock.addHandler(this, addr, null);
        addrs.add(addr);
        hc++;
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.