/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Gets the element at the given index. It is an error to call * this with the index for an element which was never set; if you * do that, this will throw {@code NullPointerException}. * * @param n {@code >= 0, < size();} which index * @return {@code non-null;} element at that index */ public Insn get(int n) { return (Insn) get0(n); }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }
/** * Returns an instance that is identical to this one, except that * the registers in each instruction are offset by the given * amount. Mutability of the result is inherited from the * original. * * @param delta the amount to offset register numbers by * @return {@code non-null;} an appropriately-constructed instance */ public InsnList withRegisterOffset(int delta) { int sz = size(); InsnList result = new InsnList(sz); for (int i = 0; i < sz; i++) { Insn one = (Insn) get0(i); if (one != null) { result.set0(i, one.withRegisterOffset(delta)); } } if (isImmutable()) { result.setImmutable(); } return result; } }