fernflower/testData/results/TestClassLoop.dec

80 lines
1.3 KiB
Plaintext
Raw Normal View History

package pkg;
2014-08-09 11:34:24 -04:00
public class TestClassLoop {
2014-08-13 16:17:21 -04:00
public static void testSimpleInfinite() {
while(true) {
2014-12-25 13:36:19 -05:00
System.out.println();// 23
2014-08-13 16:17:21 -04:00
}
}
2014-08-09 11:34:24 -04:00
public static void testFinally() {
2014-12-25 13:36:19 -05:00
boolean var0 = Math.random() > 0.0D;// 29
2014-08-09 11:34:24 -04:00
while(true) {
try {
2014-12-25 13:36:19 -05:00
if(!var0) {// 33
2014-08-09 11:34:24 -04:00
return;
}
} finally {
System.out.println("1");
}
}
}
public static void testFinallyContinue() {
2014-12-25 13:36:19 -05:00
boolean var0 = Math.random() > 0.0D;// 45
2014-08-09 11:34:24 -04:00
while(true) {
while(true) {
try {
2014-12-25 13:36:19 -05:00
System.out.println("1");// 49
2014-08-09 11:34:24 -04:00
break;
} finally {
if(var0) {
2014-12-25 13:36:19 -05:00
System.out.println("3");// 53
2014-08-09 11:34:24 -04:00
continue;
}
}
}
System.out.println("4");
}
}
}
2014-12-25 13:36:19 -05:00
class 'pkg/TestClassLoop' {
method 'testSimpleInfinite ()V' {
0 5
3 5
}
method 'testFinally ()V' {
0 10
3 10
4 10
d 10
f 14
}
method 'testFinallyContinue ()V' {
0 24
3 24
4 24
d 24
e 29
11 29
13 29
2a 33
2d 33
2f 33
}
}
Lines mapping:
23 <-> 6
29 <-> 11
33 <-> 15
45 <-> 25
49 <-> 30
53 <-> 34