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

@@ -1,6 +1,6 @@
package pkg;
public class TestDeprecations {
public abstract class TestDeprecations {
/** @deprecated */
public int byComment;
/** @deprecated */
@@ -9,19 +9,70 @@ public class TestDeprecations {
/** @deprecated */
public void byComment() {
boolean var1 = true;// 27
}
/** @deprecated */
public abstract void byCommentAbstract();
/** @deprecated */
@Deprecated
public void byAnno() {
boolean var1 = true;// 35
}
/** @deprecated */
@Deprecated
public abstract void byAnnoAbstract();
/** @deprecated */
@Deprecated
public static class ByAnno {
int a = 5;
void foo() {
boolean var1 = true;// 55
}
}
/** @deprecated */
public static class ByComment {
int a = 5;
void foo() {
boolean var1 = true;// 46
}
}
}
class 'pkg/TestDeprecations' {
method 'byComment ()V' {
0 11
1 11
}
method 'byAnno ()V' {
0 20
1 20
}
}
class 'pkg/TestDeprecations$ByAnno' {
method 'foo ()V' {
0 33
1 33
}
}
class 'pkg/TestDeprecations$ByComment' {
method 'foo ()V' {
0 42
1 42
}
}
Lines mapping:
27 <-> 12
35 <-> 21
46 <-> 43
55 <-> 34