Commit Graph

86 Commits

Author SHA1 Message Date
Roman Shevchenko
b366de8eb4 [java-decompiler] unneeded cast around byte/short constants 2016-04-20 19:52:25 +02:00
Roman Shevchenko
a00952f338 Cleanup (formatting) 2016-04-20 19:38:01 +02:00
Roman Shevchenko
df19689f2b Cleanup (formatting) 2016-04-20 18:36:49 +02:00
Roman Shevchenko
4a1a747bdc [java-decompiler] fixes indentation in annotations 2016-04-20 17:58:18 +02:00
Roman Shevchenko
eaa61a1f81 [java-decompiler] skips illegal local variable names 2016-04-20 15:02:39 +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
Roman Shevchenko
77dc5c5f1e [java-decompiler] dead code 2016-04-20 12:35:33 +02:00
Roman Shevchenko
a57e42690b Cleanup (duplicates extracted; formatting; typos) 2016-04-11 20:32:26 +02:00
Egor.Ushakov
081a208a6a reasonalble toString for easier debugging 2016-03-28 14:00:25 +03:00
Roman Shevchenko
96ff7f787e Cleanup (formatting; typos) 2016-03-21 12:26:50 +01:00
Alexandru-Constantin Bledea
0e514a6253 fix constructor arguments for extended inner classes 2016-03-19 20:45:28 +02:00
Christopher Carpenter
c32fce0d02 Fixed a typo in a comment and in a method name. Made ClassWriter.invokeProcessors static since it no longer relies on any non-static fields. 2016-03-16 17:23:23 +01:00
Alexandru-Constantin Bledea
7cf7bec4b6 prevent static field name clashes in local methods 2016-03-15 07:41:25 +02:00
Roman Shevchenko
cfe1448b2b Cleanup (unneeded anonymous classes) 2016-03-03 13:46:23 +01:00
Roman Shevchenko
ba16ca4dfc [java decompiler] engine target level set back to Java 6 2016-03-01 17:44:35 +01:00
Egor.Ushakov
4724fd78a6 IDEA-151950 Decompiler doesn't work for classes from JDK 9 - support java 9 string concatenation 2016-03-01 18:07:55 +03:00
Egor.Ushakov
f128515325 IDEA-151950 Decompiler doesn't work for classes from JDK 9 2016-02-29 16:22:42 +03:00
Christopher Carpenter
233a1547a0 [Fernflower] When using -ren=1, make the default renamer rename classes that have names that are reserved by the windows namespace. 2016-02-02 22:40:00 -05:00
Roman Shevchenko
811494ccb2 [java decompiler] "new" expression writer optimization 2015-12-29 11:06:09 +01:00
Roman Shevchenko
45a41684e6 [java-decompiler] cleanup (arrays to data classes; formatting; typos; dead code) 2015-11-11 16:25:41 +01:00
Egor.Ushakov
022d552b30 IDEA-140321 Wrong current line highlighting when debugging synchronized block in decompiled code 2015-05-18 18:41:21 +03:00
Egor.Ushakov
44ba5816f2 IDEA-138578 Debugger spuriously jumps to decompiled method signature 2015-04-14 12:33:52 +03:00
Egor.Ushakov
262d580ccc decompiler: cleanup 2015-03-27 12:58:33 +03:00
Egor.Ushakov
d5e22fe0c9 decompiler: map line number for catch statement 2015-03-26 16:03:59 +03:00
Egor.Ushakov
ca7e2dfa1c decompiler: cleanup - marked const fields final 2015-03-26 15:28:13 +03:00
Egor.Ushakov
9ec79b5701 decompiler: line mapping for break and continue 2015-03-25 19:53:52 +03:00
Egor.Ushakov
ce31439c20 decompiler: removeLast helper to avoid possible errors 2015-03-25 19:53:50 +03:00
Egor.Ushakov
7e30facd33 decompiler: generate line number matching for return and some other statements 2015-03-25 14:00:10 +03:00
Egor.Ushakov
f3af4dd681 decompiler: create less thrown away objects 2015-03-25 14:00:09 +03:00
Egor.Ushakov
500f8b12d8 decompiler: map dummy return line to the method closing bracket 2015-03-24 17:58:08 +03:00
Stiver
302a354720 Hiding synthetic fields (IDEA-132625) 2015-03-08 08:43:57 +01:00
Stiver
8a2d3c3c9c Performance improvement 2015-03-04 07:20:13 +01:00
Egor.Ushakov
0488e1b937 fixed decompiler tests 2015-03-02 12:16:42 +03: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
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