/** * Constructs an instance. * * @param ropper {@code non-null;} ropper controlling this instance * @param method {@code non-null;} method being converted * @param advice {@code non-null;} translation advice to use */ public RopperMachine(Ropper ropper, ConcreteMethod method, TranslationAdvice advice) { super(method.getEffectiveDescriptor()); if (ropper == null) { throw new NullPointerException("ropper == null"); } if (advice == null) { throw new NullPointerException("advice == null"); } this.ropper = ropper; this.method = method; this.advice = advice; this.maxLocals = method.getMaxLocals(); this.insns = new ArrayList<Insn>(25); this.catches = null; this.catchesUsed = false; this.returns = false; this.primarySuccessorIndex = -1; this.extraBlockCount = 0; this.blockCanThrow = false; this.returnOp = null; this.returnPosition = null; }
this.method = method; this.advice = advice; this.maxLocals = method.getMaxLocals(); this.insns = new ArrayList<Insn>(25); this.catches = null;
this.methods = methods; this.advice = advice; this.maxLocals = method.getMaxLocals(); this.insns = new ArrayList<Insn>(25); this.catches = null;
this.methods = methods; this.advice = advice; this.maxLocals = method.getMaxLocals(); this.insns = new ArrayList<Insn>(25); this.catches = null;
this.methods = methods; this.advice = advice; this.maxLocals = method.getMaxLocals(); this.insns = new ArrayList<Insn>(25); this.catches = null;
this.methods = methods; this.advice = advice; this.maxLocals = method.getMaxLocals(); this.insns = new ArrayList<Insn>(25); this.catches = null;
this.blocks = BasicBlocker.identifyBlocks(method); this.maxLabel = blocks.getMaxLabel(); this.maxLocals = method.getMaxLocals(); this.machine = new RopperMachine(this, method, advice); this.sim = new Simulator(machine, method);
this.blocks = BasicBlocker.identifyBlocks(method); this.maxLabel = blocks.getMaxLabel(); this.maxLocals = method.getMaxLocals(); this.machine = new RopperMachine(this, method, advice); this.sim = new Simulator(machine, method);
this.blocks = BasicBlocker.identifyBlocks(method); this.maxLabel = blocks.getMaxLabel(); this.maxLocals = method.getMaxLocals(); this.machine = new RopperMachine(this, method, advice, methods); this.sim = new Simulator(machine, method);
this.blocks = BasicBlocker.identifyBlocks(method); this.maxLabel = blocks.getMaxLabel(); this.maxLocals = method.getMaxLocals(); this.machine = new RopperMachine(this, method, advice, methods); this.sim = new Simulator(machine, method, dexOptions);
this.blocks = BasicBlocker.identifyBlocks(method); this.maxLabel = blocks.getMaxLabel(); this.maxLocals = method.getMaxLocals(); this.machine = new RopperMachine(this, method, advice, methods); this.sim = new Simulator(machine, method);
this.blocks = BasicBlocker.identifyBlocks(method); this.maxLabel = blocks.getMaxLabel(); this.maxLocals = method.getMaxLocals(); this.machine = new RopperMachine(this, method, advice, methods); this.sim = new Simulator(machine, method, dexOptions);