method parameter annotations fixed

(annotations table doesn't count implicit parameters)
This commit is contained in:
Roman Shevchenko 2014-05-27 22:19:42 +04:00
parent 25bd28a290
commit 5c8ad60f12

View File

@ -838,8 +838,8 @@ public class ClassWriter {
bufstrwriter.write(", "); bufstrwriter.write(", ");
} }
if(lstParAnn.size() > i) { if(lstParAnn.size() > param_count_explicit) {
List<AnnotationExprent> annotations = lstParAnn.get(i); List<AnnotationExprent> annotations = lstParAnn.get(param_count_explicit);
for(int j=0;j<annotations.size();j++) { for(int j=0;j<annotations.size();j++) {
AnnotationExprent annexpr = annotations.get(j); AnnotationExprent annexpr = annotations.get(j);
if(annexpr.getAnnotationType() == AnnotationExprent.ANNOTATION_NORMAL) { if(annexpr.getAnnotationType() == AnnotationExprent.ANNOTATION_NORMAL) {