Files
openide/plugins/java-decompiler/engine/testData/results/TestClashName.dec
Mikhail Pyltsin da8c3d5728 [java-decompiler] IDEA-346312 adapt patch 005
- update copyright
- fix warnings
- fix tests
- revert variable names
- support not used variables for idea debugger

GitOrigin-RevId: 1d9810f75417aadc18943277a4eb9de152dd9008
2024-10-10 09:55:48 +00:00

165 lines
2.7 KiB
Plaintext

package pkg;
@SharedName4
public class TestClashName extends ext.TestClashNameParent implements TestClashNameIface {
int TestClashNameParent = 0;
int TestClashNameIface = 0;
int SharedName1 = 0;
int SharedName4 = 0;
int SharedName5 = 0;
int i;
int j;
int k;
int l;
int m;
int n;
SharedName1 p;
SharedName5<SharedName1> q;
public TestClashName() {
this.i = pkg.SharedName1.f;// 59
this.j = NonSharedName.f;// 60
this.k = SharedName2.f;// 61
this.l = pkg.SharedName3.f;// 62
this.m = pkg.SharedName1.getF();// 63
this.n = NonSharedName.getF();// 64
this.p = null;// 65
this.q = null;// 67
}
@SharedName4
public int m() {
int var1 = this.i;// 73
pkg.SharedName1.f = this.j;// 74
int var2 = SharedName2.f;// 75
NonSharedName.f = this.k;// 76
int var3 = NonSharedName.f;// 77
return var1 + var2 + var3;// 78
}
public void f() {
}// 82
}
class 'pkg/TestClashName' {
method '<init> ()V' {
1d 19
1e 19
1f 19
20 19
21 19
22 19
23 19
24 20
25 20
26 20
27 20
28 20
29 20
2a 20
2b 21
2c 21
2d 21
2e 21
2f 21
30 21
31 21
32 22
33 22
34 22
35 22
36 22
37 22
38 22
39 23
3a 23
3b 23
3c 23
3d 23
3e 23
3f 23
40 24
41 24
42 24
43 24
44 24
45 24
46 24
47 25
48 25
49 25
4a 25
4b 25
4c 26
4d 26
4e 26
4f 26
50 26
51 27
}
method 'm ()I' {
0 31
1 31
2 31
3 31
4 31
5 32
6 32
7 32
8 32
9 32
a 32
b 32
c 33
d 33
e 33
f 33
10 34
11 34
12 34
13 34
14 34
15 34
16 34
17 35
18 35
19 35
1a 35
1b 36
1c 36
1d 36
1e 36
1f 36
20 36
}
method 'f ()V' {
0 40
}
}
Lines mapping:
59 <-> 20
60 <-> 21
61 <-> 22
62 <-> 23
63 <-> 24
64 <-> 25
65 <-> 26
67 <-> 27
73 <-> 32
74 <-> 33
75 <-> 34
76 <-> 35
77 <-> 36
78 <-> 37
82 <-> 41
Not mapped:
52
53
54
55
56
57