mirror of
https://github.com/revanced/smali.git
synced 2025-06-13 04:27:38 +02:00
Store the class annotations
git-svn-id: https://smali.googlecode.com/svn/trunk@357 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
@ -132,7 +132,8 @@ public class AnnotationDirectoryItem extends Item<AnnotationDirectoryItem> {
|
|||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
protected void readItem(Input in, ReadContext readContext) {
|
protected void readItem(Input in, ReadContext readContext) {
|
||||||
readContext.getOffsettedItemByOffset(ItemType.TYPE_ANNOTATION_SET_ITEM, in.readInt());
|
classAnnotations = (AnnotationSetItem)readContext.getOffsettedItemByOffset(ItemType.TYPE_ANNOTATION_SET_ITEM,
|
||||||
|
in.readInt());
|
||||||
fieldAnnotationFields = new FieldIdItem[in.readInt()];
|
fieldAnnotationFields = new FieldIdItem[in.readInt()];
|
||||||
fieldAnnotations = new AnnotationSetItem[fieldAnnotationFields.length];
|
fieldAnnotations = new AnnotationSetItem[fieldAnnotationFields.length];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user