decompiler: fixed incorrect line mapping after abstract and native methods
This commit is contained in:
30
testData/results/TestAbstractMethods.dec
Normal file
30
testData/results/TestAbstractMethods.dec
Normal file
@@ -0,0 +1,30 @@
|
||||
package pkg;
|
||||
|
||||
public abstract class TestAbstractMethods {
|
||||
public abstract void foo();
|
||||
|
||||
public int test(int var1) {
|
||||
return var1;// 11
|
||||
}
|
||||
|
||||
protected abstract void foo1();
|
||||
|
||||
public void test2(String var1) {
|
||||
System.out.println(var1);// 17
|
||||
}
|
||||
}
|
||||
|
||||
class 'pkg/TestAbstractMethods' {
|
||||
method 'test (I)I' {
|
||||
1 6
|
||||
}
|
||||
|
||||
method 'test2 (Ljava/lang/String;)V' {
|
||||
0 12
|
||||
4 12
|
||||
}
|
||||
}
|
||||
|
||||
Lines mapping:
|
||||
11 <-> 7
|
||||
17 <-> 13
|
||||
Reference in New Issue
Block a user