You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
140 lines
2.3 KiB
140 lines
2.3 KiB
package pkg;
|
|
|
|
public class TestClassSimpleBytecodeMapping {
|
|
public int test() {
|
|
System.out.println("before");// 12
|
|
this.run(new Runnable() {// 14
|
|
public void run() {
|
|
System.out.println("Runnable");// 17
|
|
}// 18
|
|
});
|
|
this.test2("1");// 21
|
|
if (Math.random() > 0.0D) {// 23
|
|
System.out.println("0");// 24
|
|
return 0;// 25
|
|
} else {
|
|
System.out.println("1");// 27
|
|
return 1;// 28
|
|
}
|
|
}
|
|
|
|
public void test2(String var1) {
|
|
try {
|
|
Integer.parseInt(var1);// 34
|
|
} catch (Exception var6) {// 35
|
|
System.out.println(var6);// 36
|
|
} finally {
|
|
System.out.println("Finally");// 38
|
|
}
|
|
|
|
}// 40
|
|
|
|
void run(Runnable var1) {
|
|
var1.run();// 49
|
|
}// 50
|
|
|
|
public class InnerClass2 {
|
|
public void print() {
|
|
System.out.println("Inner2");// 54
|
|
}// 55
|
|
}
|
|
|
|
public class InnerClass {
|
|
public void print() {
|
|
System.out.println("Inner");// 44
|
|
}// 45
|
|
}
|
|
}
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping$1' {
|
|
method 'run ()V' {
|
|
0 7
|
|
3 7
|
|
5 7
|
|
8 8
|
|
}
|
|
}
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping' {
|
|
method 'test ()I' {
|
|
0 4
|
|
3 4
|
|
5 4
|
|
11 5
|
|
15 10
|
|
17 10
|
|
1a 11
|
|
1d 11
|
|
1e 11
|
|
1f 11
|
|
22 12
|
|
25 12
|
|
27 12
|
|
2a 13
|
|
2b 13
|
|
2c 15
|
|
2f 15
|
|
31 15
|
|
34 16
|
|
35 16
|
|
}
|
|
|
|
method 'test2 (Ljava/lang/String;)V' {
|
|
1 22
|
|
10 23
|
|
11 24
|
|
15 24
|
|
23 26
|
|
24 26
|
|
27 26
|
|
2e 29
|
|
}
|
|
|
|
method 'run (Ljava/lang/Runnable;)V' {
|
|
1 32
|
|
6 33
|
|
}
|
|
}
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping$InnerClass2' {
|
|
method 'print ()V' {
|
|
0 37
|
|
3 37
|
|
5 37
|
|
8 38
|
|
}
|
|
}
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping$InnerClass' {
|
|
method 'print ()V' {
|
|
0 43
|
|
3 43
|
|
5 43
|
|
8 44
|
|
}
|
|
}
|
|
|
|
Lines mapping:
|
|
12 <-> 5
|
|
14 <-> 6
|
|
17 <-> 8
|
|
18 <-> 9
|
|
21 <-> 11
|
|
23 <-> 12
|
|
24 <-> 13
|
|
25 <-> 14
|
|
27 <-> 16
|
|
28 <-> 17
|
|
34 <-> 23
|
|
35 <-> 24
|
|
36 <-> 25
|
|
38 <-> 27
|
|
40 <-> 30
|
|
44 <-> 44
|
|
45 <-> 45
|
|
49 <-> 33
|
|
50 <-> 34
|
|
54 <-> 38
|
|
55 <-> 39
|
|
Not mapped:
|
|
39
|
|
|