Commit Graph

51 Commits

Author SHA1 Message Date
Roman Shevchenko
29de7ad72e [java decompiler] cleanup (dead code; optimizations; warnings) 2017-12-01 18:24:06 +01:00
Roman Shevchenko
71d8f4d689 [java decompiler] reworks setting/accessing decompiler context 2017-11-28 19:27:36 +01:00
Roman Shevchenko
7521c17aba [java decompiler] updates copyright comment 2017-11-28 12:32:09 +01:00
Egor.Ushakov
601cae8cf8 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
6a7763922b fixed lambda parameter names already used in the context 2017-04-26 20:32:39 +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
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
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
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
Anna.Kozlova
947fae191f explicit types to diamonds 2016-08-08 17:08:03 +02:00
Roman Shevchenko
b96586cc2f [java-decompiler] utility classes reorganized 2016-04-20 14:06:47 +02:00
Roman Shevchenko
857dc4d023 [java-decompiler] unneeded context lookups 2016-04-20 12:55:12 +02:00
Egor.Ushakov
6b5cd853c0 replaced constants with enum 2016-03-28 14:00:25 +03:00
Egor.Ushakov
95215dc2e2 replace increment / decrement synthetic access method, pull-request #373 2016-03-28 14:00:25 +03:00
Egor.Ushakov
1b23240c84 decompiler: fixed SOE if referenced method name is the same as current 2016-03-02 18:28:39 +03:00
Roman Shevchenko
1794156473 [java-decompiler] synthetic inner class constructor parameter filtering (IDEA-147606) 2015-11-11 16:27:01 +01:00
Roman Shevchenko
45a41684e6 [java-decompiler] cleanup (arrays to data classes; formatting; typos; dead code) 2015-11-11 16:25:41 +01:00
Alexey Kudravtsev
32d7924fe0 do not use anonymous threads 2015-06-05 14:53:21 +03:00
Egor.Ushakov
262d580ccc decompiler: cleanup 2015-03-27 12:58:33 +03:00
Egor.Ushakov
ca7e2dfa1c decompiler: cleanup - marked const fields final 2015-03-26 15:28:13 +03:00
Stiver
302a354720 Hiding synthetic fields (IDEA-132625) 2015-03-08 08:43:57 +01:00
Stiver
b3962a09ca Extended option 'dc4' to handle inlined class references (mainly Eclipse). See IDEA-135387 for an example. 2015-03-01 13:51:30 +01:00
Roman Shevchenko
c082dfba98 java-decompiler: more lambdas 2015-02-18 18:03:56 +01:00
Egor.Ushakov
effbed6727 decompiler: extracted <init> and <clinit> to constants 2015-01-26 12:05:19 +03:00
Egor.Ushakov
12457e9a7e do not show warnings for synthetic classes 2015-01-22 12:05:21 +03:00
Egor.Ushakov
5a96486853 decompiler: do not fail on nested lambdas 2014-12-31 15:16:49 +03:00
Roman Shevchenko
472f68f18a java-decompiler: better diagnostic 2014-11-12 12:21:42 +01:00
Roman Shevchenko
85e6caaea1 IDEA-130959 (method and system for interrupting binary decompilers) 2014-11-10 21:59:02 +01:00
Roman Shevchenko
3940565598 IDEA-132625 (decompiler time limit) 2014-11-10 16:59:17 +01:00
Roman Shevchenko
52a7e1c7e9 Cleanup (unused code; formatting; typos) 2014-11-10 16:59:08 +01:00
Roman Shevchenko
89b40fd28a java-decompiler: (var, version) class renamed and made immutable 2014-11-05 12:41:52 +01:00
Roman Shevchenko
82a2939271 java-decompiler: cleanups and fixes
- duplicates eliminated
- immutable fields
- typos
- formatting
2014-11-05 11:07:37 +01:00
Roman Shevchenko
6889e7435a EA-41231 (omit synthetic inner class constructor parameter) 2014-10-14 18:32:15 +02:00
Roman Shevchenko
373ca99e37 Cleanup (formatting; naming) 2014-10-14 15:27:13 +02:00
Roman Shevchenko
d96104bdec Cleanup (formatting) 2014-10-07 21:45:26 +02:00
Roman Shevchenko
ff382a6fdf java-decompiler: fixes and cleanups
- console decompiler: resource closing, lookup instead of scan, error reporting
- logger interface reworked
- saver interface renamed
- bytecode provider returns byte array (to reduce stream leakage)
- extra level of context unit avoided
- unneeded exceptions, dead code, formatting
2014-09-07 14:35:39 +04:00
Roman Shevchenko
686b5abef9 java-decompiler: optimization (empty lists allocation avoided) 2014-09-04 18:41:39 +04:00
Roman Shevchenko
f4f9e8be28 java-decompiler: cleanups
- better signatures
- accurate suppression
- unused symbols
- typos
2014-09-03 13:21:31 +04:00
Roman Shevchenko
2df49d32a7 java-decompiler: fixes and cleanups
- unified attribute loading code
- common methods for checking member flags
- verifying skip()
- correct resource closing
- typos
2014-09-03 11:39:32 +04:00
Roman Shevchenko
984af2e7d0 java-decompiler: post-import cleanup (typos) 2014-09-01 16:08:53 +04:00
Roman Shevchenko
3104531729 java-decompiler: post-import cleanup (explicit defaults for all preferences) 2014-09-01 15:58:46 +04:00
Roman Shevchenko
f5431c3bb1 java-decompiler: post-import cleanup (common fixes and optimizations) 2014-08-29 21:58:12 +04:00
Roman Shevchenko
84ea54eb1e java-decompiler: post-import cleanup (code style issues) 2014-08-29 14:57:29 +04:00
Roman Shevchenko
076e4393f2 java-decompiler: post-import cleanup (formatting and copyright) 2014-08-28 21:34:19 +04:00