Commit Graph

325 Commits

Author SHA1 Message Date
Egor.Ushakov
8c440e281c fixed incorrect constructor method reference 2017-04-26 13:57:24 +03:00
Egor.Ushakov
7575bb57de removed unneeded boxing 2017-04-26 13:57:24 +03:00
Egor.Ushakov
a62cc3f709 IDEA-127499 Decompiler doesn't support switch over enums 2017-04-25 17:42:09 +03:00
Egor.Ushakov
2e9dfd2437 copyright 2017-04-25 17:42:09 +03:00
Egor.Ushakov
538418e84a headexprent is always single-element 2017-04-25 12:39:26 +03:00
Egor.Ushakov
cba10744d8 toString for debugging 2017-04-25 12:39:25 +03:00
Egor.Ushakov
5b634ecb4d do not collect field names into a separate set 2017-04-25 12:39:25 +03:00
Egor.Ushakov
2fab291fe1 minor cleanup: avoid creating empty arrays and unneeded boxing 2017-04-25 12:39:25 +03:00
Dmitry Cherniachenko
5de2e5b11b Use bootstrap classloader to only provide access to JRE classes 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
592a24cd85 Fixed tests after rebasing to the latest master 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
94198aa8a5 Detect external vararg methods too (if available on the classpath) 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
dfd90978c9 Avoid explicit array creation for vararg parameters 2017-04-24 16:27:20 +03:00
Egor.Ushakov
d149b53799 minor cleanup and formatting 2017-04-24 15:13:13 +03:00
Oleg Panashchenko
2a213aa4a0 Use fully qualified static field name in conflict #541 2017-04-24 14:22:41 +03:00
Egor.Ushakov
0b442fc64b do not process vars if there were errors in the method 2017-04-21 19:18:06 +03:00
Egor.Ushakov
7041accfe9 reduced memory usage - use HashMap for attributes 2017-04-21 12:12:17 +03:00
Egor.Ushakov
234073efb2 specify the exact collection size when we know 2017-04-21 12:12:17 +03:00
Egor.Ushakov
6fc7ae736a speedup descriptors parsing, avoid using regexp split 2017-04-21 12:12:17 +03:00
Egor.Ushakov
7868c0e83a avoid string concat in a loop 2017-04-20 12:40:31 +03:00
Dmitry Cherniachenko
0a7a60fa7b Add '(byte)' and '(short)' type cast for int literals only in invocation parameters 2017-04-19 11:39:37 +03:00
Dmitry Cherniachenko
7e1cb88fe2 Removed unnecessary boxing of primitive types 2017-04-19 11:39:37 +03:00
Dmitry Cherniachenko
cd1acfa266 IDEA-171459 fix type cast for int literals used as byte / short in decompiled code 2017-04-19 11:39:37 +03:00
Egor.Ushakov
4beda48cf8 IDEABKL-7547 Decompiler fails to rename class which consists of digits only 2017-04-13 20:06:46 +03:00
Tagir Valeev
fdf34d9be2 DataPoint: useless check removed (already handled in previous branch) 2017-04-13 12:47:51 +07:00
Egor.Ushakov
d706718b1b added spaces after if and inside the ternary operator 2017-04-04 17:05:24 +03:00
Egor.Ushakov
e09e303e71 IDEA-169534 Decompiler overuses ternary operation 2017-04-03 17:16:24 +03:00
DMP9
024978848c Fernflower readme markdown 2017-02-11 19:32:41 +00:00
Egor.Ushakov
f53a873116 IDEA-167346 Do not escape single quote in strings 2017-02-07 17:52:08 +03:00
Egor.Ushakov
45384fb8c5 fixed access to private outer class methods with params 2017-01-23 18:40:08 +03:00
Egor.Ushakov
85f61bee81 fixed IdeaDecompilerTest.testStubCompatibility 2017-01-17 21:38:48 +03:00
Egor.Ushakov
6713b9c495 test for anonymous class with params 2017-01-17 21:02:20 +03:00
Egor.Ushakov
9ee45b3f5a cleanup: use streams 2017-01-17 21:02:19 +03:00
Egor.Ushakov
f466a2bc55 more correct variable name in cases where definition is not inside debug name offsets 2017-01-13 21:02:36 +03:00
Egor.Ushakov
0684264b3a IDEA-166073 Extended Width (long, double) constructors cause issues with anonymous classes 2017-01-13 17:58:51 +03:00
Egor.Ushakov
abbf2daf30 use known list size 2017-01-13 17:58:51 +03:00
Egor.Ushakov
5e45e5ac40 IDEA-130708 Incorrect locals names 2017-01-12 16:30:41 +03:00
Egor.Ushakov
6a09fe2524 avoid stream to array copying 2017-01-11 15:14:36 +03:00
Egor.Ushakov
0255eb3ba5 IDEA-149813 Decompiler has lost generic parameter - fixed incorrect warning for lambdas 2017-01-10 18:50:16 +03:00
Egor.Ushakov
cb133af01e IDEA-166363 Support LocalVariableTypeTable attribute 2017-01-10 18:50:16 +03:00
Egor.Ushakov
1d331ddd6d cleanup - use Comparator 2017-01-10 18:50:16 +03:00
Egor.Ushakov
32693c314a IDEA-149813 Decompiler has lost generic parameter 2017-01-10 12:09:26 +03:00
Egor.Ushakov
fe5260df8a IDEA-166101 Imports Added for Classes in Same Package 2017-01-09 17:59:31 +03:00
Vladimir Krivosheev
a7654eb8c9 assertj-core-3.6.1 2016-12-09 13:57:28 +01:00
Egor.Ushakov
7bdec4ffc7 decompiler: a test for the pull request #394 2016-10-14 18:29:00 +03:00
Egor.Ushakov
75e251e427 Merge branch 'assert_throw_in_else_clause' of https://github.com/droid666/intellij-community 2016-10-14 18:23:25 +03:00
Egor.Ushakov
ee83b25d1d IDEA-162579 "Unrecognized invocation of <init>" when decompiling kotlin bytecode 2016-10-14 14:41:26 +03:00
nik
77d6c2906f project configuration: use 'test' scope for assertj library used in tests only 2016-09-14 19:16:52 +03:00
Tagir Valeev
0912e3788c IDEA-CR-13652 filter(Boolean::booleanValue).count() used 2016-09-09 14:51:12 +07:00
Tagir Valeev
bc728c9daf Stream.sum() used (via StreamApiMigrationInspection); cleanup 2016-09-09 12:48:40 +07:00
Anna.Kozlova
947fae191f explicit types to diamonds 2016-08-08 17:08:03 +02:00