Missed writing some fields

git-svn-id: https://smali.googlecode.com/svn/trunk@390 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-08-11 04:52:38 +00:00
parent 5240d96f41
commit 0cd5e5258b

View File

@ -200,6 +200,9 @@ public class AnnotationDirectoryItem extends Item<AnnotationDirectoryItem> {
}
out.writeInt(classAnnotations==null?0:classAnnotations.getOffset());
out.writeInt(fieldAnnotations.length);
out.writeInt(methodAnnotations.length);
out.writeInt(parameterAnnotations.length);
for (int i=0; i<fieldAnnotations.length; i++) {
out.writeInt(fieldAnnotationFields[i].getIndex());