Commit Graph

439 Commits

Author SHA1 Message Date
Roman Shevchenko
fc68a583e4 Merge PR #709 (https://github.com/JetBrains/intellij-community/pull/709) 2018-01-31 12:10:19 +03:00
nik
3d34c78ff6 IDEA project configuration: the great module rename
Rename all modules in IntelliJ IDEA sources to ensure that they follow a consistent naming scheme.

Rename iml files.
2018-01-25 12:59:02 +03:00
Maxim Degtyarev
f720793431 Treat identifiers containing ignorable characters as invalid; Add unit tests for ConverterHelper class. 2018-01-23 23:09:09 +03:00
Alexey Kudravtsev
3b6cb5a931 removed redundant method overriders after "Method is identical to its supermethod" inspection run 2018-01-18 16:28:43 +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
Tagir Valeev
023bb2462a Unnecessary null check before instanceof removed 2018-01-10 13:26:21 +07:00
Roman Shevchenko
4fd89eeb42 [java decompiler] moves TextBuffer into "util" package 2017-12-08 18:04:39 +01:00
Roman Shevchenko
af2d8b4d1c [java decompiler] fixes constructor parameters naming 2017-12-07 15:13:06 +01:00
Roman Shevchenko
e449aeb6fa Cleanup (duplicates; final fields; typos) 2017-12-07 14:02:52 +01:00
Roman Shevchenko
741f9945a8 Cleanup (README formatting) 2017-12-07 11:35:34 +01:00
Roman Shevchenko
5e3eace003 [java decompiler] disabled "synthetic not set" option by default
The option may cause valid constructor parameters to be mislabeled "synthetic" and removed from resulting code.
2017-12-07 11:34:24 +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
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
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
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
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
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