Commit Graph

483 Commits

Author SHA1 Message Date
Roman Shevchenko
a3332a5f31 [java decompiler] detecting Groovy synthetic constructor parameters 2017-12-07 11:29:51 +01:00
Roman Shevchenko
f83c480383 [java decompiler] better filter for synthetic constructor parameters 2017-12-06 12:20:13 +01:00
Roman Shevchenko
b3171e60c9 [java decompiler] cleanup (duplicates; dead code; typos; formatting) 2017-12-06 11:58:46 +01:00
Roman Shevchenko
acf6646941 [java decompiler] excludes false inner classes 2017-12-05 12:57:55 +01:00
Roman Shevchenko
93429bc8a5 Cleanup (formatting; typos) 2017-12-04 14:44:19 +01:00
Roman Shevchenko
149d7ee681 [java decompiler] reverts incorrect optimization 2017-12-04 14:43:17 +01:00
Roman Shevchenko
bb913e6814 [java decompiler] fixes NPE in import collector 2017-12-01 20:17:20 +01:00
Roman Shevchenko
29de7ad72e [java decompiler] cleanup (dead code; optimizations; warnings) 2017-12-01 18:24:06 +01:00
Roman Shevchenko
71d8f4d689 [java decompiler] reworks setting/accessing decompiler context 2017-11-28 19:27:36 +01:00
Roman Shevchenko
fbc3165138 [java decompiler] updates Gradle project 2017-11-28 15:42:02 +01:00
Roman Shevchenko
7521c17aba [java decompiler] updates copyright comment 2017-11-28 12:32:09 +01:00
Roman Shevchenko
6bcc6a511f Cleanup (warning; formatting) 2017-11-28 12:30:01 +01:00
Nicholas Sherlock
fda661d76d FernFlower: Rename classes whose filenames will exceed 255 characters 2017-11-24 22:29:47 +13:00
UniquePassive
9c9f936896 Output ints instead of chars for numbers in array sizes 2017-11-01 22:10:02 +01:00
Egor Ushakov
97ff04b51c fixed line numbers in case of decompile error 2017-10-25 21:13:29 +03: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
Adam
548ec54346 Merge pull request #1 from UniquePassive/issue-151
Replace char primitives with integer values
2017-10-17 18:47:23 -04:00
UniquePassive
bb2efb2f16 Output ints rather than chars for numbers in ternary operators 2017-10-17 17:48:16 +02:00
Maxim Degtyarev
faaab500e3 RESERVED_WINDOWS_NAMESPACE contains duplicate entries of aux and doesn't contain con which is reserved name too. 2017-10-15 08:18:07 +03:00
UniquePassive
c7bfae7450 Output ints rather than chars for numbers in additions/substractions too 2017-10-15 01:50:14 +02:00
Unknown
7dc01f9a55 IDEA-127533 int field is displayed as char - show \n etc as chars 2017-10-14 22:37:03 +02:00
Unknown
e6b0c48866 IDEA-127533 int field is displayed as char - show only reasonable ascii as chars 2017-10-14 22:36:03 +02:00
Unknown
a94daf713e IDEA-127533 int field is displayed as char 2017-10-14 22:25:20 +02:00
Roman Shevchenko
d594bab7cd [java-decompiler] adds Gradle wrapper 2017-09-27 17:48:13 +02:00
Roman Shevchenko
d85e0a6561 [java-decompiler] migrates to Gradle
Simplifies CI (the outer IDEA project no longer bundles JUnit and AssertJ .jars).
2017-09-27 16:23:05 +02:00
Tagir Valeev
7f63baab37 Collections.addAll applied; some more warnings fixed 2017-09-27 16:07:55 +07: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
Adam
0f7a14bf7b InitializerProcessor: enable static initializers on enums 2017-06-16 21:45:17 -04:00
Roman Shevchenko
40c4d82996 Cleanup (escaping and other fixes in decompiler/README.md) 2017-06-08 13:16:39 +03:00
Ben Mintz
fd792b711d README.md: escape * and + 2017-06-04 23:31:03 -05: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
1f0d42ba0d stabilize tests 2017-05-10 17:03:47 +03:00
Egor.Ushakov
4da62061d9 do not fail on clinit decompile error 2017-05-10 17:03:47 +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
1c0cad79c6 minor optimization 2017-05-04 12:53:29 +03:00
Egor.Ushakov
e9ab081201 speedup: cache zip files in fixture 2017-05-04 12:53:29 +03:00
Egor.Ushakov
601cae8cf8 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - fixes for IDEA-CR-20517 2017-05-03 15:23:37 +03:00
Egor.Ushakov
6354fc1211 create less trash objects 2017-05-02 11:50:21 +03:00
Egor.Ushakov
af80a017ae minor cleanup 2017-05-02 11:50:21 +03:00
Adam
9dd59158e1 InitializerProcessor: disable static and dynamic initializers
This makes it harder for the mapper since it can't look at
initialization order of field initializers. This also causes the
initialization order of fields to be dependent on the order they are in
the class file, which can produce broken code. See IDEA-172187.
2017-04-30 10:08:12 -04:00
Egor.Ushakov
790027c779 test for super default method call 2017-04-28 12:19:11 +03:00