Commit Graph

468 Commits

Author SHA1 Message Date
md_5
8b1358fa50 IDEA-204998: Use decompile classes in preference to library classes
GitOrigin-RevId: c600f67f720c2b74fe9009bb3dfb91b2dd6e868c
2019-11-18 22:02:55 +00:00
Tagir Valeev
3e12574595 Extract common parts from 'if'
GitOrigin-RevId: 60ebdfdb9588caf907ef111e3ed08e799c0a7d17
2019-07-25 10:03:44 +03:00
Sergey Ignatov
9d823ad5dd there's no need to use <? extends String>, because String is final
sometimes it's necessary, e.g. when we're substituting any generic with the real type

GitOrigin-RevId: a8c453813b04213f7e24dd80bc7ccec4eb78efcb
2019-07-24 04:32:35 +03:00
Roman Shevchenko
036123ef70 [java-decompiler] fixes versions of test dependencies to make one stupid AI happy (TPV-2349)
GitOrigin-RevId: abc48a40d5911f2a37bf6c6ca35ed230d5f014ac
2019-07-15 15:12:13 +03:00
Rustam Vishnyakov
123242c4b2 EditorConfig documentation test
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
2019-06-16 04:03:21 +03:00
Egor Zhdan
c1813cfb52 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-16 04:02:08 +03:00
Anna Kozlova
91f7445298 constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
2019-06-13 03:15:49 +03:00
Egor Zhdan
39d2d77155 Cleanup: NotNull/Nullable
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
2019-06-13 03:14:35 +03:00
Aleksey Rostovskiy
185284cee6 get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
2019-05-27 15:08:08 +03:00
Alexandr Suhinin
9215f4240b [duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
2019-05-27 15:07:30 +03:00
Anton Makeev
c105e26db3 Merge remote-tracking branch 'origin/master' into amakeev/gradle
GitOrigin-RevId: f9a633252daf311ecab19002c0f4757052eee9dc
2019-05-17 19:13:15 +03:00
Anton Makeev
aa103fd53c Merge branch 'master' into amakeev/gradle
# Conflicts:
#	community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java

GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
2019-05-17 19:11:16 +03:00
Anton Makeev
b54aaf7e4e IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
2019-05-17 19:02:16 +03:00
Gregory.Shrago
edc4790572 migrate to StringUtil.toLower/UpperCase, ENGLISH locale
GitOrigin-RevId: 3a8627e7aef5991ee840996c6f7f147d1f747a3b
2019-05-14 19:06:41 +03:00
Alexey Kudravtsev
44c620df51 add PECS wildcards to method signatures where necessary and where methods are not overridden by plugins
GitOrigin-RevId: 1ec7f1a1aa17d2d4f42e647207323ab8a3138683
2019-05-13 17:06:40 +03:00
Roman Shevchenko
1c7d20587a Merge pull request #1078 (https://github.com/JetBrains/intellij-community/pull/1078) 2019-04-10 23:32:12 +02:00
Artemiy Sartakov
70ccc09b57 IfStatementMissingBreakInLoopInspection: added break if iterations have no effect after condition is met (IDEA-210094) 2019-04-08 18:39:23 +07:00
Leon Linhart
0012dd9259 decompiler: Recognize enum as keyword on Java 5 2019-03-07 17:33:13 +01:00
Egor Ushakov
22c90745ee IDEA-208443 Java decompiler not correctly decompiling string concatenation with recent Java 2019-03-06 14:23:11 +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
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
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