Maxim Degtyarev
31cff62c94
Fix for IDEABKL-8006 IDE hangs when decompiling class which
...
is its own superclass
GitOrigin-RevId: 1fe14694ce69b135f2e3fe4cde84ce3d42997228
3 years ago
Vladimir Krivosheev
ede143d4bd
use jdk9+ Map.entry API instead of AbstractMap.SimpleImmutableEntry
...
GitOrigin-RevId: bac64af4495e36b044873f6a97625342af907bec
3 years ago
Roman Shevchenko
9cd86f9640
[java decompiler] skipping generated `module-info` statements
...
GitOrigin-RevId: c2f9cfd88f57e7d59cca54ec090f67f29377ff23
3 years ago
Roman Shevchenko
e130aa6896
[java decompiler] supporting `package-info`
...
GitOrigin-RevId: e20e9b802600dec52700065a7a29799c73c1dc49
3 years ago
Roman Shevchenko
37bb6cf4d8
[java decompiler] separating `module-info` sections
...
GitOrigin-RevId: 63c315cd01502cbdd76a1ef2c86b3634ce6250fd
3 years ago
Roman Shevchenko
f40b96ebcf
[java decompiler] minor refactoring + cleanup (duplicates; dependencies; test data layout; typos; formatting)
...
GitOrigin-RevId: 3589e4d8f2dfa8a5096fcf49070bc65ba6734482
3 years ago
leonardosnt
f259b38c72
IDEA-245329: Handle CONSTANT_Module and CONSTANT_Package
...
PR #1406
GitOrigin-RevId: 501d3b66e790316f8ab52606ea4cba41665213c0
3 years ago
Nikolay Chashnikov
e19aab61ce
[java] API cleanup: remove unused API which was deprecated for a long time (IDEA-259329)
...
GitOrigin-RevId: b2f2c85514d360e8d716e6f136f7c11760086f0e
3 years ago
Vladimir Krivosheev
50691f39fb
cleanup (final)
...
GitOrigin-RevId: 69b73056f0c524ad7b6e7c5c2b3a4b58f64feed9
4 years ago
Tagir Valeev
f61e659e58
[java-stubs] Hide synthetic equals/hashCode/toString in records (stubs+decompiler)
...
Makes IDEA-247576 obsolete
Review ID: IJ-CR-2597
GitOrigin-RevId: 4dbb09153b683f2c191d8ba89a3c4ad8c3da038d
4 years ago
Tagir Valeev
1651445c90
[java-decompiler] IDEA-246839 Support java records in decompiler
...
Also: support preview levels in ClsFileImpl
Also fixes: IDEA-247551 Exception on first opening of record .class file
GitOrigin-RevId: 4362d669d1c16b8230d6d8ab803465b6a7476803
4 years ago
Graham
4d46ef6312
Use more deterministic local variable names
...
This commit bases local variable names on the original instruction
index, which produces much more consistent results than the variable
slot/version.
4 years ago
Graham
964f7292a8
Defer refreshVarNames until debug names have been assigned
...
This ensures none of the names collide with a field.
4 years ago
Graham
17c4438d37
Fix renaming variable declarations without assignments
4 years ago
Graham
9addbd6349
Use names from OriginalPcTable earlier during the decompilation process
4 years ago
Graham
eaa8533e74
Use names from MethodParameters earlier during the decompilation process
...
This fixes compatibility with anonymous inner classes.
4 years ago
Graham
b7ff940440
Fix references to parameters renamed with the MethodParameters table
4 years ago
Graham
b3a455fb1a
Relax isExprentIndependent
...
I think the EXPRENT_FIELD condition exists in case the field's
initializer depends on a prior field in the same class.
We already handle this case in the deobfuscator, which ensures fields
appear in exactly the order in which they are first written to in the
<init> and <clinit> methods. (This isn't perfect, as we ignore the
problem of multiple <init> methods writing fields in different orders to
each other, but it seems good enough for the client.)
4 years ago
Graham
19cae4fa08
Pass StructMethod to processBlock()
...
This will allow us to get at the OriginalPcTable.
4 years ago
md_5
4ca282df94
IDEA-204998: Use decompile classes in preference to library classes
...
GitOrigin-RevId: c600f67f720c2b74fe9009bb3dfb91b2dd6e868c
5 years ago
Tagir Valeev
14255d2f89
Extract common parts from 'if'
...
GitOrigin-RevId: 60ebdfdb9588caf907ef111e3ed08e799c0a7d17
5 years ago
Rustam Vishnyakov
e2d2701ca9
EditorConfig documentation test
...
GitOrigin-RevId: fd52ace3d7a32ecd02c2c5ab90e077967604c15e
5 years ago
Egor Zhdan
88db2ab37a
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
5 years ago
Anna Kozlova
a431a3c93e
constructor reference: don't ignore constructor parameters during method reference inference (IDEA-185578)
...
GitOrigin-RevId: e836468e05db28157713e9edd3c70382f8ecdebc
5 years ago
Egor Zhdan
20d0e0f1e5
Cleanup: NotNull/Nullable
...
GitOrigin-RevId: b8e892f32ea84c2115973155dba7127b892cc36e
5 years ago
Aleksey Rostovskiy
89e9a42b63
get rid of intellij.build.toolbox.litegen parameter and use BuildOptions.TOOLBOX_LITE_GEN_STEP to skip it instead
...
GitOrigin-RevId: 9aac8ee4ed1ebf2a29de18a238825fafb1ab88f9
5 years ago
Alexandr Suhinin
d05fff192f
[duplicates] enable duplicates analysis in PyCharm/WebStorm/PhpStorm/RubyMine
...
GitOrigin-RevId: 1545b79fdca4888f4b94f47f22703fd37694fa7a
5 years ago
Anton Makeev
24a695344e
Merge remote-tracking branch 'origin/master' into amakeev/gradle
...
GitOrigin-RevId: f9a633252daf311ecab19002c0f4757052eee9dc
5 years ago
Anton Makeev
c25785846b
Merge branch 'master' into amakeev/gradle
...
# Conflicts:
# community/plugins/gradle/src/org/jetbrains/plugins/gradle/service/settings/IdeaGradleProjectSettingsControlBuilder.java
GitOrigin-RevId: d931e798108685731bf185f7c2e3221680b8e5a2
5 years ago
Anton Makeev
c66c8fc54e
IDEA-210281 Cleanup Gradle settings: separate Runner configurable removed
...
GitOrigin-RevId: adbc39121fe91beb633e125b4cf39bfe0a422e4b
5 years ago
Gregory.Shrago
042f6bd9a7
migrate to StringUtil.toLower/UpperCase, ENGLISH locale
...
GitOrigin-RevId: 3a8627e7aef5991ee840996c6f7f147d1f747a3b
5 years ago
Alexey Kudravtsev
f9c29f0c92
add PECS wildcards to method signatures where necessary and where methods are not overridden by plugins
...
GitOrigin-RevId: 1ec7f1a1aa17d2d4f42e647207323ab8a3138683
5 years ago
Tagir Valeev
eda6ab8d84
Fixed integer multiplication in long context
5 years ago
Egor Ushakov
2c2b00b369
cleanup: remove redundant casts
5 years ago
Roman Shevchenko
e9989d15e3
Cleanup (warnings)
6 years ago
Roman Shevchenko
f8ed069d76
Cleanup (warnings; formatting)
6 years ago
Tagir Valeev
6de5e9717c
Standard Charset object used; other warnings fixed
6 years ago
Anna.Kozlova
7e155e71f2
remove redundant suppressions
6 years ago
upnotes
95cefbcfd2
Handling some cases of obfuscated exception ranges
6 years ago
Alexey Kudravtsev
9891772dec
Use bounded wildcards in API in static methods to make it more conventional and flexible
6 years ago
Roman Shevchenko
c7bdab8b00
Cleanup (warnings)
6 years ago
Roman Shevchenko
89977a8438
[java decompiler] improves anonymous classes verification
...
- puts the check under an option
- uses 'EnclosingMethod' attribute to skip unrelated methods
6 years ago
upnotes
eaa2830596
Addressed review comments + additional test
6 years ago
upnotes
44bfa867e5
Deeper sanity checks of inconsistent inner classes (anonymous vs. local)
6 years ago
Egor Ushakov
290eae5218
cleanup: use typed attribute keys
6 years ago
JDLogic
bc4d142688
Fix short name imports shadowed by super inner classes
6 years ago
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.
6 years ago
Vladimir Krivosheev
8ee7853268
add override
6 years ago
upnotes
6f70918c3b
Addressed review comments + additional test
6 years ago
upnotes
7e98f686c0
Decompilation of synchronized blocks generated by the Kotlin compiler
6 years ago