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/TestInnerLocal.dec

135 lines
2.3 KiB

package pkg;
public class TestInnerLocal {
public static void testStaticMethod() {
class Inner {
final String x;
public Inner(@Deprecated String x) {
this.x = x;// 8
}// 9
}
new Inner("test");// 11
new TestInnerLocal.Inner1Static("test");// 12
new TestInnerLocal.Inner1Static.Inner2Static("test");// 13
}// 14
public void testMethod() {
class Inner {
final String x;
public Inner(@Deprecated String x) {
this.x = x;// 20
}// 21
}
new Inner("test");// 23
new TestInnerLocal.Inner1Static("test");// 24
new TestInnerLocal.Inner1("test");// 25
new TestInnerLocal.Inner1Static.Inner2Static("test");// 26
}// 27
static class Inner1Static {
final String x;
public Inner1Static(@Deprecated String x) {
this.x = x;// 39
}// 40
public static class Inner2Static {
final String x;
public Inner2Static(@Deprecated String x) {
this.x = x;// 45
}// 46
}
}
class Inner1 {
final String x;
public Inner1(@Deprecated String x) {
this.x = x;// 32
}// 33
}
}
class 'pkg/TestInnerLocal$1Inner' {
method '<init> (Ljava/lang/String;)V' {
6 8
9 9
}
}
class 'pkg/TestInnerLocal' {
method 'testStaticMethod ()V' {
4 12
e 13
18 14
1e 15
}
method 'testMethod ()V' {
5 26
f 27
1a 28
24 29
2a 30
}
}
class 'pkg/TestInnerLocal$2Inner' {
method '<init> (Lpkg/TestInnerLocal;Ljava/lang/String;)V' {
b 22
e 23
}
}
class 'pkg/TestInnerLocal$Inner1Static' {
method '<init> (Ljava/lang/String;)V' {
6 36
9 37
}
}
class 'pkg/TestInnerLocal$Inner1Static$Inner2Static' {
method '<init> (Ljava/lang/String;)V' {
6 43
9 44
}
}
class 'pkg/TestInnerLocal$Inner1' {
method '<init> (Lpkg/TestInnerLocal;Ljava/lang/String;)V' {
b 52
e 53
}
}
Lines mapping:
8 <-> 9
9 <-> 10
11 <-> 13
12 <-> 14
13 <-> 15
14 <-> 16
20 <-> 23
21 <-> 24
23 <-> 27
24 <-> 28
25 <-> 29
26 <-> 30
27 <-> 31
32 <-> 53
33 <-> 54
39 <-> 37
40 <-> 38
45 <-> 44
46 <-> 45
Not mapped:
7
19
31
38
44