Commit Graph

50 Commits

Author SHA1 Message Date
Stiver
e85e4c8e6e Fixed 'IDEA-132625: IDEA hangs when decompiling a class' 2015-02-16 08:23:02 +01:00
Egor.Ushakov
531a1d5477 decompiler: lazy create bytecodes set 2015-01-26 12:05:20 +03:00
Egor.Ushakov
effbed6727 decompiler: extracted <init> and <clinit> to constants 2015-01-26 12:05:19 +03:00
Egor.Ushakov
9ba9af5425 decompiler: provide line numbers mapping inside lambdas 2015-01-22 12:05:26 +03:00
Egor.Ushakov
a74f586e34 decompiler: fixed anonymous class line numbers 2015-01-22 12:05:25 +03:00
Egor.Ushakov
0bba28eded decompiler: inner exprent list could be modified 2015-01-22 12:05:22 +03:00
Egor.Ushakov
95834d0c75 decompiler: use buffer method 2015-01-22 12:05:20 +03:00
Egor.Ushakov
c254ddd8f2 IDEA-130477 Instance creation of local inner class within static method is not decompiled correctly 2015-01-16 20:49:21 +03:00
Egor.Ushakov
62b876af25 IDEA-129734 IOOBE on decompiling certain method references 2015-01-15 12:56:40 +03:00
Egor.Ushakov
768f82b798 avoid using Arrays.asList for a single element 2015-01-14 21:17:33 +03:00
Egor.Ushakov
e54dc7d531 IDEA-126885 Decompiler exception on jdk.nashorn.internal.objects.Global 2015-01-14 20:57:37 +03:00
Egor.Ushakov
9b32709856 IDEA-131754 Catch and finally blocks have no line information 2015-01-14 14:30:32 +03:00
Egor.Ushakov
5a96486853 decompiler: do not fail on nested lambdas 2014-12-31 15:16:49 +03:00
Egor.Ushakov
f4e6c8d56f IDEA-134902 NPE during decompilation 2014-12-31 14:44:39 +03:00
Egor.Ushakov
4ee8ad716d decompiler: major line numbers fixes 2014-12-25 21:37:53 +03:00
Roman Shevchenko
0b9402bd45 java-decompiler: renamer interface cleaned
- enum instead of magic constants
- typos
2014-11-05 13:57:07 +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
020f5c404b java-decompiler: extra casts on method calls omitted
(loosely based on https://github.com/JetBrains/intellij-community/pull/217)
2014-11-04 11:32:40 +01:00
Roman Shevchenko
38f1a1a9ee Cleanup (unneeded variable) 2014-10-24 21:49:02 +02:00
Roman Shevchenko
c64b0aaa10 Cleanup (formatting) 2014-10-24 21:46:41 +02:00
Egor.Ushakov
eb3db8dc8b decompiler: use more TextBuffer methods 2014-10-21 21:10:54 +04:00
Egor.Ushakov
56b3edd3ca decompiler: fixed line mapping in synchronized block 2014-10-21 20:50:43 +04:00
Egor.Ushakov
0d80e663ae decompiler: fixed line mapping in try-catch block 2014-10-21 19:11:17 +04:00
Egor.Ushakov
d00bc545fe IDEA-131658 try-catch-finally is not supported 2014-10-21 18:33:01 +04:00
Egor.Ushakov
0bcd7fba5c decompiler: fixed line mapping for try-catch and nested classes 2014-10-20 18:41:37 +04:00
Egor.Ushakov
32e7765874 decompiler: fixed bytecode mapping for anonymous classes 2014-10-17 15:41:55 +04:00
Stiver
c975f11ecc Activated bytecode-to-source mapping for all instructions 2014-10-15 06:26:49 +02:00
Roman Shevchenko
6889e7435a EA-41231 (omit synthetic inner class constructor parameter) 2014-10-14 18:32:15 +02:00
Egor.Ushakov
46c36636bc decompiler: track lines in anonymous classes as well 2014-10-13 12:27:15 +04:00
Egor.Ushakov
7bb0f5ba7e decompiler: for now disabled line numbers in inner classes 2014-10-10 13:57:32 +04:00
Roman Shevchenko
d96104bdec Cleanup (formatting) 2014-10-07 21:45:26 +02:00
Egor.Ushakov
125441a88f decompiler: move generated lines as it is stated in debug line table (disabled for now) 2014-10-07 20:39:03 +04:00
Stiver
9f9da912f6 Fixed some errors in line counting 2014-10-07 07:31:22 +02:00
Stiver
9723ab4475 Propagated bytecode-to-source tracer 2014-10-06 04:27:26 +02:00
Stiver
f735cbc7ea Started work on mapping bytecode instructions to source code lines 2014-10-01 07:00:11 +02:00
Roman Shevchenko
91c64c5a94 Cleanup (loop invariant optimization; formatting) 2014-09-29 17:16:42 +02:00
Stiver
4638144fad Fixing migration errors: refactoring of processStatementLabel() reverted as it introduced incorrect logic changes 2014-09-28 09:14:59 +02:00
Roman Shevchenko
a4054817d2 EA-60512 (better logging) 2014-09-16 17:29:40 +04: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
1cea85e49a java-decompiler: optimization (less string buffer allocations on generating text) 2014-09-04 14:33:34 +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
646f1c3f21 java-decompiler: hide synthetic field assignment 2014-09-03 12:52:55 +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
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
Roman Shevchenko
663631f045 java-decompiler: post-import cleanup (classes moved) 2014-08-28 20:52:43 +04:00