diff --git a/testData/classes/pkg/TestPrivateEmptyConstructor.class b/testData/classes/pkg/TestPrivateEmptyConstructor.class index cf45249..a8aa7e0 100644 Binary files a/testData/classes/pkg/TestPrivateEmptyConstructor.class and b/testData/classes/pkg/TestPrivateEmptyConstructor.class differ diff --git a/testData/classes/pkg/TestSynchronizedUnprotected.class b/testData/classes/pkg/TestSynchronizedUnprotected.class index 2346ca5..e5cc393 100644 Binary files a/testData/classes/pkg/TestSynchronizedUnprotected.class and b/testData/classes/pkg/TestSynchronizedUnprotected.class differ diff --git a/testData/results/TestPrivateEmptyConstructor.dec b/testData/results/TestPrivateEmptyConstructor.dec index c2a5aa4..3f866b1 100644 --- a/testData/results/TestPrivateEmptyConstructor.dec +++ b/testData/results/TestPrivateEmptyConstructor.dec @@ -1,3 +1,5 @@ +package pkg; + public final class TestPrivateEmptyConstructor { private TestPrivateEmptyConstructor() { }// 4 @@ -7,20 +9,20 @@ public final class TestPrivateEmptyConstructor { }// 8 } -class 'TestPrivateEmptyConstructor' { +class 'pkg/TestPrivateEmptyConstructor' { method ' ()V' { - 4 2 + 4 4 } method 'test ()V' { - 0 5 - 3 5 - 5 5 - 8 6 + 0 7 + 3 7 + 5 7 + 8 8 } } Lines mapping: -4 <-> 3 -7 <-> 6 -8 <-> 7 +4 <-> 5 +7 <-> 8 +8 <-> 9 diff --git a/testData/results/TestSynchronizedUnprotected.dec b/testData/results/TestSynchronizedUnprotected.dec index 8a789bd..d6405e8 100644 --- a/testData/results/TestSynchronizedUnprotected.dec +++ b/testData/results/TestSynchronizedUnprotected.dec @@ -1,25 +1,42 @@ +package pkg; + +import kotlin.Metadata; +import kotlin.Unit; + +@Metadata( + mv = {1, 1, 11}, + bv = {1, 0, 2}, + k = 1, + xi = 2, + d1 = {"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\u0002\u0018\u00002\u00020\u0001B\u0005ยข\u0006\u0002\u0010\u0002J\u0006\u0010\u0003\u001a\u00020\u0004"}, + d2 = {"Lpkg/TestSynchronizedUnprotected;", "", "()V", "test", ""} +) public final class TestSynchronizedUnprotected { public final void test() { - synchronized(this) {// 5 - System.out.println("test");// 6 + synchronized(this) { + String var2 = "Boom";// 6 + System.out.println(var2); + Unit var3 = Unit.INSTANCE;// 5 7 } - }// 7 + } } -class 'TestSynchronizedUnprotected' { +class 'pkg/TestSynchronizedUnprotected' { method 'test ()V' { - 3 2 - 4 3 - 7 3 - 9 3 - e 5 + 3 15 + 5 16 + 7 16 + 8 17 + c 17 + f 18 + 12 18 + 15 20 } } Lines mapping: -5 <-> 3 -6 <-> 4 -7 <-> 6 +5 <-> 19 +6 <-> 17 +7 <-> 19 Not mapped: 8 - diff --git a/testData/src/pkg/TestPrivateEmptyConstructor.java b/testData/src/pkg/TestPrivateEmptyConstructor.java index 3548536..3323c93 100644 --- a/testData/src/pkg/TestPrivateEmptyConstructor.java +++ b/testData/src/pkg/TestPrivateEmptyConstructor.java @@ -1,11 +1,9 @@ package pkg; -public final class PrivateEmptyConstructor { - - private PrivateEmptyConstructor() {} +public final class TestPrivateEmptyConstructor { + private TestPrivateEmptyConstructor() {} public final void test() { System.out.println("test"); } -} - +} \ No newline at end of file diff --git a/testData/src/pkg/TestSynchronizedUnprotected.kt b/testData/src/pkg/TestSynchronizedUnprotected.kt index a6c04e9..59d8c6b 100644 --- a/testData/src/pkg/TestSynchronizedUnprotected.kt +++ b/testData/src/pkg/TestSynchronizedUnprotected.kt @@ -1,5 +1,6 @@ +package pkg -object TestSynchronizedUnprotected { +class TestSynchronizedUnprotected { fun test() { synchronized(this) { println("Boom")