/** * Gets the next {@link Dop} in the instruction fitting chain after the * given instance, if any. * * @param opcode {@code non-null;} the opcode * @param options {@code non-null;} options, used to determine * which opcodes are potentially off-limits * @return {@code null-ok;} the next opcode in the same family, in the * chain of opcodes to try, or {@code null} if the given opcode is * the last in its chain */ public static Dop getNextOrNull(Dop opcode, DexOptions options) { int nextOpcode = opcode.getNextOpcode(); if (nextOpcode == Opcodes.NO_NEXT) { return null; } opcode = get(nextOpcode); return opcode; }
/** * Gets the next {@link Dop} in the instruction fitting chain after the * given instance, if any. * * @param opcode {@code non-null;} the opcode * @param options {@code non-null;} options, used to determine * which opcodes are potentially off-limits * @return {@code null-ok;} the next opcode in the same family, in the * chain of opcodes to try, or {@code null} if the given opcode is * the last in its chain */ public static Dop getNextOrNull(Dop opcode, DexOptions options) { int nextOpcode = opcode.getNextOpcode(); if (nextOpcode == Opcodes.NO_NEXT) { return null; } opcode = get(nextOpcode); return opcode; }
/** * Gets the next {@link Dop} in the instruction fitting chain after the * given instance, if any. * * @param opcode {@code non-null;} the opcode * @param options {@code non-null;} options, used to determine * which opcodes are potentially off-limits * @return {@code null-ok;} the next opcode in the same family, in the * chain of opcodes to try, or {@code null} if the given opcode is * the last in its chain */ public static Dop getNextOrNull(Dop opcode, DexOptions options) { int nextOpcode = opcode.getNextOpcode(); if (nextOpcode == Opcodes.NO_NEXT) { return null; } opcode = get(nextOpcode); return opcode; }
/** * Gets the next {@link Dop} in the instruction fitting chain after the * given instance, if any. * * @param opcode {@code non-null;} the opcode * @param options {@code non-null;} options, used to determine * which opcodes are potentially off-limits * @return {@code null-ok;} the next opcode in the same family, in the * chain of opcodes to try, or {@code null} if the given opcode is * the last in its chain */ public static Dop getNextOrNull(Dop opcode, DexOptions options) { int nextOpcode = opcode.getNextOpcode(); if (nextOpcode == Opcodes.NO_NEXT) { return null; } opcode = get(nextOpcode); return opcode; }
opcode = get(nextOpcode);
opcode = get(nextOpcode);
opcode = get(nextOpcode);