Commit Graph

128 Commits

Author SHA1 Message Date
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
e44ba9905e IDEA-127533 int field is displayed as char 2017-04-26 21:13:00 +03:00
Egor.Ushakov
478e6896e9 fixed static interface methods 2017-04-26 20:32:39 +03:00
Egor.Ushakov
6a7763922b fixed lambda parameter names already used in the context 2017-04-26 20:32:39 +03:00
Egor.Ushakov
8c440e281c fixed incorrect constructor method reference 2017-04-26 13:57:24 +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
d149b53799 minor cleanup and formatting 2017-04-24 15:13:13 +03:00
Oleg Panashchenko
2a213aa4a0 Use fully qualified static field name in conflict #541 2017-04-24 14:22:41 +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
9ee45b3f5a cleanup: use streams 2017-01-17 21:02:19 +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
Egor.Ushakov
32693c314a IDEA-149813 Decompiler has lost generic parameter 2017-01-10 12:09:26 +03:00
Egor.Ushakov
fe5260df8a IDEA-166101 Imports Added for Classes in Same Package 2017-01-09 17:59:31 +03:00
Egor.Ushakov
75e251e427 Merge branch 'assert_throw_in_else_clause' of https://github.com/droid666/intellij-community 2016-10-14 18:23:25 +03:00
Anna.Kozlova
947fae191f explicit types to diamonds 2016-08-08 17:08:03 +02:00
Roman Shevchenko
2867a8d41f Cleanup (formatting; typos) 2016-05-20 19:41:40 +02:00
Roman Shevchenko
f0e7494a65 Cleanup (formatting; typos) 2016-05-20 19:40:42 +02:00
Anna.Kozlova
ffd54ff4f4 anonym -> lambda 2016-05-18 12:04:12 +02:00
dw
aaca7aa494 Supports Asserts that have the throw in the else clause instead of the if clause 2016-04-26 15:13:24 +02:00
Roman Shevchenko
52b31bf325 [java, java-decompiler] type annotations in class files
Step 1: add top-level field/method/parameter annotations to stubs; include them in decompiled text.
2016-04-21 21:22:36 +02:00
Roman Shevchenko
a8403429ef Cleanup (minor optimization) 2016-04-21 21:18:37 +02:00
Roman Shevchenko
4a1a747bdc [java-decompiler] fixes indentation in annotations 2016-04-20 17:58:18 +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
1ac2304d60 [java-decompiler] fixes enum constant initializer decompilation (IDEA-154547) 2016-04-11 21:43:11 +02:00
Roman Shevchenko
a57e42690b Cleanup (duplicates extracted; formatting; typos) 2016-04-11 20:32:26 +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
Alexandru-Constantin Bledea
06c993b508 correctly decompile interface object fields 2016-03-17 23:07:32 +02:00
Roman Shevchenko
d50e8a860e Cleanup (formatting) 2016-03-16 17:34:59 +01: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
Christopher Carpenter
f643b1c870 Made ClassReference14Processor static similar to how InitializerProcessor and EnumProcessor are setup. This gets rid of a lot of unnecessary InvocationExprent creation. 2016-03-16 17:23:23 +01:00
Roman Shevchenko
23da5d99d2 Cleanup (I/O ops in java-decompiler) 2016-03-16 11:22:39 +01:00
Roman Shevchenko
cfe1448b2b Cleanup (unneeded anonymous classes) 2016-03-03 13:46:23 +01:00
Egor.Ushakov
876740dd0e decompiler: fixed incorrect method references from single letter classes 2016-03-02 20:45:46 +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
Roman Shevchenko
26ab681d56 [java-decompiler] cleanup (text rearranging mode dropped) 2015-11-09 20:46:50 +01:00
Alexandru-Constantin Bledea
766fc1390d Decompiler name shadowing resolution
https://github.com/JetBrains/intellij-community/pull/295
2015-09-07 20:44:51 +03:00
Roman Shevchenko
6a802a6fc9 java-decompiler: NPE fixed
https://github.com/JetBrains/intellij-community/pull/268
2015-06-29 15:13:05 +03:00
Roman Shevchenko
aa480480e9 Cleanup (formatting; typos) 2015-06-29 14:59:18 +03:00
Roman Shevchenko
debe6cc338 safe delete unused environment + deprecations, part 2
(follow-up to 63cae114)
2015-06-29 13:27:31 +03:00