Ilyas Selimov
2c16bcb81e
IDEA-282934 [java-decompiler] - supported the case when the temp pattern variable is in the outer scope
...
GitOrigin-RevId: a00f7d0a99913f01260689b7c970e34df8477cfb
2022-01-20 03:53:15 +00:00
Bart van Helvert
4d73142156
[java-decompiler] IDEA-246757 Add type annotation test for member declarations
...
GitOrigin-RevId: ace0fe0b7f777a6f3e7f230ad11cf0ca4aaf4315
2022-01-12 12:16:55 +00:00
Bart van Helvert
fa405c5386
[java-decompiler] IDEA-246757 Support implements and extends list type annotations
...
GitOrigin-RevId: 249fdf386742c7ff3166ce1afeff7875893cf011
2022-01-12 12:16:39 +00:00
Bart van Helvert
9a9c6561a7
[java-decompiler] IDEA-246757 Support nested type annotation decompilation
...
GitOrigin-RevId: fab9c649483e616b94c4c05fec62ec9c999312fd
2022-01-12 12:16:36 +00:00
Ilyas Selimov
fcadff073f
IDEA-171964 - [decompiler] - enabled test for decompiling ecj bytecode containing switch statement
...
GitOrigin-RevId: 3c86b83a8256db0e74ebdd7017dc0e1aec203491
2022-01-10 14:16:17 +00:00
Bart van Helvert
4b012f2fb0
[java-decompiler] IDEA-246757 Properly annotate generic types
...
GitOrigin-RevId: 275b6c0fb0ee3488d358fcf53c911be2ede689a1
2021-12-30 12:04:40 +00:00
Bart van Helvert
9b24756d90
[java-decompiler] IDEA-246757 Properly annotate array types
...
GitOrigin-RevId: 6a060e6019a2c4d409aa8e806a3f2201f7f0fda7
2021-12-30 12:04:34 +00:00
Ilyas Selimov
187df156f5
IDEA-171964 - [decompiler] - supported switches on string for javac, ecj is in progress yet
...
GitOrigin-RevId: 331779d0ddedb6a66e9cd1fd0cef0a11815ea3c7
2021-12-24 17:29:46 +00:00
Bart van Helvert
7cfa69cd39
[java-decompiler] IJ-CR-18502 Don't decompile common constant variables in own declaration
...
Prevents variables from referencing themselves, for example: `public static final int MIN_VALUE = MIN_VALUE` in `java.lang.Integer`.
GitOrigin-RevId: b415924b4bb752f5b47e5191d6b65d9416f88117
2021-12-13 15:43:46 +00:00
Bart van Helvert
9e22354676
[java-decompiler] IDEA-283990 Support decompiliation to more common constants
...
Adds support for decompiling the following constants:
* Byte.MIN_VALUE, Byte.MAX_VALUE, Short.MIN_VALUE, Short.MAX_VALUE
* Float.MIN_NORMAL, Double.MIN_NORMAL
* Math.PI, Math.E
GitOrigin-RevId: a3f17dc287eef2ce32ede5af50118e131ea3f630
2021-12-10 14:00:50 +00:00
Bart van Helvert
b201e28172
[java-decompiler] IDEA-282931 Support sealed classes decompilation
...
Adds the sealed modifier to decompiled sealed classes and interfaces. Also adds non-sealed modifier when a class isn't final, isn't sealed but exstends or implements a sealed class or interface.
GitOrigin-RevId: 4633fa9c153c8117f300fc1af96040bc3389dccf
2021-12-09 20:07:48 +00:00
Ilyas Selimov
4ec1d74fce
IDEA-282934 - supported pattern variables for instanceof expressions
...
GitOrigin-RevId: 74217f4655209867d0b2deeee0bed8707d31535f
2021-12-09 19:06:18 +00:00
Maxim Degtyarev
128ea3bcf8
Initial support for CONSTANT_Dynamic constant pool entry type
...
- Support for CONSTANT_Dynamic constant pool entry type
- Fail-fast on unknown constant pool entry type
(PR #1560 )
GitOrigin-RevId: 53990c2752281268d99807cdcb0a580cae1d7b75
2021-11-26 01:41:33 +00:00
Roman Shevchenko
a2dc9fd624
[java decompiler] improving debug info application to local variables (IDEA-248623)
...
GitOrigin-RevId: 390d44ecec32d9309a07e24d1100b96faffd2939
2021-11-25 11:05:14 +00:00
coehlrich
0428d4bf4d
[decompiler] Fix the default keyword being added to private interface methods
...
(PR #1840 )
GitOrigin-RevId: 09a6d909d050c171747ffa2a8902d43e19a1c706
2021-11-24 21:43:31 +00:00
Maxim Degtyarev
799677c88c
Fix for IDEA-279024: Incorrect decompilation of indyfied string concatenation in Java 9+
...
(PR #1762 )
GitOrigin-RevId: 351a8cfc10ab19b6d393912ad272b15b75883455
2021-11-24 21:22:02 +00:00
Maxim Degtyarev
967b45a1e8
Optimization: - Avoid invoking inlineJsr() for class files not supporting jsr/jsr_w instructions (Java 7 and above)
...
Separate test case added for try ... finally block implemented via `jsr`/`ret` subroutines
(PR #1567 )
GitOrigin-RevId: 154f52c29d45fb35496fa0bc09db6ff775dce7b8
2021-11-24 20:55:56 +00:00
Roman Shevchenko
f9ab11c836
[java decompiler] test data for int variables merge fix (IDEA-248615; PR #1538 )
...
GitOrigin-RevId: bb5879ea15797cbe681bb63971683b760484b501
2021-11-24 16:50:51 +00:00
Roman Shevchenko
9d9a2fb82d
[java decompiler] correcting MethodParameters attribute handling (IDEA-247575; IDEA-184560; PR #1534 )
...
GitOrigin-RevId: 01b7f2f0d6182b1b5adca61eb7e6f8c5d1ed51e9
2021-11-24 13:27:47 +00:00
Maxim Degtyarev
c89b5c9dca
Fix for IDEABKL-8006 IDE hangs when decompiling class which
...
is its own superclass
GitOrigin-RevId: 1fe14694ce69b135f2e3fe4cde84ce3d42997228
2021-04-15 19:53:53 +03:00
Roman Shevchenko
279c209e61
[java decompiler] skipping generated module-info statements
...
GitOrigin-RevId: c2f9cfd88f57e7d59cca54ec090f67f29377ff23
2021-02-12 20:43:25 +00:00
Roman Shevchenko
2b693591b6
[java decompiler] supporting package-info
...
GitOrigin-RevId: e20e9b802600dec52700065a7a29799c73c1dc49
2021-02-12 11:30:20 +00:00
Roman Shevchenko
3b025d1f08
[java decompiler] minor refactoring + cleanup (duplicates; dependencies; test data layout; typos; formatting)
...
GitOrigin-RevId: 3589e4d8f2dfa8a5096fcf49070bc65ba6734482
2021-02-11 23:07:47 +00:00
leonardosnt
ecbc8ff114
IDEA-245329: Handle CONSTANT_Module and CONSTANT_Package
...
PR #1406
GitOrigin-RevId: 501d3b66e790316f8ab52606ea4cba41665213c0
2021-02-11 11:45:52 +00:00
Tagir Valeev
7f61594082
[java-stubs] Hide synthetic equals/hashCode/toString in records (stubs+decompiler)
...
Makes IDEA-247576 obsolete
Review ID: IJ-CR-2597
GitOrigin-RevId: 4dbb09153b683f2c191d8ba89a3c4ad8c3da038d
2020-08-07 11:09:44 +00:00
Tagir Valeev
10299a7f0f
[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
2020-08-06 07:49:05 +00:00
malte0811
86baadd0a0
Fix incorrect decompilation of inverted floating point comparisons with NaN (IDEA-196302)
...
PR #845
GitOrigin-RevId: 611f4af224e68ff8167f2b62f8366a022adb2054
2020-07-15 20:10:49 +00:00
Egor Ushakov
22c90745ee
IDEA-208443 Java decompiler not correctly decompiling string concatenation with recent Java
2019-03-06 14:23:11 +03:00
Egor Ushakov
e9f2b63ccd
IDEA-197665 Decompiler decompiles references to static fields inside class incorrectly
2018-12-18 17:33:20 +03:00
Roman Shevchenko
984dae43b2
[tests] generic vararg decompilation test case (IDEA-204272)
2018-12-17 13:53:04 +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
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
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
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
JDLogic
839e357bb9
Fix short name imports shadowed by super inner classes
2018-09-27 14:52:49 +03:00
Roman Shevchenko
8e26b5f655
Cleanup (test data format)
2018-08-10 15:10:31 +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
temp1011
361aac314d
fix extra semicolon in decompiled empty blocks IDEA-196314 #843
2018-07-31 13:27:51 +03:00
Maxim Degtyarev
5d01a4b8d7
Fix NPE when decompiling constructor #654
2018-04-27 15:05:22 +03:00
Roman Shevchenko
43c0c6dae8
[java decompiler] corrects test data
2018-01-11 15:39:06 +01:00
Egor Ushakov
999fa7cbd3
fixed synthetic params
2018-01-11 11:24:21 +03:00
Egor Ushakov
67a86a2349
IDEA-184560 Java decompiler doesn't use stored parameter names
2018-01-10 16:28:43 +03:00
Roman Shevchenko
71626277bb
[java decompiler] fixes constructor parameters naming
2017-12-07 15:13:06 +01:00
Roman Shevchenko
3f6ac5e836
[java decompiler] detecting Groovy synthetic constructor parameters
2017-12-07 11:29:51 +01:00
Roman Shevchenko
e9e08fff50
[java decompiler] excludes false inner classes
2017-12-05 12:57:55 +01:00
Alexandru-Constantin Bledea
5b4334ff49
[PATCH] [Fernflower] prevent null to be cast as short/byte
2017-10-25 19:43:03 +03:00