diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-27 22:19:42 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-05-27 22:19:42 +0400 |
commit | 5c8ad60f127695f89721a5c97663bb2c37ef2835 (patch) | |
tree | 6916c1aa3395f5c4a36828ec4033a9d8cac0dc58 /src | |
parent | 25bd28a290170260865e2ca07565cf096bc4e7d3 (diff) | |
download | fernflower-5c8ad60f127695f89721a5c97663bb2c37ef2835.tar fernflower-5c8ad60f127695f89721a5c97663bb2c37ef2835.tar.gz fernflower-5c8ad60f127695f89721a5c97663bb2c37ef2835.tar.lz fernflower-5c8ad60f127695f89721a5c97663bb2c37ef2835.tar.xz fernflower-5c8ad60f127695f89721a5c97663bb2c37ef2835.zip |
method parameter annotations fixed
(annotations table doesn't count implicit parameters)
Diffstat (limited to 'src')
-rw-r--r-- | src/de/fernflower/main/ClassWriter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/de/fernflower/main/ClassWriter.java b/src/de/fernflower/main/ClassWriter.java index 9f52dda..656a478 100644 --- a/src/de/fernflower/main/ClassWriter.java +++ b/src/de/fernflower/main/ClassWriter.java @@ -838,8 +838,8 @@ public class ClassWriter { bufstrwriter.write(", "); } - if(lstParAnn.size() > i) { - List<AnnotationExprent> annotations = lstParAnn.get(i); + if(lstParAnn.size() > param_count_explicit) { + List<AnnotationExprent> annotations = lstParAnn.get(param_count_explicit); for(int j=0;j<annotations.size();j++) { AnnotationExprent annexpr = annotations.get(j); if(annexpr.getAnnotationType() == AnnotationExprent.ANNOTATION_NORMAL) { |