Fork of the Fernflower decompiler
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.
fernflower/testData/results/TestTryCatchFinally.dec

106 lines
1.8 KiB

package pkg;
public class TestTryCatchFinally {
public void test1(String var1) {
try {
System.out.println("sout1");// 24
} catch (Exception var9) {
try {
System.out.println("sout2");// 27
} catch (Exception var8) {// 28
;
}
} finally {
System.out.println("finally");// 34
}
}// 36
int foo(int var1) throws Exception {
if (var1 < 1) {// 39
throw new RuntimeException();// 40
} else if (var1 < 5) {// 41
return var1;// 42
} else {
throw new Exception();// 45
}
}
public int test(String var1) {
try {
int var2 = Integer.parseInt(var1);// 51
return var2;
} catch (Exception var6) {// 52
System.out.println("Error" + var6);// 53
} finally {
System.out.println("Finally");// 55
}
return -1;// 56 57
}
}
class 'pkg/TestTryCatchFinally' {
method 'test1 (Ljava/lang/String;)V' {
0 5
3 5
5 5
14 8
17 8
19 8
1f 9
2b 13
2d 13
30 13
38 16
}
method 'foo (I)I' {
1 19
2 19
c 20
e 21
f 21
13 22
1b 24
}
method 'test (Ljava/lang/String;)I' {
1 30
4 30
e 31
f 32
10 33
1a 33
23 33
26 33
31 38
34 35
35 35
38 35
3f 38
}
}
Lines mapping:
24 <-> 6
27 <-> 9
28 <-> 10
34 <-> 14
36 <-> 17
39 <-> 20
40 <-> 21
41 <-> 22
42 <-> 23
45 <-> 25
51 <-> 31
52 <-> 33
53 <-> 34
55 <-> 36
56 <-> 39
57 <-> 39
Not mapped:
25
32
35