decompiler: major line numbers fixes

This commit is contained in:
Egor.Ushakov
2014-12-25 21:36:19 +03:00
parent 4a6a658b4c
commit 4ee8ad716d
49 changed files with 1124 additions and 142 deletions

View File

@@ -5,11 +5,30 @@ import java.util.List;
public class TestClassCast {
public void test(List var1) {
Object var2 = var1;
if(var1 != null) {
((List)(var2 = new ArrayList(var1))).add("23");
Object var2 = var1;// 22
if(var1 != null) {// 23
((List)(var2 = new ArrayList(var1))).add("23");// 24
}
System.out.println(((List)var2).size());
System.out.println(((List)var2).size());// 26
}
}
class 'pkg/TestClassCast' {
method 'test (Ljava/util/List;)V' {
1 7
3 8
f 9
10 9
12 9
18 12
1c 12
21 12
}
}
Lines mapping:
22 <-> 8
23 <-> 9
24 <-> 10
26 <-> 13