Egor.Ushakov
9ba9af5425
decompiler: provide line numbers mapping inside lambdas
10 years ago
Egor.Ushakov
02e235dcee
decompiler: fixed inner class constructor signature decompilation
10 years ago
Egor.Ushakov
5a96486853
decompiler: do not fail on nested lambdas
10 years ago
Egor.Ushakov
4ee8ad716d
decompiler: major line numbers fixes
10 years ago
Egor.Ushakov
4a6a658b4c
decompiler: fixed incorrect line mapping after abstract and native methods
10 years ago
Roman Shevchenko
89b40fd28a
java-decompiler: (var, version) class renamed and made immutable
10 years ago
Roman Shevchenko
82a2939271
java-decompiler: cleanups and fixes
...
- duplicates eliminated
- immutable fields
- typos
- formatting
10 years ago
Egor.Ushakov
56b3edd3ca
decompiler: fixed line mapping in synchronized block
10 years ago
Egor.Ushakov
0bcd7fba5c
decompiler: fixed line mapping for try-catch and nested classes
10 years ago
Egor.Ushakov
9b97ae55f8
decompiler: minor optimization - less calculateLines calls
10 years ago
Egor.Ushakov
1a183952b4
decompiler: build original lines mapping
10 years ago
Egor.Ushakov
32e7765874
decompiler: fixed bytecode mapping for anonymous classes
10 years ago
Egor.Ushakov
a182de6271
decompiler: map all lines according to bytecode information
10 years ago
Stiver
c975f11ecc
Activated bytecode-to-source mapping for all instructions
10 years ago
Roman Shevchenko
6889e7435a
EA-41231 (omit synthetic inner class constructor parameter)
10 years ago
Roman Shevchenko
373ca99e37
Cleanup (formatting; naming)
10 years ago
Egor.Ushakov
46c36636bc
decompiler: track lines in anonymous classes as well
10 years ago
Egor.Ushakov
7bb0f5ba7e
decompiler: for now disabled line numbers in inner classes
10 years ago
Roman Shevchenko
41b8ab9299
java-decompiler: minor optimization
10 years ago
Egor.Ushakov
9bd8af2b43
calculate less indent buffers
10 years ago
Egor.Ushakov
125441a88f
decompiler: move generated lines as it is stated in debug line table (disabled for now)
10 years ago
Stiver
9f9da912f6
Fixed some errors in line counting
10 years ago
Stiver
9723ab4475
Propagated bytecode-to-source tracer
10 years ago
Stiver
f735cbc7ea
Started work on mapping bytecode instructions to source code lines
10 years ago
Roman Shevchenko
e90f1de039
IDEA-129221 (tolerate invalid signature attributes)
10 years ago
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
10 years ago
Roman Shevchenko
1cea85e49a
java-decompiler: optimization (less string buffer allocations on generating text)
10 years ago
Roman Shevchenko
f4f9e8be28
java-decompiler: cleanups
...
- better signatures
- accurate suppression
- unused symbols
- typos
10 years ago
Roman Shevchenko
2df49d32a7
java-decompiler: fixes and cleanups
...
- unified attribute loading code
- common methods for checking member flags
- verifying skip()
- correct resource closing
- typos
10 years ago
Roman Shevchenko
984af2e7d0
java-decompiler: post-import cleanup (typos)
10 years ago
Roman Shevchenko
f5431c3bb1
java-decompiler: post-import cleanup (common fixes and optimizations)
10 years ago
Roman Shevchenko
84ea54eb1e
java-decompiler: post-import cleanup (code style issues)
10 years ago
Roman Shevchenko
076e4393f2
java-decompiler: post-import cleanup (formatting and copyright)
10 years ago
Roman Shevchenko
663631f045
java-decompiler: post-import cleanup (classes moved)
10 years ago
Roman Shevchenko
f864084061
java-decompiler: post-import cleanup (root package renamed)
10 years ago
Stiver
55beef6b7e
Fixed 'IDEA-127301: NPE in decompiler' - a couple of issues with lambda processing
10 years ago
Stiver
7f116b6eb5
IDEA-127301: handling of static method references
10 years ago
Roman Shevchenko
95476dc36b
better filtering of synthetic inner classes
11 years ago
Roman Shevchenko
6e303d8592
false signatures consistency warning on enums
11 years ago
Roman Shevchenko
5e68e6346c
writing line separators fixed
11 years ago
Roman Shevchenko
5c8ad60f12
method parameter annotations fixed
...
(annotations table doesn't count implicit parameters)
11 years ago
Roman Shevchenko
25bd28a290
logging reworked
...
- implementation-specific method removed from the API
- internal exceptions handling incapsulated
11 years ago
Roman Shevchenko
f221cd1c55
single "extends Object" omitted for type parameters (ultimate fix)
...
- sole "extends Object" ignored
- correct decompilation of <T extends I> vs. <T exends Object & I> cases
11 years ago
Roman Shevchenko
27f08da5cb
deprecation comments generation changed once again
...
new behavior:
- depreaction comment (/** @deprecated */) is added always
- @Deprecated annotation is added only when presented in .class file
rationale:
- both deprecation comment and @Deprecated anno produce "Deprecated" attribute
- adding annotation to members deprecated by comment (old behavior) is actually incorrect
- adding comment to members deprecated by annotation may be incorrect but is acceptable (there is no way to tell if a member was deprecated by sole annotation or both by annotation and comment)
- additional configuration option is therefore no longer needed
11 years ago
Roman Shevchenko
495589a815
natural enum formatting (injected constructor parameters omitted)
11 years ago
Roman Shevchenko
290c3ae066
leading "extends Object" omitted for type parameters
11 years ago
Roman Shevchenko
310058e6eb
single "extends Object" omitted for type parameters
11 years ago
Roman Shevchenko
6c2cc096fb
deprecation comments generation fixed
11 years ago
Stiver
988a7b935a
resolving naming conflicts with local variables used in lambda
...
expressions
11 years ago
Stiver
bd99d3eb2f
lambda expressions (Java 8)
11 years ago