decompiler: Setup increment/decrement test properly #376
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -5,31 +5,35 @@ class TestSyntheticAccess {
|
||||
private int i;
|
||||
|
||||
private class Assigner {
|
||||
void assignI(int newValue) {
|
||||
TestSyntheticAccess.this.i = newValue;// 32
|
||||
}// 33
|
||||
|
||||
void assignS(int newValue) {
|
||||
TestSyntheticAccess.s = newValue;// 36
|
||||
void assignI(int var1) {
|
||||
TestSyntheticAccess.this.i = var1;// 36
|
||||
}// 37
|
||||
|
||||
void assignS(int var1) {
|
||||
TestSyntheticAccess.s = var1;// 40
|
||||
}// 41
|
||||
}
|
||||
|
||||
private class Incrementer {
|
||||
void incrementI() {
|
||||
TestSyntheticAccess.this.i++;// 14
|
||||
void orI() {
|
||||
TestSyntheticAccess.this.i = TestSyntheticAccess.this.i | 1;// 14
|
||||
}// 15
|
||||
|
||||
void decrementI() {
|
||||
--TestSyntheticAccess.this.i;// 18
|
||||
void incrementI() {
|
||||
TestSyntheticAccess.this.i++;// 18
|
||||
}// 19
|
||||
|
||||
void decrementI() {
|
||||
--TestSyntheticAccess.this.i;// 22
|
||||
}// 23
|
||||
|
||||
void incrementS() {
|
||||
++TestSyntheticAccess.s;// 22 23
|
||||
++TestSyntheticAccess.s;// 26 27
|
||||
}
|
||||
|
||||
void decrementS() {
|
||||
TestSyntheticAccess.s--;// 26
|
||||
}// 27
|
||||
TestSyntheticAccess.s--;// 30
|
||||
}// 31
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,27 +50,35 @@ class 'pkg/TestSyntheticAccess$Assigner' {
|
||||
}
|
||||
|
||||
class 'pkg/TestSyntheticAccess$Incrementer' {
|
||||
method 'incrementI ()V' {
|
||||
2 18
|
||||
7 18
|
||||
8 19
|
||||
method 'orI ()V' {
|
||||
1 18
|
||||
3 18
|
||||
b 18
|
||||
c 18
|
||||
11 19
|
||||
}
|
||||
|
||||
method 'decrementI ()V' {
|
||||
method 'incrementI ()V' {
|
||||
2 22
|
||||
6 22
|
||||
7 22
|
||||
8 23
|
||||
}
|
||||
|
||||
method 'decrementI ()V' {
|
||||
2 26
|
||||
6 26
|
||||
8 27
|
||||
}
|
||||
|
||||
method 'incrementS ()V' {
|
||||
0 26
|
||||
4 26
|
||||
0 30
|
||||
4 30
|
||||
}
|
||||
|
||||
method 'decrementS ()V' {
|
||||
0 30
|
||||
4 31
|
||||
5 30
|
||||
0 34
|
||||
4 35
|
||||
5 34
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,10 +88,12 @@ Lines mapping:
|
||||
18 <-> 23
|
||||
19 <-> 24
|
||||
22 <-> 27
|
||||
23 <-> 27
|
||||
23 <-> 28
|
||||
26 <-> 31
|
||||
27 <-> 32
|
||||
32 <-> 9
|
||||
33 <-> 10
|
||||
36 <-> 13
|
||||
37 <-> 14
|
||||
27 <-> 31
|
||||
30 <-> 35
|
||||
31 <-> 36
|
||||
36 <-> 9
|
||||
37 <-> 10
|
||||
40 <-> 13
|
||||
41 <-> 14
|
||||
|
||||
Reference in New Issue
Block a user