Roman Shevchenko
f40b96ebcf
[java decompiler] minor refactoring + cleanup (duplicates; dependencies; test data layout; typos; formatting)
...
GitOrigin-RevId: 3589e4d8f2dfa8a5096fcf49070bc65ba6734482
3 years ago
Graham
f11ed78169
Replace openrs2.dev with openrs2.org
4 years ago
Graham
9addbd6349
Use names from OriginalPcTable earlier during the decompilation process
4 years ago
Graham
2bf9bb4e9b
Use mapped local variable names from the OriginalPcTable
4 years ago
Graham
35228e6d63
Populate bytecodeOffset of definitions created in VarDefinitionHelper
4 years ago
Graham
b4c1bab1b6
Add separate bytecodeOffset variable to VarExprent
...
I think it's best not to conflate this with visibleOffset, as
visibleOffset is not always set to bytecode_offset and it is also used
for other things (e.g. looking up debug variable names).
4 years ago
Graham
c7079537a3
Add @Pc annotations to local variable declarations
...
This isn't perfect. It doesn't handle stack variables yet. I think there
are also some places where Fernflower fiddles around with VarExprents
where we'll need to copy the bytecode offset.
4 years ago
Egor Ushakov
2c2b00b369
cleanup: remove redundant casts
5 years ago
Tagir Valeev
023bb2462a
Unnecessary null check before instanceof removed
6 years ago
Roman Shevchenko
4fd89eeb42
[java decompiler] moves TextBuffer into "util" package
7 years ago
Roman Shevchenko
29de7ad72e
[java decompiler] cleanup (dead code; optimizations; warnings)
7 years ago
Roman Shevchenko
7521c17aba
[java decompiler] updates copyright comment
7 years ago
Egor.Ushakov
7041accfe9
reduced memory usage - use HashMap for attributes
7 years ago
Egor.Ushakov
f466a2bc55
more correct variable name in cases where definition is not inside debug name offsets
7 years ago
Egor.Ushakov
5e45e5ac40
IDEA-130708 Incorrect locals names
7 years ago
Egor.Ushakov
cb133af01e
IDEA-166363 Support LocalVariableTypeTable attribute
7 years ago
Anna.Kozlova
947fae191f
explicit types to diamonds
8 years ago
Stiver
b3962a09ca
Extended option 'dc4' to handle inlined class references (mainly Eclipse). See IDEA-135387 for an example.
9 years ago
Egor.Ushakov
4ee8ad716d
decompiler: major line numbers fixes
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
32e7765874
decompiler: fixed bytecode mapping for anonymous classes
10 years ago
Stiver
c975f11ecc
Activated bytecode-to-source mapping for all instructions
10 years ago
Egor.Ushakov
46c36636bc
decompiler: track lines in anonymous classes as well
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
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
1cea85e49a
java-decompiler: optimization (less string buffer allocations on generating text)
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
Roman Shevchenko
879330b555
minor optimization (o == this in equals)
10 years ago
Stiver
e2d0f5d9c3
initial commit
10 years ago