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.
48 lines
690 B
48 lines
690 B
6 years ago
|
import java.util.Random;
|
||
|
|
||
|
public class TestEmptyBlocks {
|
||
|
public static void foo() {
|
||
|
try {
|
||
|
boolean var0 = false;// 22
|
||
|
} catch (Exception var1) {// 23
|
||
|
}
|
||
|
|
||
|
for(int i = 0; i < 5; ++i) {// 27
|
||
|
}
|
||
|
|
||
|
while((new Random()).nextBoolean()) {// 31
|
||
|
}
|
||
|
|
||
|
if ((new Random()).nextBoolean()) {// 35
|
||
|
}
|
||
|
|
||
|
}// 38
|
||
|
}
|
||
|
|
||
|
class 'TestEmptyBlocks' {
|
||
|
method 'foo ()V' {
|
||
|
0 5
|
||
|
1 5
|
||
|
5 6
|
||
|
6 9
|
||
|
7 9
|
||
|
9 9
|
||
|
a 9
|
||
|
d 9
|
||
|
1a 12
|
||
|
2a 15
|
||
|
2d 15
|
||
|
30 18
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Lines mapping:
|
||
|
22 <-> 6
|
||
|
23 <-> 7
|
||
|
27 <-> 10
|
||
|
31 <-> 13
|
||
|
35 <-> 16
|
||
|
38 <-> 19
|
||
|
Not mapped:
|
||
|
25
|