method parameter annotations fixed

(annotations table doesn't count implicit parameters)
master
Roman Shevchenko 11 years ago
parent 25bd28a290
commit 5c8ad60f12
  1. 4
      src/de/fernflower/main/ClassWriter.java

@ -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) {

Loading…
Cancel
Save