Commit Graph

457 Commits

Author SHA1 Message Date
Alexandru-Constantin Bledea
7abcd1611c [Fernflower] autoboxing primitives should not always be ignored 2017-08-30 12:36:38 +03:00
Roman Shevchenko
1cb16f2614 [vfs] reducing the number of find-local-by-entry API calls 2017-08-21 19:11:13 +02:00
Dmitry Cherniachenko
b6c5562e72 Omit unnecessary unboxing calls in decompiled code 2017-07-10 15:55:33 +03:00
Dmitry Cherniachenko
fca5cc39e0 Fixed narrowing cast from 'int' to 'Byte' / 'Short' 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
998a1ee24b Removed setConstType() from is isBoxingCall() to avoid hidden side effect
Const type is now adjusted correctly also when the target is
java.lang.Character or java.lang.Integer
2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
0848b8cff3 Updated TestPrimitives test to match the source 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
2a7552a764 Fixed conflicts after recent changes in master 2017-07-10 15:55:32 +03:00
Dmitry Cherniachenko
972545ba6d Removed 'Integer.valueOf()' boxing of literals 2017-07-10 15:55:32 +03:00
Roman Shevchenko
a2c4be89f2 Cleanup (unneeded code) 2017-06-08 14:47:52 +03:00
Roman Shevchenko
23b2975e59 Cleanup (escaping and other fixes in decompiler/README.md) 2017-06-08 13:16:39 +03:00
Ben Mintz
5fe9cb2404 README.md: escape * and + 2017-06-04 23:31:03 -05:00
peter
12748d7404 make performance tests cpuBound by default 2017-05-19 09:23:26 +02:00
Egor.Ushakov
a569683f13 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - tests 2017-05-10 17:03:48 +03:00
Egor.Ushakov
2a27913bb3 stabilize tests 2017-05-10 17:03:47 +03:00
Egor.Ushakov
216698b115 do not fail on clinit decompile error 2017-05-10 17:03:47 +03:00
Egor.Ushakov
1f710c5d79 IDEA-172200 Decompiler switch-on-enum multiple switches in same class generates wrong cases for all but the first switch-on-enum 2017-05-05 13:20:07 +03:00
Egor.Ushakov
0518af41bb IDEA-127533 int field is displayed as char - show \n etc as chars 2017-05-04 14:41:36 +03:00
Egor.Ushakov
4f7c4c4cdb IDEA-127533 int field is displayed as char - show only reasonable ascii as chars 2017-05-04 12:53:29 +03:00
Egor.Ushakov
49f9f1a9d3 minor optimization 2017-05-04 12:53:29 +03:00
Egor.Ushakov
6b4c8a58cc speedup: cache zip files in fixture 2017-05-04 12:53:29 +03:00
Egor.Ushakov
bc8005b4d6 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - fixes for IDEA-CR-20517 2017-05-03 15:23:37 +03:00
Egor.Ushakov
4ba7ac15ba create less trash objects 2017-05-02 11:50:21 +03:00
Egor.Ushakov
4e7a2632dd minor cleanup 2017-05-02 11:50:21 +03:00
Egor.Ushakov
dc754cee77 test for super default method call 2017-04-28 12:19:11 +03:00
Egor.Ushakov
b4cb7649ef test for already used var 2017-04-28 12:19:11 +03:00
Egor.Ushakov
99358959db (byte) type cast in constructor calls 2017-04-27 15:34:31 +03:00
Egor.Ushakov
5bd9723aa7 more tests (disabled for now) 2017-04-27 15:34:31 +03:00
Egor.Ushakov
3fbe712c7d IDEA-127533 int field is displayed as char 2017-04-26 21:13:00 +03:00
Egor.Ushakov
8b6389ef73 test for union types 2017-04-26 20:32:39 +03:00
Egor.Ushakov
741b440565 fixed static interface methods 2017-04-26 20:32:39 +03:00
Egor.Ushakov
34b629e02f fixed lambda parameter names already used in the context 2017-04-26 20:32:39 +03:00
Egor.Ushakov
925e44b62f test for class extending a class with a private constructor 2017-04-26 20:32:38 +03:00
Egor.Ushakov
8fd189b488 fixed incorrect constructor method reference 2017-04-26 13:57:24 +03:00
Egor.Ushakov
b942b7e8b2 removed unneeded boxing 2017-04-26 13:57:24 +03:00
Egor.Ushakov
7b91069ac0 IDEA-127499 Decompiler doesn't support switch over enums 2017-04-25 17:42:09 +03:00
Egor.Ushakov
775c5c016b copyright 2017-04-25 17:42:09 +03:00
Egor.Ushakov
a0cdd3eb43 headexprent is always single-element 2017-04-25 12:39:26 +03:00
Egor.Ushakov
016d71a07f toString for debugging 2017-04-25 12:39:25 +03:00
Egor.Ushakov
2b98e8c874 do not collect field names into a separate set 2017-04-25 12:39:25 +03:00
Egor.Ushakov
8f949acec6 minor cleanup: avoid creating empty arrays and unneeded boxing 2017-04-25 12:39:25 +03:00
Dmitry Cherniachenko
8f5910802b Use bootstrap classloader to only provide access to JRE classes 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
ed0554096f Fixed tests after rebasing to the latest master 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
551dbd6b47 Detect external vararg methods too (if available on the classpath) 2017-04-24 16:27:20 +03:00
Dmitry Cherniachenko
3195bb558d Avoid explicit array creation for vararg parameters 2017-04-24 16:27:20 +03:00
Egor.Ushakov
50bae9bd6a minor cleanup and formatting 2017-04-24 15:13:13 +03:00
Oleg Panashchenko
77fc1f176d Use fully qualified static field name in conflict #541 2017-04-24 14:22:41 +03:00
Egor.Ushakov
a00541f7b2 IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower 2017-04-21 20:06:36 +03:00
Egor.Ushakov
5d17472429 do not process vars if there were errors in the method 2017-04-21 19:18:06 +03:00
Egor.Ushakov
f70a1b7e63 reduced memory usage - use HashMap for attributes 2017-04-21 12:12:17 +03:00
Egor.Ushakov
78a21bd9b2 specify the exact collection size when we know 2017-04-21 12:12:17 +03:00