Commit Graph

133 Commits

Author SHA1 Message Date
Roman Shevchenko
5424600265 [tests] updates Java decompiler test data (follow-up to PR #880) 2018-10-23 21:04:22 +02:00
Roman Shevchenko
bc3e79bc94 Merge PR #880 (https://github.com/JetBrains/intellij-community/pull/880) 2018-10-23 20:59:12 +02:00
Roman Shevchenko
7656bbdd68 [tests] extends Java decompiler test data; drops duplicated test 2018-10-19 21:15:30 +02:00
upnotes
95cefbcfd2 Handling some cases of obfuscated exception ranges 2018-10-03 17:21:01 +02:00
upnotes
c3ff7141ab Preventing duplicate field access 2018-10-03 17:19:32 +02:00
Roman Shevchenko
866661df29 Cleanup (test data format) 2018-09-28 17:09:10 +02:00
upnotes
eaa2830596 Addressed review comments + additional test 2018-09-28 15:54:51 +02:00
JDLogic
bc4d142688 Fix short name imports shadowed by super inner classes 2018-09-27 14:52:49 +03:00
Roman Shevchenko
b2a6767640 Cleanup (test data format) 2018-08-10 15:10:31 +02:00
upnotes
6f70918c3b Addressed review comments + additional test 2018-08-10 15:05:01 +02:00
upnotes
7e98f686c0 Decompilation of synchronized blocks generated by the Kotlin compiler 2018-08-10 15:00:26 +02:00
upnotes
2431c0fe94 Hiding default constructor with respect to its access modifiers 2018-08-10 14:59:17 +02:00
temp1011
02fdbec132 fix extra semicolon in decompiled empty blocks IDEA-196314 #843 2018-07-31 13:27:51 +03:00
Maxim Degtyarev
a74a9d7d25 Fix NPE when decompiling constructor #654 2018-04-27 15:05:22 +03:00
Egor Ushakov
7310e9e989 fixed line numbers when replacing nested access 2018-02-16 20:20:28 +03:00
Roman Shevchenko
730bf5dfcd [java decompiler] corrects test data 2018-01-11 15:39:06 +01:00
Egor Ushakov
0bb1f6801c fixed synthetic params 2018-01-11 11:24:21 +03:00
Egor Ushakov
6715ecf53d IDEA-184560 Java decompiler doesn't use stored parameter names - fixed param idx 2018-01-10 16:44:01 +03:00
Egor Ushakov
8b9687ed20 IDEA-184560 Java decompiler doesn't use stored parameter names 2018-01-10 16:28:43 +03:00
Roman Shevchenko
af2d8b4d1c [java decompiler] fixes constructor parameters naming 2017-12-07 15:13:06 +01:00
Roman Shevchenko
45486cd4d4 [java decompiler] adds an empty line before local classes 2017-12-07 11:29:51 +01:00
Roman Shevchenko
a3332a5f31 [java decompiler] detecting Groovy synthetic constructor parameters 2017-12-07 11:29:51 +01:00
Roman Shevchenko
acf6646941 [java decompiler] excludes false inner classes 2017-12-05 12:57:55 +01:00
Alexandru-Constantin Bledea
c241278aee [PATCH] [Fernflower] prevent null to be cast as short/byte 2017-10-25 19:43:03 +03:00
Maxim Degtyarev
e7854376b8 [PATCH] Fix POP2 opcode handling bug with two category 1 values at the stack top. 2017-10-18 20:05:39 +03:00
Alexandru-Constantin Bledea
893450cdb3 [Fernflower] autoboxing primitives should not always be ignored 2017-08-30 12:36:38 +03:00
Dmitry Cherniachenko
39db41ee8b Omit unnecessary unboxing calls in decompiled code 2017-07-10 15:55:33 +03:00
Dmitry Cherniachenko
aa78b7df28 Fixed narrowing cast from 'int' to 'Byte' / 'Short' 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
5db9ad29c8 Removed setConstType() from is isBoxingCall() to avoid hidden side effect
Const type is now adjusted correctly also when the target is
java.lang.Character or java.lang.Integer
2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
d382ba2709 Updated TestPrimitives test to match the source 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
9e788b09cb Fixed conflicts after recent changes in master 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
5f292c415c Removed 'Integer.valueOf()' boxing of literals 2017-07-10 15:55:32 +03:00
Egor.Ushakov
adbf29f8ce IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - tests 2017-05-10 17:03:48 +03:00
Egor.Ushakov
17d4894848 IDEA-172200 Decompiler switch-on-enum multiple switches in same class generates wrong cases for all but the first switch-on-enum 2017-05-05 13:20:07 +03:00
Egor.Ushakov
bbc76e7cb4 IDEA-127533 int field is displayed as char - show \n etc as chars 2017-05-04 14:41:36 +03:00
Egor.Ushakov
844177d33e IDEA-127533 int field is displayed as char - show only reasonable ascii as chars 2017-05-04 12:53:29 +03:00
Egor.Ushakov
790027c779 test for super default method call 2017-04-28 12:19:11 +03:00
Egor.Ushakov
645b38d638 test for already used var 2017-04-28 12:19:11 +03:00
Egor.Ushakov
4de826363f (byte) type cast in constructor calls 2017-04-27 15:34:31 +03:00
Egor.Ushakov
997a7747d6 more tests (disabled for now) 2017-04-27 15:34:31 +03:00
Egor.Ushakov
e44ba9905e IDEA-127533 int field is displayed as char 2017-04-26 21:13:00 +03:00
Egor.Ushakov
195dabf6e6 test for union types 2017-04-26 20:32:39 +03:00
Egor.Ushakov
478e6896e9 fixed static interface methods 2017-04-26 20:32:39 +03:00
Egor.Ushakov
6a7763922b fixed lambda parameter names already used in the context 2017-04-26 20:32:39 +03:00
Egor.Ushakov
d40f673689 test for class extending a class with a private constructor 2017-04-26 20:32:38 +03:00
Egor.Ushakov
8c440e281c fixed incorrect constructor method reference 2017-04-26 13:57:24 +03:00
Egor.Ushakov
a62cc3f709 IDEA-127499 Decompiler doesn't support switch over enums 2017-04-25 17:42:09 +03:00
Dmitry Cherniachenko
592a24cd85 Fixed tests after rebasing to the latest master 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
94198aa8a5 Detect external vararg methods too (if available on the classpath) 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
dfd90978c9 Avoid explicit array creation for vararg parameters 2017-04-24 16:27:20 +03:00