Commit Graph

380 Commits

Author SHA1 Message Date
Egor.Ushakov
5702e5dfdd decompiler: check method names for invalid symbols (mostly for groovy) 2015-01-26 12:05:21 +03: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
12457e9a7e do not show warnings for synthetic classes 2015-01-22 12:05:21 +03:00
Egor.Ushakov
95834d0c75 decompiler: use buffer method 2015-01-22 12:05:20 +03:00
Egor.Ushakov
02e235dcee decompiler: fixed inner class constructor signature decompilation 2015-01-20 18:41:09 +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
41fc5493e2 fixed test 2014-12-26 13:33:45 +03:00
Egor.Ushakov
4ee8ad716d decompiler: major line numbers fixes 2014-12-25 21:37:53 +03:00
Egor.Ushakov
4a6a658b4c decompiler: fixed incorrect line mapping after abstract and native methods 2014-12-24 20:43:29 +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
0b9402bd45 java-decompiler: renamer interface cleaned
- enum instead of magic constants
- typos
2014-11-05 13:57:07 +01:00
Roman Shevchenko
1fde78b6f1 java-decompiler: check for non-existent files 2014-11-05 13:33:13 +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
99404ea6cf decompiler: more correct toString 2014-10-22 18:46:09 +04:00
Egor.Ushakov
92af36f412 decompiler: registry flag to dump original line numbers as comments 2014-10-22 14:50:46 +04: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
47fad13908 decompiler: fixed incorrect line numbers in dumped mapping 2014-10-20 16:05:40 +04:00
Roman Shevchenko
a721490f62 IDEA-127182 (passing line number map to debugger) 2014-10-17 21:35:16 +02:00
Roman Shevchenko
ce721c7acd java-decompiler: test fix 2014-10-17 20:14:28 +02:00
Roman Shevchenko
3199686543 Cleanup (formatting; typos) 2014-10-17 20:14:03 +02:00
Roman Shevchenko
08c4c683a1 java-decompiler: print mapping table only in unit test mode 2014-10-17 18:22:31 +02:00
Roman Shevchenko
2d36ea60eb Cleanup (formatting; typos) 2014-10-17 18:21:37 +02:00
Egor.Ushakov
9b97ae55f8 decompiler: minor optimization - less calculateLines calls 2014-10-17 19:35:08 +04:00
Egor.Ushakov
1a183952b4 decompiler: build original lines mapping 2014-10-17 19:35:07 +04:00
Roman Shevchenko
fdc75e3c80 java-decompiler: build script fixed to not fail too early 2014-10-17 15:22:59 +02:00
Egor.Ushakov
309aca1d29 decompiler: fixed bytecode test 2014-10-17 17:03:13 +04:00
Egor.Ushakov
32e7765874 decompiler: fixed bytecode mapping for anonymous classes 2014-10-17 15:41:55 +04:00
Roman Shevchenko
b3681fe952 Cleanup (test extracted to make option setting per-class instead of per-test) 2014-10-16 13:52:44 +02:00
Stiver
22ceacc969 Unit test 2014-10-16 07:15:08 +02:00