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