2014-10-15 02:35:45 -04:00
|
|
|
package pkg;
|
|
|
|
|
|
|
|
public class TestClassSimpleBytecodeMapping {
|
|
|
|
public int test() {
|
|
|
|
System.out.println("before");
|
2014-10-17 07:41:17 -04:00
|
|
|
this.run(new Runnable() {
|
|
|
|
public void run() {
|
|
|
|
System.out.println("Runnable");
|
|
|
|
}
|
|
|
|
});
|
2014-10-20 10:06:14 -04:00
|
|
|
this.test2("1");
|
2014-10-15 02:35:45 -04:00
|
|
|
if(Math.random() > 0.0D) {
|
|
|
|
System.out.println("0");
|
|
|
|
return 0;
|
|
|
|
} else {
|
|
|
|
System.out.println("1");
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|
2014-10-17 07:41:17 -04:00
|
|
|
|
2014-10-20 10:06:14 -04:00
|
|
|
public void test2(String var1) {
|
|
|
|
try {
|
|
|
|
Integer.parseInt(var1);
|
2014-10-21 11:10:42 -04:00
|
|
|
} catch (Exception var6) {
|
|
|
|
System.out.println(var6);
|
|
|
|
} finally {
|
|
|
|
System.out.println("Finally");
|
2014-10-20 10:06:14 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-10-17 07:41:17 -04:00
|
|
|
void run(Runnable var1) {
|
|
|
|
var1.run();
|
|
|
|
}
|
2014-10-20 10:06:14 -04:00
|
|
|
|
|
|
|
public class InnerClass2 {
|
|
|
|
public void print() {
|
|
|
|
System.out.println("Inner2");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public class InnerClass {
|
|
|
|
public void print() {
|
|
|
|
System.out.println("Inner");
|
|
|
|
}
|
|
|
|
}
|
2014-10-15 02:35:45 -04:00
|
|
|
}
|
|
|
|
|
2014-10-17 12:19:39 -04:00
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping$1' {
|
|
|
|
method 'run ()V' {
|
2014-10-17 09:02:13 -04:00
|
|
|
0 7
|
|
|
|
3 7
|
|
|
|
5 7
|
2014-10-17 07:41:17 -04:00
|
|
|
}
|
2014-10-17 09:02:13 -04:00
|
|
|
}
|
2014-10-17 12:19:39 -04:00
|
|
|
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping' {
|
|
|
|
method 'test ()I' {
|
2014-10-15 02:35:45 -04:00
|
|
|
0 4
|
|
|
|
3 4
|
|
|
|
5 4
|
2014-10-17 07:41:17 -04:00
|
|
|
11 5
|
2014-10-20 10:06:14 -04:00
|
|
|
15 10
|
2014-10-17 07:41:17 -04:00
|
|
|
17 10
|
2014-10-20 10:06:14 -04:00
|
|
|
1a 11
|
|
|
|
1d 11
|
|
|
|
1e 11
|
2014-10-17 07:41:17 -04:00
|
|
|
1f 11
|
2014-10-20 10:06:14 -04:00
|
|
|
22 12
|
2014-10-17 07:41:17 -04:00
|
|
|
25 12
|
2014-10-20 10:06:14 -04:00
|
|
|
27 12
|
|
|
|
2a 13
|
|
|
|
2b 13
|
|
|
|
2c 15
|
2014-10-17 07:41:17 -04:00
|
|
|
2f 15
|
2014-10-20 10:06:14 -04:00
|
|
|
31 15
|
|
|
|
34 16
|
|
|
|
35 16
|
|
|
|
}
|
|
|
|
|
|
|
|
method 'test2 (Ljava/lang/String;)V' {
|
|
|
|
1 22
|
2014-10-17 07:41:17 -04:00
|
|
|
}
|
2014-10-17 09:02:13 -04:00
|
|
|
|
2014-10-17 12:19:39 -04:00
|
|
|
method 'run (Ljava/lang/Runnable;)V' {
|
2014-10-21 11:10:42 -04:00
|
|
|
1 32
|
2014-10-20 10:06:14 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping$InnerClass2' {
|
|
|
|
method 'print ()V' {
|
2014-10-21 11:10:42 -04:00
|
|
|
0 37
|
|
|
|
3 37
|
|
|
|
5 37
|
2014-10-20 10:06:14 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class 'pkg/TestClassSimpleBytecodeMapping$InnerClass' {
|
|
|
|
method 'print ()V' {
|
2014-10-21 11:10:42 -04:00
|
|
|
0 43
|
|
|
|
3 43
|
|
|
|
5 43
|
2014-10-15 02:35:45 -04:00
|
|
|
}
|
|
|
|
}
|
2014-10-17 12:19:39 -04:00
|
|
|
|
2014-10-17 10:52:47 -04:00
|
|
|
Lines mapping:
|
2014-10-20 08:03:59 -04:00
|
|
|
12 <-> 5
|
|
|
|
14 <-> 6
|
|
|
|
17 <-> 8
|
|
|
|
21 <-> 11
|
2014-10-20 10:06:14 -04:00
|
|
|
23 <-> 12
|
|
|
|
24 <-> 13
|
|
|
|
25 <-> 14
|
|
|
|
27 <-> 16
|
|
|
|
28 <-> 17
|
|
|
|
34 <-> 23
|
2014-10-21 11:10:42 -04:00
|
|
|
44 <-> 44
|
|
|
|
49 <-> 33
|
|
|
|
54 <-> 38
|