use of org.jf.dexlib2.util.AnnotatedBytes in project smali by JesusFreke.
the class EncodedArrayItem method makeAnnotator.
@Nonnull
public static SectionAnnotator makeAnnotator(@Nonnull DexAnnotator annotator, @Nonnull MapItem mapItem) {
return new SectionAnnotator(annotator, mapItem) {
@Nonnull
@Override
public String getItemName() {
return "encoded_array_item";
}
@Override
protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) {
DexReader reader = dexFile.readerAt(out.getCursor());
EncodedValue.annotateEncodedArray(out, reader);
}
};
}
Aggregations