Commit Graph

571 Commits

Author SHA1 Message Date
Egor Ushakov
22c90745ee IDEA-208443 Java decompiler not correctly decompiling string concatenation with recent Java 2019-03-06 14:23:11 +03:00
Alexander Zolotov
39434c4080 Get rid of idea-version tags in plugins xml
Build scripts set proper values for bundled plugins and plugins for publishing.

Still, it's possible to break the logic if explicit since-build value is not match \d+.\d+ pattern or if until-build is omitted. So it's better to get rid of it at all.
2019-01-28 13:59:36 +03:00
Alexey Kudravtsev
92aa03326d cleanup: make fields final 2019-01-24 17:00:01 +03:00
Tagir Valeev
454c5158a7 Fixed integer multiplication in long context 2019-01-17 16:49:34 +07:00
Roman Shevchenko
1b5ffaea4d [java decompiler] makes the plugin compatible with TempVFS URLs
(that is, on Windows; on UNIX it's not an issue)
2019-01-04 11:19:39 +01:00
Egor Ushakov
76fba73d12 cleanup: remove redundant casts 2018-12-18 19:48:02 +03:00
Egor Ushakov
e9f2b63ccd IDEA-197665 Decompiler decompiles references to static fields inside class incorrectly 2018-12-18 17:33:20 +03:00
md_5
5400af22e8 IDEA-204310: Decompiler adds redundant imports for lambdas 2018-12-18 16:39:18 +03:00
Egor Ushakov
c26b2256eb IDEA-174243 Decompiler Switch-Enum Sugaring Doesn't Support Obfuscated Code 2018-12-17 16:30:53 +03:00
Roman Shevchenko
984dae43b2 [tests] generic vararg decompilation test case (IDEA-204272) 2018-12-17 13:53:04 +01:00
Roman Shevchenko
e0fcccebb8 Cleanup (formatting) 2018-12-17 13:50:41 +01:00
md_5
50ea327601 [IDEA-204272] Fix varargs params losing generic info
Regression introduced in commit 82a2939271c55732637cf921ba447af6caef796b
"java-decompiler: cleanups and fixes"
2018-12-17 13:48:12 +01:00
Egor Ushakov
5429f0d839 IDEA-204223 Decompiler doesn't add mandatory narrowing cast on integer type 2018-12-14 17:57:35 +03:00
Roman Shevchenko
de795732f5 Cleanup (warnings) 2018-10-24 21:17:16 +02:00
Roman Shevchenko
a5fd77df64 Cleanup (warnings; formatting) 2018-10-23 21:18:09 +02:00
Roman Shevchenko
6708101ade [tests] updates Java decompiler test data (follow-up to PR #880) 2018-10-23 21:04:22 +02:00
Roman Shevchenko
5d8448971d Merge PR #880 (https://github.com/JetBrains/intellij-community/pull/880) 2018-10-23 20:59:12 +02:00
Roman Shevchenko
c393be42f4 [tests] extends Java decompiler test data; drops duplicated test 2018-10-19 21:15:30 +02:00
Gregory.Shrago
7890635aff use stubs for Structure TW when selecting lib classes: test 2018-10-17 22:41:33 +03:00
Sergey Ignatov
6c92cfb65a get rid of PlatformTestUtil#assertTreeStructureEquals 2018-10-17 16:03:42 +03:00
Tagir Valeev
5e56b07fb8 Standard Charset object used; other warnings fixed 2018-10-08 15:12:01 +07:00
Anna.Kozlova
c4b7de202d remove redundant suppressions 2018-10-04 12:09:46 +02:00
upnotes
cb3b67f8b9 Handling some cases of obfuscated exception ranges 2018-10-03 17:21:01 +02:00
upnotes
b1e5504d0b Preventing duplicate field access 2018-10-03 17:19:32 +02:00
Alexey Kudravtsev
fd68fe8c9b 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
f9e73f56be 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
4580bf04d9 'Switch' statements with single case converted to 'if', other warnings fixed 2018-10-01 15:45:13 +07:00
Roman Shevchenko
7a493529f9 Cleanup (warnings) 2018-09-28 18:18:36 +02:00
Roman Shevchenko
77928617ea [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
7165361347 Cleanup (test data format) 2018-09-28 17:09:10 +02:00
upnotes
554a8ab1d9 Addressed review comments + additional test 2018-09-28 15:54:51 +02:00
upnotes
99b464368e Deeper sanity checks of inconsistent inner classes (anonymous vs. local) 2018-09-28 15:44:42 +02:00
Egor Ushakov
b0ed8b9f09 cleanup: use typed attribute keys 2018-09-27 15:38:04 +03:00
JDLogic
839e357bb9 Fix short name imports shadowed by super inner classes 2018-09-27 14:52:49 +03:00
Egor Ushakov
96d0748459 cleanup: use hasModifier 2018-09-12 14:29:32 +03:00
JDLogic
04a5747d6e Fix super qualifier for default interfaces #855 2018-09-12 14:23:52 +03:00
nik
0be3657ad0 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
60a6066c63 for -> foreach; generifying; other warning fixes 2018-09-05 20:19:50 +07:00
Vladimir Krivosheev
0e91550e74 add override 2018-08-14 17:49:35 +02:00
Roman Shevchenko
a4d26de648 Cleanup (warnings; formatting; unneeded comments) 2018-08-10 15:21:05 +02:00
Roman Shevchenko
8e26b5f655 Cleanup (test data format) 2018-08-10 15:10:31 +02:00
upnotes
5821f408b3 Addressed review comments + additional test 2018-08-10 15:05:01 +02:00
upnotes
00fd036fbd toString() methods + one old typo 2018-08-10 15:02:21 +02:00
upnotes
88db32efbd Decompilation of synchronized blocks generated by the Kotlin compiler 2018-08-10 15:00:26 +02:00
upnotes
91a45425a3 Hiding default constructor with respect to its access modifiers 2018-08-10 14:59:17 +02:00
Roman Shevchenko
d8ee9a2d23 [tests] includes decompiler engine test data in stub compatibility check 2018-08-10 11:48:35 +02:00
temp1011
361aac314d fix extra semicolon in decompiled empty blocks IDEA-196314 #843 2018-07-31 13:27:51 +03:00
stsypanov
fe722a45c2 improve performance of logical conjunction (IDEA-182226) 2018-07-25 17:47:07 +02:00
Alexey Kudravtsev
2faaf16e26 added missing @Deprecated to find these places later 2018-06-18 13:24:28 +03:00
Alexey Kudravtsev
b10db7eaec replace OpenFileDescriptor with PsiNavigationSupport to reduce dependencies on platform-ide 2018-06-13 15:48:35 +03:00