Commit Graph

439 Commits

Author SHA1 Message Date
Roman Shevchenko
e9989d15e3 Cleanup (warnings) 2018-10-24 21:17:16 +02:00
Roman Shevchenko
f8ed069d76 Cleanup (warnings; formatting) 2018-10-23 21:18:09 +02:00
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
Tagir Valeev
6de5e9717c Standard Charset object used; other warnings fixed 2018-10-08 15:12:01 +07:00
Anna.Kozlova
7e155e71f2 remove redundant suppressions 2018-10-04 12:09:46 +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
Alexey Kudravtsev
5650f57ad2 Use bounded wildcards in API in constructors/final methods to make it more conventional and flexible 2018-10-02 14:24:09 +03:00
Alexey Kudravtsev
9891772dec Use bounded wildcards in API in static methods to make it more conventional and flexible 2018-10-01 13:44:57 +03:00
Tagir Valeev
32674967de 'Switch' statements with single case converted to 'if', other warnings fixed 2018-10-01 15:45:13 +07:00
Roman Shevchenko
c7bdab8b00 Cleanup (warnings) 2018-09-28 18:18:36 +02:00
Roman Shevchenko
89977a8438 [java decompiler] improves anonymous classes verification
- puts the check under an option
- uses 'EnclosingMethod' attribute to skip unrelated methods
2018-09-28 18:17:53 +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
upnotes
44bfa867e5 Deeper sanity checks of inconsistent inner classes (anonymous vs. local) 2018-09-28 15:44:42 +02:00
Egor Ushakov
290eae5218 cleanup: use typed attribute keys 2018-09-27 15:38:04 +03:00
JDLogic
bc4d142688 Fix short name imports shadowed by super inner classes 2018-09-27 14:52:49 +03:00
Egor Ushakov
0a29a0a8df cleanup: use hasModifier 2018-09-12 14:29:32 +03:00
JDLogic
b53c895399 Fix super qualifier for default interfaces #855 2018-09-12 14:23:52 +03:00
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
Tagir Valeev
d42689b205 for -> foreach; generifying; other warning fixes 2018-09-05 20:19:50 +07:00
Vladimir Krivosheev
8ee7853268 add override 2018-08-14 17:49:35 +02:00
Roman Shevchenko
9669276a3e Cleanup (warnings; formatting; unneeded comments) 2018-08-10 15:21:05 +02: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
1af631be9d toString() methods + one old typo 2018-08-10 15:02:21 +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
stsypanov
8824c20cbb improve performance of logical conjunction (IDEA-182226) 2018-07-25 17:47:07 +02:00
Alexey Kudravtsev
43fec2e7bb added missing @Deprecated to find these places later 2018-06-18 13:24:28 +03:00
Egor Ushakov
c5a0dc3acb more descriptive exception for IDEA-CR-32210 2018-05-21 16:07:46 +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
Maxim Degtyarev
a74a9d7d25 Fix NPE when decompiling constructor #654 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
38f01f009a Merge remote-tracking branch 'origin/master' 2018-03-06 22:12:31 +01:00
Roman Shevchenko
429b667031 [java decompiler] restores thread-conscious context access (EA-116270) 2018-03-06 17:17:29 +01:00
Roman Shevchenko
bc55d8d9ec [java decompiler] changes feedback address in README 2018-03-06 17:10:28 +01:00
Tagir Valeev
6759c476ef CleanUp: redundant String operation fixes applied 2018-03-01 13:13:39 +07: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
Roman Ivanov
4a790b1c7c Apply common if parts inspection 2018-02-02 10:41:44 +07:00
Roman Shevchenko
60a161f0e3 Cleanup (simplifies test setup; formatting) 2018-01-31 12:18:37 +03:00