Commit Graph

163 Commits

Author SHA1 Message Date
nik
21a80957bb cleanup: remove 'public' modifier from constructors in non-public classes (IDEA-195931)
public constructors in non-public classes may be confusing, and removing them makes code shorter.
2018-09-06 16:49:46 +03:00
Vladimir Krivosheev
8ee7853268 add override 2018-08-14 17:49:35 +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
Alexey Kudravtsev
43fec2e7bb added missing @Deprecated to find these places later 2018-06-18 13:24:28 +03:00
Egor Ushakov
c4f23b9a16 cleanup: spelling 2018-05-21 15:50:54 +03:00
Egor Ushakov
ba0e24955d inverted option for IDEA-CR-32210 2018-05-17 19:12:39 +03:00
Egor Ushakov
8be977e76c decompiler: do not fail on the invalid bytecode in IDEA 2018-04-27 15:05:22 +03:00
Tagir Valeev
7c8e64da81 StandardCharsets used where possible; try-with-resources used; cleanup 2018-03-14 16:03:32 +07:00
Roman Shevchenko
6f30e387cf [java decompiler] unnecessary rethrow (IDEA-187608; EA-81800)
No need to propagate ThreadDeath here - the thread is going to finish anyway.
2018-03-08 13:33:07 +01:00
Roman Shevchenko
95aa1ae2f0 Cleanup (warnings; formatting) 2018-03-08 11:46:00 +01:00
Roman Shevchenko
2393cd9aa8 [java decompiler] restores plugin compatibility 2018-03-07 08:34:30 +01:00
Roman Shevchenko
429b667031 [java decompiler] restores thread-conscious context access (EA-116270) 2018-03-06 17:17:29 +01:00
Egor Ushakov
8415f8e6f5 cleanup: use putIfAbsent 2018-02-16 21:03:13 +03:00
Egor Ushakov
7310e9e989 fixed line numbers when replacing nested access 2018-02-16 20:20:28 +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
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
7521c17aba [java decompiler] updates copyright comment 2017-11-28 12:32:09 +01:00
Egor Ushakov
97ff04b51c fixed line numbers in case of decompile error 2017-10-25 21:13: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
e44ba9905e IDEA-127533 int field is displayed as char 2017-04-26 21:13:00 +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
8c440e281c fixed incorrect constructor method reference 2017-04-26 13:57:24 +03:00
Egor.Ushakov
cba10744d8 toString for debugging 2017-04-25 12:39:25 +03:00
Egor.Ushakov
5b634ecb4d do not collect field names into a separate set 2017-04-25 12:39:25 +03:00
Egor.Ushakov
d149b53799 minor cleanup and formatting 2017-04-24 15:13:13 +03:00
Oleg Panashchenko
2a213aa4a0 Use fully qualified static field name in conflict #541 2017-04-24 14:22:41 +03:00
Egor.Ushakov
0b442fc64b do not process vars if there were errors in the method 2017-04-21 19:18:06 +03:00
Egor.Ushakov
7041accfe9 reduced memory usage - use HashMap for attributes 2017-04-21 12:12:17 +03:00
Egor.Ushakov
45384fb8c5 fixed access to private outer class methods with params 2017-01-23 18:40:08 +03:00
Egor.Ushakov
85f61bee81 fixed IdeaDecompilerTest.testStubCompatibility 2017-01-17 21:38:48 +03:00
Egor.Ushakov
9ee45b3f5a cleanup: use streams 2017-01-17 21:02:19 +03:00
Egor.Ushakov
f466a2bc55 more correct variable name in cases where definition is not inside debug name offsets 2017-01-13 21:02:36 +03:00