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.
39 lines
580 B
39 lines
580 B
package pkg;
|
|
|
|
public class TestSynchronizedMapping {
|
|
public int test(int var1) {
|
|
synchronized(this) {// 8
|
|
++var1;// 9
|
|
}// 10
|
|
|
|
return var1++;// 11
|
|
}
|
|
|
|
public void test2(String var1) {
|
|
System.out.println(var1);// 15
|
|
}// 16
|
|
}
|
|
|
|
class 'pkg/TestSynchronizedMapping' {
|
|
method 'test (I)I' {
|
|
3 4
|
|
4 5
|
|
8 6
|
|
12 8
|
|
15 8
|
|
}
|
|
|
|
method 'test2 (Ljava/lang/String;)V' {
|
|
0 12
|
|
4 12
|
|
7 13
|
|
}
|
|
}
|
|
|
|
Lines mapping:
|
|
8 <-> 5
|
|
9 <-> 6
|
|
10 <-> 7
|
|
11 <-> 9
|
|
15 <-> 13
|
|
16 <-> 14
|
|
|