parent
06c993b508
commit
1359577355
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,25 +1,26 @@ |
||||
package pkg; |
||||
|
||||
public class TestClassFields { |
||||
static int staticMutable; |
||||
private static int[] sizes; |
||||
private static String[] names = new String[]{"name1", "name2"}; |
||||
|
||||
static { |
||||
sizes = new int[names.length];// 26 |
||||
}// 27 |
||||
sizes = new int[names.length];// 27 |
||||
}// 28 |
||||
} |
||||
|
||||
class 'pkg/TestClassFields' { |
||||
method '<clinit> ()V' { |
||||
11 7 |
||||
14 7 |
||||
17 7 |
||||
1a 8 |
||||
11 8 |
||||
14 8 |
||||
17 8 |
||||
1a 9 |
||||
} |
||||
} |
||||
|
||||
Lines mapping: |
||||
26 <-> 8 |
||||
27 <-> 9 |
||||
28 <-> 10 |
||||
Not mapped: |
||||
25 |
||||
26 |
||||
|
@ -0,0 +1,6 @@ |
||||
package pkg; |
||||
|
||||
public interface TestInterfaceWithPrimitiveField { |
||||
int MAX_BYTE_VALUE = 127; |
||||
} |
||||
|
@ -0,0 +1,27 @@ |
||||
package pkg; |
||||
|
||||
import pkg.TestClassFields; |
||||
|
||||
public class TestMutableStaticOtherClass { |
||||
private static final int SIZE; |
||||
|
||||
static { |
||||
TestClassFields.staticMutable = 3;// 12 |
||||
SIZE = TestClassFields.staticMutable;// 13 |
||||
}// 14 |
||||
} |
||||
|
||||
class 'pkg/TestMutableStaticOtherClass' { |
||||
method '<clinit> ()V' { |
||||
0 8 |
||||
1 8 |
||||
4 9 |
||||
7 9 |
||||
a 10 |
||||
} |
||||
} |
||||
|
||||
Lines mapping: |
||||
12 <-> 9 |
||||
13 <-> 10 |
||||
14 <-> 11 |
@ -0,0 +1,13 @@ |
||||
package pkg; |
||||
|
||||
import java.math.BigDecimal; |
||||
|
||||
/** |
||||
* @author Alexandru-Constantin Bledea |
||||
* @since March 06, 2016 |
||||
*/ |
||||
public interface TestInterfaceWithPrimitiveField { |
||||
|
||||
int MAX_BYTE_VALUE = Byte.MAX_VALUE; |
||||
|
||||
} |
@ -0,0 +1,15 @@ |
||||
package pkg; |
||||
|
||||
/** |
||||
* @author Alexandru-Constantin Bledea |
||||
* @since March 17, 2016 |
||||
*/ |
||||
public class TestMutableStaticOtherClass { |
||||
|
||||
private static final int SIZE; |
||||
|
||||
static { |
||||
TestClassFields.staticMutable = 3; |
||||
SIZE = TestClassFields.staticMutable; |
||||
} |
||||
} |
Loading…
Reference in new issue