/** {@inheritDoc} */ @Override public String toHuman() { return value.toQuoted(); }
/** {@inheritDoc} */ @Override public String toHuman() { return value.toQuoted(); }
/** {@inheritDoc} */ @Override public String toHuman() { return value.toQuoted(); }
/** {@inheritDoc} */ @Override public String toHuman() { return value.toQuoted(); }
/** {@inheritDoc} */ @Override public String toHuman() { return value.toQuoted(); }
/** {@inheritDoc} */ @Override public String cstString() { if (constant instanceof CstString) { return ((CstString) constant).toQuoted(); } return constant.toHuman(); }
/** {@inheritDoc} */ @Override public String cstString() { if (constant instanceof CstString) { return ((CstString) constant).toQuoted(); } return constant.toHuman(); }
/** * Helper method to return the constant string for a {@link CstInsn} * in human form. * * @param insn {@code non-null;} a constant-bearing instruction * @return {@code non-null;} the human string form of the contained * constant */ protected static String cstString(DalvInsn insn) { CstInsn ci = (CstInsn) insn; Constant cst = ci.getConstant(); return cst instanceof CstString ? ((CstString) cst).toQuoted() : cst.toHuman(); }
/** * Helper method to return the constant string for a {@link CstInsn} * in human form. * * @param insn {@code non-null;} a constant-bearing instruction * @return {@code non-null;} the human string form of the contained * constant */ protected static String cstString(DalvInsn insn) { CstInsn ci = (CstInsn) insn; Constant cst = ci.getConstant(); return cst instanceof CstString ? ((CstString) cst).toQuoted() : cst.toHuman(); }
/** {@inheritDoc} */ @Override public String getInlineString() { Constant cst = getConstant(); String constantString = cst.toHuman(); if (cst instanceof CstString) { constantString = ((CstString) cst).toQuoted(); } return constantString + " " + ThrowingInsn.toCatchString(catches); }
/** {@inheritDoc} */ @Override public String getInlineString() { Constant cst = getConstant(); String constantString = cst.toHuman(); if (cst instanceof CstString) { constantString = ((CstString) cst).toQuoted(); } return constantString + " " + ThrowingInsn.toCatchString(catches); }
/** {@inheritDoc} */ @Override public void writeTo(DexFile file, AnnotatedOutput out) { int dataOff = data.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, indexString() + ' ' + value.toQuoted(100)); out.annotate(4, " string_data_off: " + Hex.u4(dataOff)); } out.writeInt(dataOff); }
/** {@inheritDoc} */ @Override public void writeTo(DexFile file, AnnotatedOutput out) { int dataOff = data.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, indexString() + ' ' + value.toQuoted(100)); out.annotate(4, " string_data_off: " + Hex.u4(dataOff)); } out.writeInt(dataOff); }
/** {@inheritDoc} */ @Override public void writeTo(DexFile file, AnnotatedOutput out) { int dataOff = data.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, indexString() + ' ' + value.toQuoted(100)); out.annotate(4, " string_data_off: " + Hex.u4(dataOff)); } out.writeInt(dataOff); }
/** {@inheritDoc} */ @Override public void writeTo(DexFile file, AnnotatedOutput out) { int dataOff = data.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, indexString() + ' ' + value.toQuoted(100)); out.annotate(4, " string_data_off: " + Hex.u4(dataOff)); } out.writeInt(dataOff); }
/** {@inheritDoc} */ @Override public void writeTo(DexFile file, AnnotatedOutput out) { int dataOff = data.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, indexString() + ' ' + value.toQuoted(100)); out.annotate(4, " string_data_off: " + Hex.u4(dataOff)); } out.writeInt(dataOff); }