/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(annotationsOff); } }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { if (out.annotates()) { /* * Re-run the encoder to generate the annotations, * but write the bits from the original encode */ out.annotate(offsetString() + " debug info"); encode(file, null, null, out, true); } out.write(encoded); }
/** {@inheritDoc} */ @Override protected void writeTo0(DexFile file, AnnotatedOutput out) { if (out.annotates()) { out.annotate(0, offsetString() + " call site"); ValueEncoder encoder = new ValueEncoder(file, out); encoder.writeArray(value, true); } else { out.write(encodedForm); } }
/** {@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 offset = data.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, indexString() + ' ' + invokeDynamicRef.toString()); out.annotate(4, "call_site_off: " + Hex.u4(offset)); } out.writeInt(offset); }
/** {@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); }
/** {@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) { CstType type = getDefiningClass(); CstString descriptor = type.getDescriptor(); int idx = file.getStringIds().indexOf(descriptor); if (out.annotates()) { out.annotate(0, indexString() + ' ' + descriptor.toHuman()); out.annotate(4, " descriptor_idx: " + Hex.u4(idx)); } out.writeInt(idx); } }
/** {@inheritDoc} */ public void writeTo(DexFile file, AnnotatedOutput out) { int methodIdx = file.getMethodIds().indexOf(method); int annotationsOff = annotations.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, " " + method.toHuman()); out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(methodIdx); out.writeInt(annotationsOff); }
/** {@inheritDoc} */ public void writeTo(DexFile file, AnnotatedOutput out) { int methodIdx = file.getMethodIds().indexOf(method); int annotationsOff = annotationsItem.getAbsoluteOffset(); if (out.annotates()) { out.annotate(0, " " + method.toHuman()); out.annotate(4, " method_idx: " + Hex.u4(methodIdx)); out.annotate(4, " annotations_off: " + Hex.u4(annotationsOff)); } out.writeInt(methodIdx); out.writeInt(annotationsOff); }