Commit Graph

67 Commits

Author SHA1 Message Date
Roman Shevchenko
52b31bf325 [java, java-decompiler] type annotations in class files
Step 1: add top-level field/method/parameter annotations to stubs; include them in decompiled text.
2016-04-21 21:22:36 +02:00
Roman Shevchenko
249903478c Cleanup (test data) 2016-04-21 15:49:29 +02:00
Roman Shevchenko
b366de8eb4 [java-decompiler] unneeded cast around byte/short constants 2016-04-20 19:52:25 +02:00
Roman Shevchenko
4a1a747bdc [java-decompiler] fixes indentation in annotations 2016-04-20 17:58:18 +02:00
Roman Shevchenko
eaa61a1f81 [java-decompiler] skips illegal local variable names 2016-04-20 15:02:39 +02:00
Roman Shevchenko
1ac2304d60 [java-decompiler] fixes enum constant initializer decompilation (IDEA-154547) 2016-04-11 21:43:11 +02:00
Egor.Ushakov
404783c874 decompiler: Setup increment/decrement test properly #376 2016-03-29 17:52:59 +03:00
Egor.Ushakov
95215dc2e2 replace increment / decrement synthetic access method, pull-request #373 2016-03-28 14:00:25 +03:00
Alexandru-Constantin Bledea
0e514a6253 fix constructor arguments for extended inner classes 2016-03-19 20:45:28 +02:00
Roman Shevchenko
93a39b7b50 [java-decompiler] test data cleanup; warnings 2016-03-18 18:02:33 +01:00
Alexandru-Constantin Bledea
1359577355 add additional tests for static initializers 2016-03-17 23:15:54 +02:00
Alexandru-Constantin Bledea
06c993b508 correctly decompile interface object fields 2016-03-17 23:07:32 +02:00
Alexandru-Constantin Bledea
7cf7bec4b6 prevent static field name clashes in local methods 2016-03-15 07:41:25 +02:00
Roman Shevchenko
5795c1d9e0 [tests] test cases added 2016-03-04 15:32:57 +01:00
Egor.Ushakov
876740dd0e decompiler: fixed incorrect method references from single letter classes 2016-03-02 20:45:46 +03:00
Egor.Ushakov
1b23240c84 decompiler: fixed SOE if referenced method name is the same as current 2016-03-02 18:28:39 +03:00
Egor.Ushakov
cb72744cdb removed misplaced test file 2016-03-02 15:42:37 +03:00
Egor.Ushakov
4724fd78a6 IDEA-151950 Decompiler doesn't work for classes from JDK 9 - support java 9 string concatenation 2016-03-01 18:07:55 +03:00
Roman Shevchenko
1794156473 [java-decompiler] synthetic inner class constructor parameter filtering (IDEA-147606) 2015-11-11 16:27:01 +01:00
Roman Shevchenko
26ab681d56 [java-decompiler] cleanup (text rearranging mode dropped) 2015-11-09 20:46:50 +01:00
Alexandru-Constantin Bledea
766fc1390d Decompiler name shadowing resolution
https://github.com/JetBrains/intellij-community/pull/295
2015-09-07 20:44:51 +03:00
Roman Shevchenko
aab87019ef [java-decompiler] common file comparison method extracted; test data updated 2015-09-07 19:23:12 +03:00
Sebastian Zarnekow
e4e72404dc Fixed Fernflower decompiler output for generic nested types (IDEA-141230)
https://github.com/JetBrains/intellij-community/pull/273
2015-06-09 15:35:17 +03:00
Egor.Ushakov
022d552b30 IDEA-140321 Wrong current line highlighting when debugging synchronized block in decompiled code 2015-05-18 18:41:21 +03:00
Egor.Ushakov
44ba5816f2 IDEA-138578 Debugger spuriously jumps to decompiled method signature 2015-04-14 12:33:52 +03:00
Egor.Ushakov
d5e22fe0c9 decompiler: map line number for catch statement 2015-03-26 16:03:59 +03:00
Egor.Ushakov
9ec79b5701 decompiler: line mapping for break and continue 2015-03-25 19:53:52 +03:00
Egor.Ushakov
7e30facd33 decompiler: generate line number matching for return and some other statements 2015-03-25 14:00:10 +03:00
Egor.Ushakov
917c680276 decompiler: better line matching for single block methods 2015-03-25 12:30:07 +03:00
Egor.Ushakov
500f8b12d8 decompiler: map dummy return line to the method closing bracket 2015-03-24 17:58:08 +03:00
Egor.Ushakov
ae2c64a157 tests for IDEA-135314 Inner classes constructors calls decompiled incorrectly 2015-03-02 21:00:57 +03:00
Egor.Ushakov
9ba9af5425 decompiler: provide line numbers mapping inside lambdas 2015-01-22 12:05:26 +03:00
Egor.Ushakov
a74f586e34 decompiler: fixed anonymous class line numbers 2015-01-22 12:05:25 +03:00
Egor.Ushakov
02e235dcee decompiler: fixed inner class constructor signature decompilation 2015-01-20 18:41:09 +03:00
Egor.Ushakov
c254ddd8f2 IDEA-130477 Instance creation of local inner class within static method is not decompiled correctly 2015-01-16 20:49:21 +03:00
Egor.Ushakov
62b876af25 IDEA-129734 IOOBE on decompiling certain method references 2015-01-15 12:56:40 +03:00
Egor.Ushakov
9b32709856 IDEA-131754 Catch and finally blocks have no line information 2015-01-14 14:30:32 +03:00
Egor.Ushakov
5a96486853 decompiler: do not fail on nested lambdas 2014-12-31 15:16:49 +03:00
Egor.Ushakov
41fc5493e2 fixed test 2014-12-26 13:33:45 +03:00
Egor.Ushakov
4ee8ad716d decompiler: major line numbers fixes 2014-12-25 21:37:53 +03:00
Egor.Ushakov
4a6a658b4c decompiler: fixed incorrect line mapping after abstract and native methods 2014-12-24 20:43:29 +03:00
Roman Shevchenko
020f5c404b java-decompiler: extra casts on method calls omitted
(loosely based on https://github.com/JetBrains/intellij-community/pull/217)
2014-11-04 11:32:40 +01:00
Egor.Ushakov
56b3edd3ca decompiler: fixed line mapping in synchronized block 2014-10-21 20:50:43 +04:00
Egor.Ushakov
0d80e663ae decompiler: fixed line mapping in try-catch block 2014-10-21 19:11:17 +04:00
Egor.Ushakov
d00bc545fe IDEA-131658 try-catch-finally is not supported 2014-10-21 18:33:01 +04:00
Egor.Ushakov
0bcd7fba5c decompiler: fixed line mapping for try-catch and nested classes 2014-10-20 18:41:37 +04:00
Egor.Ushakov
47fad13908 decompiler: fixed incorrect line numbers in dumped mapping 2014-10-20 16:05:40 +04:00
Roman Shevchenko
ce721c7acd java-decompiler: test fix 2014-10-17 20:14:28 +02:00
Roman Shevchenko
2d36ea60eb Cleanup (formatting; typos) 2014-10-17 18:21:37 +02:00
Egor.Ushakov
1a183952b4 decompiler: build original lines mapping 2014-10-17 19:35:07 +04:00