diff --git a/compiler/testData/compileJavaAgainstKotlin/class/ClassObject.txt b/compiler/testData/compileJavaAgainstKotlin/class/ClassObject.txt index 423e923883a..88133845964 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/ClassObject.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/ClassObject.txt @@ -7,27 +7,27 @@ public/*package*/ open class ClassObject { public/*package*/ open fun accessToPackageObject(): kotlin.Unit } -internal object PackageInner { +public object PackageInner { private constructor PackageInner() - internal final val value: kotlin.Int - internal final fun foo(): kotlin.Unit + public final val value: kotlin.Int + public final fun foo(): kotlin.Unit } -internal final class WithClassObject { +public final class WithClassObject { public constructor WithClassObject() public companion object Companion { private constructor Companion() - internal final val value: kotlin.Int - internal final val valueWithGetter: kotlin.Int - internal final var variable: kotlin.Int - internal final var variableWithAccessors: kotlin.Int - internal final fun foo(): kotlin.Unit + public final val value: kotlin.Int + public final val valueWithGetter: kotlin.Int + public final var variable: kotlin.Int + public final var variableWithAccessors: kotlin.Int + public final fun foo(): kotlin.Unit } - internal final class MyInner { + public final class MyInner { public constructor MyInner() - internal final val value: kotlin.Int - internal final fun foo(): kotlin.Unit + public final val value: kotlin.Int + public final fun foo(): kotlin.Unit } } diff --git a/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructor.txt b/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructor.txt index c78c101af85..a28cd92bd3c 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructor.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructor.txt @@ -1,8 +1,8 @@ package test -internal final class A { +public final class A { public constructor A(/*0*/ kotlin.Int = ...) - internal final val a: kotlin.Int + public final val a: kotlin.Int } public/*package*/ open class Simple { diff --git a/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructorWithTwoArgs.txt b/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructorWithTwoArgs.txt index 22ca9ea10ec..7ad12aff818 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructorWithTwoArgs.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/DefaultConstructorWithTwoArgs.txt @@ -1,9 +1,9 @@ package test -internal final class A { +public final class A { public constructor A(/*0*/ kotlin.Int = ..., /*1*/ kotlin.String = ...) - internal final val a: kotlin.Int - internal final val b: kotlin.String + public final val a: kotlin.Int + public final val b: kotlin.String } public/*package*/ open class Simple { diff --git a/compiler/testData/compileJavaAgainstKotlin/class/ExtendsAbstractListT.txt b/compiler/testData/compileJavaAgainstKotlin/class/ExtendsAbstractListT.txt index f75d288f656..bac0e041978 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/ExtendsAbstractListT.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/ExtendsAbstractListT.txt @@ -4,7 +4,7 @@ public/*package*/ open class ExtendsAbstractListT { public/*package*/ constructor ExtendsAbstractListT() } -internal abstract class Mine : java.util.AbstractList { +public abstract class Mine : java.util.AbstractList { public constructor Mine() protected/*protected and package*/ final /*fake_override*/ var modCount: kotlin.Int public open /*fake_override*/ fun add(/*0*/ T!): kotlin.Boolean diff --git a/compiler/testData/compileJavaAgainstKotlin/class/ImplementsListString.txt b/compiler/testData/compileJavaAgainstKotlin/class/ImplementsListString.txt index 334b8c170c6..a38594d5f07 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/ImplementsListString.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/ImplementsListString.txt @@ -1,6 +1,6 @@ package test -internal abstract class Mine : java.util.List { +public abstract class Mine : java.util.List { public constructor Mine() public abstract /*fake_override*/ fun add(/*0*/ kotlin.Int, /*1*/ kotlin.String!): kotlin.Unit public abstract /*fake_override*/ fun add(/*0*/ kotlin.String!): kotlin.Boolean diff --git a/compiler/testData/compileJavaAgainstKotlin/class/ImplementsMapPP.txt b/compiler/testData/compileJavaAgainstKotlin/class/ImplementsMapPP.txt index a871f84f3d6..accb3d133c5 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/ImplementsMapPP.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/ImplementsMapPP.txt @@ -4,7 +4,7 @@ public/*package*/ open class ImplementsMapPP { public/*package*/ constructor ImplementsMapPP() } -internal abstract class Mine : java.util.Map { +public abstract class Mine : java.util.Map { public constructor Mine() public abstract /*fake_override*/ fun clear(): kotlin.Unit public abstract /*fake_override*/ fun containsKey(/*0*/ kotlin.Any!): kotlin.Boolean diff --git a/compiler/testData/compileJavaAgainstKotlin/class/InnerClass.txt b/compiler/testData/compileJavaAgainstKotlin/class/InnerClass.txt index e448c99e340..c8148bf080d 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/InnerClass.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/InnerClass.txt @@ -6,14 +6,14 @@ public/*package*/ open class InnerClass { public/*package*/ final var field2: test.Outer.Inner2! } -internal final class Outer { +public final class Outer { public constructor Outer() - internal final inner class Inner1 { + public final inner class Inner1 { public constructor Inner1() } - internal final inner class Inner2 { + public final inner class Inner2 { public constructor Inner2(/*0*/ kotlin.String) } } diff --git a/compiler/testData/compileJavaAgainstKotlin/class/InnerClassConstructors.txt b/compiler/testData/compileJavaAgainstKotlin/class/InnerClassConstructors.txt index 14188259edc..60775320dfb 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/InnerClassConstructors.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/InnerClassConstructors.txt @@ -7,14 +7,14 @@ public/*package*/ open class InnerClassConstructors { public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit } -internal final class Outer { +public final class Outer { public constructor Outer() - internal final inner class InnerGeneric { + public final inner class InnerGeneric { public constructor InnerGeneric(/*0*/ kotlin.List) } - internal final inner class InnerPrimitive { + public final inner class InnerPrimitive { public constructor InnerPrimitive(/*0*/ kotlin.Int) } } diff --git a/compiler/testData/compileJavaAgainstKotlin/class/InnerClassOfGeneric.txt b/compiler/testData/compileJavaAgainstKotlin/class/InnerClassOfGeneric.txt index 7c0f5558671..009b6a672fb 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/InnerClassOfGeneric.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/InnerClassOfGeneric.txt @@ -7,14 +7,14 @@ public/*package*/ open class InnerClassOfGeneric { public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit } -internal final class Outer { +public final class Outer { public constructor Outer() - internal final inner class Inner { + public final inner class Inner { public constructor Inner(/*0*/ kotlin.List) } - internal final inner class InnerSimple { + public final inner class InnerSimple { public constructor InnerSimple() } } diff --git a/compiler/testData/compileJavaAgainstKotlin/class/Simple.txt b/compiler/testData/compileJavaAgainstKotlin/class/Simple.txt index ddda4234c09..516b9d7c2dd 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/Simple.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/Simple.txt @@ -1,6 +1,6 @@ package test -internal final class Impossible { +public final class Impossible { public constructor Impossible() } diff --git a/compiler/testData/compileJavaAgainstKotlin/class/StarProjection.txt b/compiler/testData/compileJavaAgainstKotlin/class/StarProjection.txt index f0ce369c3eb..04827ac4b02 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/StarProjection.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/StarProjection.txt @@ -1,11 +1,11 @@ package test -internal fun bar(/*0*/ test.K<*>): kotlin.Unit +public fun bar(/*0*/ test.K<*>): kotlin.Unit -internal open class K> { +public open class K> { public constructor K>() - internal final fun foo(): test.K<*> - internal final fun foo(/*0*/ test.K<*>): kotlin.Unit + public final fun foo(): test.K<*> + public final fun foo(/*0*/ test.K<*>): kotlin.Unit } public open class StarProjection { @@ -13,8 +13,8 @@ public open class StarProjection { public/*package*/ open fun foo(/*0*/ test.K<*>!): kotlin.Unit } -internal final class Sub : test.K> { +public final class Sub : test.K> { public constructor Sub() - internal final /*fake_override*/ fun foo(): test.K<*> - internal final /*fake_override*/ fun foo(/*0*/ test.K<*>): kotlin.Unit + public final /*fake_override*/ fun foo(): test.K<*> + public final /*fake_override*/ fun foo(/*0*/ test.K<*>): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/class/kt3561.txt b/compiler/testData/compileJavaAgainstKotlin/class/kt3561.txt index 07f06112e0e..cd646b253d9 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/kt3561.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/kt3561.txt @@ -1,6 +1,6 @@ package test -internal final enum class MyEnum : kotlin.Enum { +public final enum class MyEnum : kotlin.Enum { enum entry OK private constructor MyEnum() diff --git a/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt b/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt index bca6aa0d48c..15efba5cd12 100644 --- a/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt +++ b/compiler/testData/compileJavaAgainstKotlin/class/kt4050.txt @@ -1,13 +1,13 @@ package test -internal final enum class MyEnum : kotlin.Enum { +public final enum class MyEnum : kotlin.Enum { enum entry ENTRY private constructor MyEnum(/*0*/ kotlin.Deprecated(value = "") kotlin.Int) - kotlin.Deprecated(value = "") internal final val ord: kotlin.Int + kotlin.Deprecated(value = "") public final val ord: kotlin.Int protected final /*fake_override*/ fun clone(): kotlin.Any public final /*fake_override*/ fun compareTo(/*0*/ test.MyEnum): kotlin.Int - internal final fun f(/*0*/ java.lang.Deprecated() kotlin.Int): kotlin.Unit + public final fun f(/*0*/ java.lang.Deprecated() kotlin.Int): kotlin.Unit public final /*fake_override*/ fun name(): kotlin.String public final /*fake_override*/ fun ordinal(): kotlin.Int diff --git a/compiler/testData/compileJavaAgainstKotlin/enum/DefaultArgumentInEnumConstructor.txt b/compiler/testData/compileJavaAgainstKotlin/enum/DefaultArgumentInEnumConstructor.txt index 7e4d6526f52..d32b28dcee6 100644 --- a/compiler/testData/compileJavaAgainstKotlin/enum/DefaultArgumentInEnumConstructor.txt +++ b/compiler/testData/compileJavaAgainstKotlin/enum/DefaultArgumentInEnumConstructor.txt @@ -7,7 +7,7 @@ public open class DefaultArgumentInEnumConstructor { public/*package*/ final var entry: test.K! } -internal final enum class K : kotlin.Enum { +public final enum class K : kotlin.Enum { enum entry ENTRY private constructor K(/*0*/ kotlin.String = ...) diff --git a/compiler/testData/compileJavaAgainstKotlin/method/AccessorGenericSignature.txt b/compiler/testData/compileJavaAgainstKotlin/method/AccessorGenericSignature.txt index ba8723abf76..fcf5ec5f63b 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/AccessorGenericSignature.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/AccessorGenericSignature.txt @@ -9,5 +9,5 @@ public final class BadClass { public constructor BadClass() private final fun bar(/*0*/ kotlin.List): kotlin.Unit private final fun > baz(/*0*/ kotlin.List): kotlin.Unit - internal final fun foo(): kotlin.Unit + public final fun foo(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Any.txt b/compiler/testData/compileJavaAgainstKotlin/method/Any.txt index a3ef6836020..ac794806e64 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Any.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Any.txt @@ -1,6 +1,6 @@ package test -internal fun anyany(/*0*/ kotlin.Any, /*1*/ java.util.List): kotlin.Any +public fun anyany(/*0*/ kotlin.Any, /*1*/ java.util.List): kotlin.Any public/*package*/ open class Any { public/*package*/ constructor Any() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntArray.txt b/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntArray.txt index bc4e67fc1ab..5ac409be26f 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntArray.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntArray.txt @@ -1,6 +1,6 @@ package test -internal fun ohMy(/*0*/ kotlin.Array): kotlin.Array +public fun ohMy(/*0*/ kotlin.Array): kotlin.Array public/*package*/ open class ArrayOfIntArray { public/*package*/ constructor ArrayOfIntArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntegerArray.txt b/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntegerArray.txt index 2222cc9a61e..e5f2294574d 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntegerArray.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/ArrayOfIntegerArray.txt @@ -1,6 +1,6 @@ package test -internal fun ohMy(/*0*/ kotlin.Array>, /*1*/ java.util.List): kotlin.Array> +public fun ohMy(/*0*/ kotlin.Array>, /*1*/ java.util.List): kotlin.Array> public/*package*/ open class ArrayOfIntArray { public/*package*/ constructor ArrayOfIntArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/ClashingSignaturesWithoutReturnType.txt b/compiler/testData/compileJavaAgainstKotlin/method/ClashingSignaturesWithoutReturnType.txt index 73e94f8cf80..046e147a660 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/ClashingSignaturesWithoutReturnType.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/ClashingSignaturesWithoutReturnType.txt @@ -5,8 +5,8 @@ public open class ClashingSignaturesWithoutReturnType { public/*package*/ open fun test(/*0*/ kotlin.(Mutable)List!, /*1*/ kotlin.(Mutable)List!): kotlin.Unit } -internal final class K { +public final class K { public constructor K() - internal final fun foo(/*0*/ kotlin.List): kotlin.Int - internal final fun foo(/*0*/ kotlin.List): kotlin.String + public final fun foo(/*0*/ kotlin.List): kotlin.Int + public final fun foo(/*0*/ kotlin.List): kotlin.String } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Delegation.txt b/compiler/testData/compileJavaAgainstKotlin/method/Delegation.txt index bb28287c7eb..8f27b840cb9 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Delegation.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Delegation.txt @@ -1,9 +1,9 @@ package test -internal final class Impl : test.Trait { +public final class Impl : test.Trait { public constructor Impl() - internal open val bar: kotlin.Int - internal open fun foo(): kotlin.Unit + public open val bar: kotlin.Int + public open fun foo(): kotlin.Unit } public/*package*/ open class JavaClass { @@ -13,13 +13,13 @@ public/*package*/ open class JavaClass { public open fun main(/*0*/ kotlin.Array<(out) kotlin.String!>!): kotlin.Unit } -internal final class Test : test.Trait { +public final class Test : test.Trait { public constructor Test() - internal open /*delegation*/ val bar: kotlin.Int - internal open /*delegation*/ fun foo(): kotlin.Unit + public open /*delegation*/ val bar: kotlin.Int + public open /*delegation*/ fun foo(): kotlin.Unit } -internal interface Trait { - internal abstract val bar: kotlin.Int - internal abstract fun foo(): kotlin.Unit +public interface Trait { + public abstract val bar: kotlin.Int + public abstract fun foo(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Extensions.txt b/compiler/testData/compileJavaAgainstKotlin/method/Extensions.txt index a4cb5287544..cf908a1e24a 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Extensions.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Extensions.txt @@ -1,7 +1,7 @@ package test -internal fun kotlin.String.noParam(): kotlin.Unit -internal fun kotlin.String.param(/*0*/ kotlin.String): kotlin.Unit +public fun kotlin.String.noParam(): kotlin.Unit +public fun kotlin.String.param(/*0*/ kotlin.String): kotlin.Unit public/*package*/ open class GenericArray { public/*package*/ constructor GenericArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/GenericArray.txt b/compiler/testData/compileJavaAgainstKotlin/method/GenericArray.txt index c0e66b27ffe..a312004b1cc 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/GenericArray.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/GenericArray.txt @@ -1,6 +1,6 @@ package test -internal fun ffgg(/*0*/ kotlin.Array

): kotlin.Array

+public fun ffgg(/*0*/ kotlin.Array

): kotlin.Array

public/*package*/ open class GenericArray { public/*package*/ constructor GenericArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Hello.txt b/compiler/testData/compileJavaAgainstKotlin/method/Hello.txt index 955cf9af8a2..72a5a73ccb6 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Hello.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Hello.txt @@ -1,6 +1,6 @@ package test -internal fun f(): kotlin.String +public fun f(): kotlin.String public/*package*/ open class Hello { public/*package*/ constructor Hello() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Int.txt b/compiler/testData/compileJavaAgainstKotlin/method/Int.txt index 99872697633..acfcadb0f42 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Int.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Int.txt @@ -1,6 +1,6 @@ package test -internal fun lll(/*0*/ kotlin.Int): kotlin.Int +public fun lll(/*0*/ kotlin.Int): kotlin.Int public/*package*/ open class Int { public/*package*/ constructor Int() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/IntArray.txt b/compiler/testData/compileJavaAgainstKotlin/method/IntArray.txt index 7e3a7af7adb..5a2263544f9 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/IntArray.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/IntArray.txt @@ -1,6 +1,6 @@ package test -internal fun doNothing(/*0*/ kotlin.IntArray, /*1*/ java.util.List): kotlin.IntArray +public fun doNothing(/*0*/ kotlin.IntArray, /*1*/ java.util.List): kotlin.IntArray public/*package*/ open class IntArray { public/*package*/ constructor IntArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/IntWithDefault.txt b/compiler/testData/compileJavaAgainstKotlin/method/IntWithDefault.txt index aee2606df17..44a02cea461 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/IntWithDefault.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/IntWithDefault.txt @@ -1,6 +1,6 @@ package test -internal fun www(/*0*/ kotlin.Int = ...): kotlin.Int +public fun www(/*0*/ kotlin.Int = ...): kotlin.Int public/*package*/ open class IntWithDefault { public/*package*/ constructor IntWithDefault() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/IntegerArray.txt b/compiler/testData/compileJavaAgainstKotlin/method/IntegerArray.txt index ed12e37ccf4..faa2356be53 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/IntegerArray.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/IntegerArray.txt @@ -1,6 +1,6 @@ package test -internal fun doNothing(/*0*/ kotlin.Array, /*1*/ java.util.List): kotlin.Array +public fun doNothing(/*0*/ kotlin.Array, /*1*/ java.util.List): kotlin.Array public/*package*/ open class IntArray { public/*package*/ constructor IntArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/ListOfInt.txt b/compiler/testData/compileJavaAgainstKotlin/method/ListOfInt.txt index 7101265c8a8..c3ba05b9d81 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/ListOfInt.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/ListOfInt.txt @@ -1,6 +1,6 @@ package test -internal fun ggg(/*0*/ kotlin.List): kotlin.List +public fun ggg(/*0*/ kotlin.List): kotlin.List public/*package*/ open class ListOfInt { public/*package*/ constructor ListOfInt() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/ListOfString.txt b/compiler/testData/compileJavaAgainstKotlin/method/ListOfString.txt index 7200f1079ad..13bc0c948c7 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/ListOfString.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/ListOfString.txt @@ -1,6 +1,6 @@ package test -internal fun ff(/*0*/ kotlin.List): kotlin.Int +public fun ff(/*0*/ kotlin.List): kotlin.Int public/*package*/ open class ListString { public/*package*/ constructor ListString() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/ListOfT.txt b/compiler/testData/compileJavaAgainstKotlin/method/ListOfT.txt index cebae00646d..96904e2e9bd 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/ListOfT.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/ListOfT.txt @@ -1,6 +1,6 @@ package test -internal fun listOfT(/*0*/ kotlin.List

): kotlin.List

+public fun listOfT(/*0*/ kotlin.List

): kotlin.List

public/*package*/ open class ListOfT { public/*package*/ constructor ListOfT() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/MapOfKString.txt b/compiler/testData/compileJavaAgainstKotlin/method/MapOfKString.txt index c61ba0b352c..9a3b6eb4d61 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/MapOfKString.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/MapOfKString.txt @@ -1,6 +1,6 @@ package test -internal fun fff(/*0*/ kotlin.Map): kotlin.Map +public fun fff(/*0*/ kotlin.Map): kotlin.Map public/*package*/ open class MapOfKString { public/*package*/ constructor MapOfKString() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/MapOfStringIntQ.txt b/compiler/testData/compileJavaAgainstKotlin/method/MapOfStringIntQ.txt index 0e83dbe176b..d3daf6dcc3c 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/MapOfStringIntQ.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/MapOfStringIntQ.txt @@ -1,6 +1,6 @@ package test -internal fun fff(/*0*/ kotlin.Map): kotlin.Map +public fun fff(/*0*/ kotlin.Map): kotlin.Map public/*package*/ open class MapOfKString { public/*package*/ constructor MapOfKString() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/QExtendsListString.txt b/compiler/testData/compileJavaAgainstKotlin/method/QExtendsListString.txt index 6ec96655264..f96d271aece 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/QExtendsListString.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/QExtendsListString.txt @@ -1,6 +1,6 @@ package test -internal fun > id(/*0*/ P1): P1 +public fun > id(/*0*/ P1): P1 public/*package*/ open class Question { public/*package*/ constructor Question() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/QExtendsString.txt b/compiler/testData/compileJavaAgainstKotlin/method/QExtendsString.txt index c34ba2c9e08..28a501c769d 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/QExtendsString.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/QExtendsString.txt @@ -1,6 +1,6 @@ package test -internal fun id(/*0*/ T): T +public fun id(/*0*/ T): T public/*package*/ open class Question { public/*package*/ constructor Question() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/TraitImpl.txt b/compiler/testData/compileJavaAgainstKotlin/method/TraitImpl.txt index 03997ba5129..284e28eaa20 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/TraitImpl.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/TraitImpl.txt @@ -1,12 +1,12 @@ package test -internal interface Trait { - internal open fun generic(/*0*/ kotlin.List): kotlin.Unit - internal open fun simple(): kotlin.Unit +public interface Trait { + public open fun generic(/*0*/ kotlin.List): kotlin.Unit + public open fun simple(): kotlin.Unit } public/*package*/ abstract class TraitImpl : test.Trait { public/*package*/ constructor TraitImpl() - internal open /*fake_override*/ fun generic(/*0*/ kotlin.List): kotlin.Unit - internal open /*fake_override*/ fun simple(): kotlin.Unit + public open /*fake_override*/ fun generic(/*0*/ kotlin.List): kotlin.Unit + public open /*fake_override*/ fun simple(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Vararg.txt b/compiler/testData/compileJavaAgainstKotlin/method/Vararg.txt index bbfa1483ab3..ec213803ddb 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Vararg.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Vararg.txt @@ -1,6 +1,6 @@ package test -internal fun gg(/*0*/ kotlin.List, /*1*/ vararg kotlin.Int /*kotlin.IntArray*/): kotlin.List +public fun gg(/*0*/ kotlin.List, /*1*/ vararg kotlin.Int /*kotlin.IntArray*/): kotlin.List public/*package*/ open class Vararg { public/*package*/ constructor Vararg() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/Void.txt b/compiler/testData/compileJavaAgainstKotlin/method/Void.txt index 0faa11839b0..9f239ab27fc 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/Void.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/Void.txt @@ -1,6 +1,6 @@ package test -internal fun f(): kotlin.Unit +public fun f(): kotlin.Unit public/*package*/ open class Void { public/*package*/ constructor Void() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt b/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt index 8d053abdb46..d0b07c19abe 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/platformName/PlatformName.txt @@ -1,6 +1,6 @@ package test -kotlin.jvm.JvmName(name = "bar") internal fun foo(): kotlin.Unit +kotlin.jvm.JvmName(name = "bar") public fun foo(): kotlin.Unit public open class PlatformName { public constructor PlatformName() diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ByteOverridesObject.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ByteOverridesObject.txt index 2ceb1273a48..f0926fe3129 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ByteOverridesObject.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ByteOverridesObject.txt @@ -1,22 +1,22 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal open fun foo(): kotlin.Byte + public open fun foo(): kotlin.Byte } -internal abstract class C : test.A { +public abstract class C : test.A { public constructor C() - internal abstract /*fake_override*/ fun foo(): kotlin.Byte + public abstract /*fake_override*/ fun foo(): kotlin.Byte } public/*package*/ open class ExtendsB : test.B { public/*package*/ constructor ExtendsB() - internal open /*fake_override*/ fun foo(): kotlin.Byte + public open /*fake_override*/ fun foo(): kotlin.Byte public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallFinalNotInSubclass.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallFinalNotInSubclass.txt index 602a12b6a89..16f23e16f6e 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallFinalNotInSubclass.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallFinalNotInSubclass.txt @@ -1,12 +1,12 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal final class B : test.A { +public final class B : test.A { public constructor B() - internal final fun foo(): kotlin.Int + public final fun foo(): kotlin.Int } public/*package*/ open class Test { diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallNotInSubclass.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallNotInSubclass.txt index 6f4e8cf8d2e..df590cb4dd4 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallNotInSubclass.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CallNotInSubclass.txt @@ -1,12 +1,12 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal final class B : test.A { +public final class B : test.A { public constructor B() - internal open fun foo(): kotlin.Int + public open fun foo(): kotlin.Int } public/*package*/ open class Test { diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CovariantReturnTypeOverride.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CovariantReturnTypeOverride.txt index 89e7bed8deb..f0b12807b1e 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CovariantReturnTypeOverride.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/CovariantReturnTypeOverride.txt @@ -1,16 +1,16 @@ package test -internal interface A { - internal abstract fun foo(): kotlin.Any +public interface A { + public abstract fun foo(): kotlin.Any } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal open fun foo(): kotlin.Int + public open fun foo(): kotlin.Int } public/*package*/ open class Test : test.B { public/*package*/ constructor Test() - internal open /*fake_override*/ fun foo(): kotlin.Int + public open /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/FinalOverride.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/FinalOverride.txt index fc485350d3a..436bdbf995b 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/FinalOverride.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/FinalOverride.txt @@ -1,16 +1,16 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal final fun foo(): kotlin.Int + public final fun foo(): kotlin.Int } public/*package*/ open class Test : test.B { public/*package*/ constructor Test() - internal final /*fake_override*/ fun foo(): kotlin.Int + public final /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesComparable.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesComparable.txt index 6328834735d..6f3c0eb8037 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesComparable.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesComparable.txt @@ -1,22 +1,22 @@ package test -internal interface A> { - internal abstract fun foo(): T +public interface A> { + public abstract fun foo(): T } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal open fun foo(): kotlin.Int + public open fun foo(): kotlin.Int } -internal abstract class C : test.A { +public abstract class C : test.A { public constructor C() - internal abstract /*fake_override*/ fun foo(): kotlin.Int + public abstract /*fake_override*/ fun foo(): kotlin.Int } public/*package*/ open class ExtendsB : test.B { public/*package*/ constructor ExtendsB() - internal open /*fake_override*/ fun foo(): kotlin.Int + public open /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesNumber.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesNumber.txt index e23a75459d8..51734bf29e2 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesNumber.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesNumber.txt @@ -1,22 +1,22 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal open fun foo(): kotlin.Int + public open fun foo(): kotlin.Int } -internal abstract class C : test.A { +public abstract class C : test.A { public constructor C() - internal abstract /*fake_override*/ fun foo(): kotlin.Int + public abstract /*fake_override*/ fun foo(): kotlin.Int } public/*package*/ open class ExtendsB : test.B { public/*package*/ constructor ExtendsB() - internal open /*fake_override*/ fun foo(): kotlin.Int + public open /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesObject.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesObject.txt index d4f815b37c3..49813bf90d2 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesObject.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/IntOverridesObject.txt @@ -1,22 +1,22 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal open fun foo(): kotlin.Int + public open fun foo(): kotlin.Int } -internal abstract class C : test.A { +public abstract class C : test.A { public constructor C() - internal abstract /*fake_override*/ fun foo(): kotlin.Int + public abstract /*fake_override*/ fun foo(): kotlin.Int } public/*package*/ open class ExtendsB : test.B { public/*package*/ constructor ExtendsB() - internal open /*fake_override*/ fun foo(): kotlin.Int + public open /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ManyClassesHierarchy.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ManyClassesHierarchy.txt index 1364ca5b8d8..1dd4fa0a178 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ManyClassesHierarchy.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/ManyClassesHierarchy.txt @@ -1,25 +1,25 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal interface B : test.A { - internal abstract /*fake_override*/ fun foo(): kotlin.Int +public interface B : test.A { + public abstract /*fake_override*/ fun foo(): kotlin.Int } -internal abstract class C : test.B { +public abstract class C : test.B { public constructor C() - internal abstract /*fake_override*/ fun foo(): kotlin.Int + public abstract /*fake_override*/ fun foo(): kotlin.Int } -internal open class D : test.C { +public open class D : test.C { public constructor D() - internal open fun foo(): kotlin.Int + public open fun foo(): kotlin.Int } public/*package*/ open class ExtendsD : test.D { public/*package*/ constructor ExtendsD() - internal open /*fake_override*/ fun foo(): kotlin.Int + public open /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/NullableIntOverridesObject.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/NullableIntOverridesObject.txt index 172f848f148..6ecaddff2da 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/NullableIntOverridesObject.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/NullableIntOverridesObject.txt @@ -1,22 +1,22 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal open class B : test.A { +public open class B : test.A { public constructor B() - internal open fun foo(): kotlin.Int? + public open fun foo(): kotlin.Int? } -internal abstract class C : test.A { +public abstract class C : test.A { public constructor C() - internal abstract /*fake_override*/ fun foo(): kotlin.Int? + public abstract /*fake_override*/ fun foo(): kotlin.Int? } public/*package*/ open class ExtendsB : test.B { public/*package*/ constructor ExtendsB() - internal open /*fake_override*/ fun foo(): kotlin.Int? + public open /*fake_override*/ fun foo(): kotlin.Int? public/*package*/ open fun test(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/OverrideInJava.txt b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/OverrideInJava.txt index b337973dbde..d290c1d76f9 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/OverrideInJava.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/primitiveOverride/OverrideInJava.txt @@ -1,12 +1,12 @@ package test -internal interface A { - internal abstract fun foo(): T +public interface A { + public abstract fun foo(): T } -internal abstract class B : test.A { +public abstract class B : test.A { public constructor B() - internal abstract fun foo(): kotlin.Int + public abstract fun foo(): kotlin.Int } public/*package*/ open class ExtendsB : test.B { diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/ClassMembers.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/ClassMembers.txt index d5075f775aa..a871e320557 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/ClassMembers.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/ClassMembers.txt @@ -1,13 +1,13 @@ package test -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? public final /*fake_override*/ fun printStackTrace(): kotlin.Unit } -internal final class E2 : java.lang.Exception { +public final class E2 : java.lang.Exception { public constructor E2() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? @@ -19,9 +19,9 @@ public/*package*/ open class JavaClass { public/*package*/ open fun testMethod(): kotlin.Unit } -internal final class Test { +public final class Test { public constructor Test() - internal final fun none(): kotlin.Unit - internal final fun one(): kotlin.Unit - internal final fun two(): kotlin.Unit + public final fun none(): kotlin.Unit + public final fun one(): kotlin.Unit + public final fun two(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/Constructor.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/Constructor.txt index 89df318073e..7c698c4f2b1 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/Constructor.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/Constructor.txt @@ -1,13 +1,13 @@ package test -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? public final /*fake_override*/ fun printStackTrace(): kotlin.Unit } -internal final class E2 : java.lang.Exception { +public final class E2 : java.lang.Exception { public constructor E2() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? @@ -19,18 +19,18 @@ public/*package*/ open class JavaClass { public/*package*/ open fun testMethod(): kotlin.Unit } -internal final class None { +public final class None { public constructor None() } -internal final class One { +public final class One { public constructor One() } -internal final class OneWithParam { +public final class OneWithParam { public constructor OneWithParam(/*0*/ kotlin.Int) } -internal final class Two { +public final class Two { public constructor Two() } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/DefaultArgs.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/DefaultArgs.txt index 8278d6e772a..f5d85cd7fcb 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/DefaultArgs.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/DefaultArgs.txt @@ -1,8 +1,8 @@ package test -kotlin.jvm.JvmOverloads() internal fun one(/*0*/ kotlin.Int = ...): kotlin.Unit +kotlin.jvm.JvmOverloads() public fun one(/*0*/ kotlin.Int = ...): kotlin.Unit -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? @@ -14,7 +14,7 @@ public/*package*/ open class JavaClass { public/*package*/ open fun testMethod(/*0*/ test.One!): kotlin.Unit } -internal final class One { +public final class One { public constructor One(/*0*/ kotlin.Int = ...) - internal final fun one(/*0*/ kotlin.Int = ...): kotlin.Unit + public final fun one(/*0*/ kotlin.Int = ...): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/Delegation.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/Delegation.txt index 1621a4b1170..df65411e76c 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/Delegation.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/Delegation.txt @@ -1,24 +1,24 @@ package test -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? public final /*fake_override*/ fun printStackTrace(): kotlin.Unit } -internal final class E2 : java.lang.Exception { +public final class E2 : java.lang.Exception { public constructor E2() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? public final /*fake_override*/ fun printStackTrace(): kotlin.Unit } -internal final class Impl : test.Trait { +public final class Impl : test.Trait { public constructor Impl() - internal open fun none(): kotlin.Unit - internal open fun one(): kotlin.Unit - internal open fun two(): kotlin.Unit + public open fun none(): kotlin.Unit + public open fun one(): kotlin.Unit + public open fun two(): kotlin.Unit } public/*package*/ open class JavaClass { @@ -26,15 +26,15 @@ public/*package*/ open class JavaClass { public/*package*/ open fun testMethod(): kotlin.Unit } -internal final class Test : test.Trait { +public final class Test : test.Trait { public constructor Test() - internal open /*delegation*/ fun none(): kotlin.Unit - internal open /*delegation*/ fun one(): kotlin.Unit - internal open /*delegation*/ fun two(): kotlin.Unit + public open /*delegation*/ fun none(): kotlin.Unit + public open /*delegation*/ fun one(): kotlin.Unit + public open /*delegation*/ fun two(): kotlin.Unit } -internal interface Trait { - internal abstract fun none(): kotlin.Unit - internal abstract fun one(): kotlin.Unit - internal abstract fun two(): kotlin.Unit +public interface Trait { + public abstract fun none(): kotlin.Unit + public abstract fun one(): kotlin.Unit + public abstract fun two(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.txt index ea8545911e8..78a9d14c7c2 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/GenericSubstitution.txt @@ -1,15 +1,15 @@ package test -internal interface Base { - internal open fun one(/*0*/ T): kotlin.Unit +public interface Base { + public open fun one(/*0*/ T): kotlin.Unit } -internal final class Derived : test.Base { +public final class Derived : test.Base { public constructor Derived() - internal open /*fake_override*/ fun one(/*0*/ kotlin.String): kotlin.Unit + public open /*fake_override*/ fun one(/*0*/ kotlin.String): kotlin.Unit } -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.txt index 0405ce718f1..5c8b47ed233 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/TopLevel.txt @@ -1,17 +1,17 @@ package test -internal fun none(): kotlin.Unit -internal fun one(): kotlin.Unit -internal fun two(): kotlin.Unit +public fun none(): kotlin.Unit +public fun one(): kotlin.Unit +public fun two(): kotlin.Unit -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? public final /*fake_override*/ fun printStackTrace(): kotlin.Unit } -internal final class E2 : java.lang.Exception { +public final class E2 : java.lang.Exception { public constructor E2() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? diff --git a/compiler/testData/compileJavaAgainstKotlin/method/throws/TraitMembers.txt b/compiler/testData/compileJavaAgainstKotlin/method/throws/TraitMembers.txt index 462c82aba1d..ebb533c25f6 100644 --- a/compiler/testData/compileJavaAgainstKotlin/method/throws/TraitMembers.txt +++ b/compiler/testData/compileJavaAgainstKotlin/method/throws/TraitMembers.txt @@ -1,13 +1,13 @@ package test -internal final class E1 : java.lang.Exception { +public final class E1 : java.lang.Exception { public constructor E1() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? public final /*fake_override*/ fun printStackTrace(): kotlin.Unit } -internal final class E2 : java.lang.Exception { +public final class E2 : java.lang.Exception { public constructor E2() public final /*fake_override*/ fun getCause(): kotlin.Throwable? public final /*fake_override*/ fun getMessage(): kotlin.String? @@ -19,15 +19,15 @@ public/*package*/ open class JavaClass { public/*package*/ open fun testMethod(): kotlin.Unit } -internal final class Test : test.Trait { +public final class Test : test.Trait { public constructor Test() - internal open /*fake_override*/ fun none(): kotlin.Unit - internal open /*fake_override*/ fun one(): kotlin.Unit - internal open /*fake_override*/ fun two(): kotlin.Unit + public open /*fake_override*/ fun none(): kotlin.Unit + public open /*fake_override*/ fun one(): kotlin.Unit + public open /*fake_override*/ fun two(): kotlin.Unit } -internal interface Trait { - internal open fun none(): kotlin.Unit - internal open fun one(): kotlin.Unit - internal open fun two(): kotlin.Unit +public interface Trait { + public open fun none(): kotlin.Unit + public open fun one(): kotlin.Unit + public open fun two(): kotlin.Unit } diff --git a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObject.txt b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObject.txt index 253ee294d9e..e34cf198956 100644 --- a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObject.txt +++ b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObject.txt @@ -1,17 +1,17 @@ package test -internal fun main(/*0*/ kotlin.Array): kotlin.Unit +public fun main(/*0*/ kotlin.Array): kotlin.Unit -internal final class A { +public final class A { public constructor A() public companion object Companion { private constructor Companion() - internal final val b: kotlin.String - kotlin.platform.platformStatic() internal final fun test1(): kotlin.Unit - kotlin.platform.platformStatic() internal final fun test2(): kotlin.Unit - internal final fun test3(): kotlin.Unit - kotlin.platform.platformStatic() internal final fun kotlin.String.test4(): kotlin.Unit + public final val b: kotlin.String + kotlin.platform.platformStatic() public final fun test1(): kotlin.Unit + kotlin.platform.platformStatic() public final fun test2(): kotlin.Unit + public final fun test3(): kotlin.Unit + kotlin.platform.platformStatic() public final fun kotlin.String.test4(): kotlin.Unit } } diff --git a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObjectProperty.txt b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObjectProperty.txt index 462df314f9c..8371bebf551 100644 --- a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObjectProperty.txt +++ b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleClassObjectProperty.txt @@ -1,14 +1,14 @@ package test -internal fun main(/*0*/ kotlin.Array): kotlin.Unit +public fun main(/*0*/ kotlin.Array): kotlin.Unit -internal final class A { +public final class A { public constructor A() public companion object Companion { private constructor Companion() - kotlin.platform.platformStatic() internal final val b: kotlin.String - internal final var test.A.c: kotlin.String + kotlin.platform.platformStatic() public final val b: kotlin.String + public final var test.A.c: kotlin.String } } diff --git a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObject.txt b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObject.txt index 526a5e4b56b..61a0fa95764 100644 --- a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObject.txt +++ b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObject.txt @@ -1,14 +1,14 @@ package test -internal fun main(/*0*/ kotlin.Array): kotlin.Unit +public fun main(/*0*/ kotlin.Array): kotlin.Unit -internal object A { +public object A { private constructor A() - internal final val b: kotlin.String - kotlin.platform.platformStatic() internal final fun test1(): kotlin.Unit - kotlin.platform.platformStatic() internal final fun test2(): kotlin.Unit - internal final fun test3(): kotlin.Unit - kotlin.platform.platformStatic() internal final fun kotlin.String.test4(): kotlin.Unit + public final val b: kotlin.String + kotlin.platform.platformStatic() public final fun test1(): kotlin.Unit + kotlin.platform.platformStatic() public final fun test2(): kotlin.Unit + public final fun test3(): kotlin.Unit + kotlin.platform.platformStatic() public final fun kotlin.String.test4(): kotlin.Unit } public/*package*/ open class Test { diff --git a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObjectProperty.txt b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObjectProperty.txt index 0f8aa9229f0..9a15f7be414 100644 --- a/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObjectProperty.txt +++ b/compiler/testData/compileJavaAgainstKotlin/platformStatic/simpleObjectProperty.txt @@ -1,11 +1,11 @@ package test -internal fun main(/*0*/ kotlin.Array): kotlin.Unit +public fun main(/*0*/ kotlin.Array): kotlin.Unit -internal object A { +public object A { private constructor A() - kotlin.platform.platformStatic() internal final val b: kotlin.String - internal final var test.A.c: kotlin.String + kotlin.platform.platformStatic() public final val b: kotlin.String + public final var test.A.c: kotlin.String } public/*package*/ open class Test { diff --git a/compiler/testData/compileJavaAgainstKotlin/property/Extensions.txt b/compiler/testData/compileJavaAgainstKotlin/property/Extensions.txt index dab01b9668e..9ce03619867 100644 --- a/compiler/testData/compileJavaAgainstKotlin/property/Extensions.txt +++ b/compiler/testData/compileJavaAgainstKotlin/property/Extensions.txt @@ -1,7 +1,7 @@ package test -internal val kotlin.String.val_: kotlin.String -internal var kotlin.String.var_: kotlin.String +public val kotlin.String.val_: kotlin.String +public var kotlin.String.var_: kotlin.String public/*package*/ open class GenericArray { public/*package*/ constructor GenericArray() diff --git a/compiler/testData/compileJavaAgainstKotlin/property/GenericProperty.txt b/compiler/testData/compileJavaAgainstKotlin/property/GenericProperty.txt index 9822e7808e1..1565b69f681 100644 --- a/compiler/testData/compileJavaAgainstKotlin/property/GenericProperty.txt +++ b/compiler/testData/compileJavaAgainstKotlin/property/GenericProperty.txt @@ -1,6 +1,6 @@ package test -internal val test: kotlin.Map +public val test: kotlin.Map public/*package*/ open class GenericProperty { public/*package*/ constructor GenericProperty() diff --git a/compiler/testData/compileJavaAgainstKotlin/property/platformName/PlatformName.txt b/compiler/testData/compileJavaAgainstKotlin/property/platformName/PlatformName.txt index 77907dbf6c2..3c790e3341b 100644 --- a/compiler/testData/compileJavaAgainstKotlin/property/platformName/PlatformName.txt +++ b/compiler/testData/compileJavaAgainstKotlin/property/platformName/PlatformName.txt @@ -1,6 +1,6 @@ package test -internal var v: kotlin.Int +public var v: kotlin.Int public open class PlatformName { public constructor PlatformName() diff --git a/compiler/testData/compileJavaAgainstKotlin/sealed/Derived.txt b/compiler/testData/compileJavaAgainstKotlin/sealed/Derived.txt index 3fb04502803..a054a8fe789 100644 --- a/compiler/testData/compileJavaAgainstKotlin/sealed/Derived.txt +++ b/compiler/testData/compileJavaAgainstKotlin/sealed/Derived.txt @@ -3,11 +3,11 @@ package test public sealed class Season { private constructor Season() - internal final class Cold : test.Season { + public final class Cold : test.Season { public constructor Cold() } - internal final class Warm : test.Season { + public final class Warm : test.Season { public constructor Warm() } } diff --git a/compiler/testData/compileJavaAgainstKotlin/sealed/Instance.txt b/compiler/testData/compileJavaAgainstKotlin/sealed/Instance.txt index 3fb04502803..a054a8fe789 100644 --- a/compiler/testData/compileJavaAgainstKotlin/sealed/Instance.txt +++ b/compiler/testData/compileJavaAgainstKotlin/sealed/Instance.txt @@ -3,11 +3,11 @@ package test public sealed class Season { private constructor Season() - internal final class Cold : test.Season { + public final class Cold : test.Season { public constructor Cold() } - internal final class Warm : test.Season { + public final class Warm : test.Season { public constructor Warm() } } diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt index c1267305f6b..4685926c6be 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationClass.txt @@ -1,55 +1,55 @@ package test -kotlin.annotation.annotation() internal final class AByte : kotlin.Annotation { +kotlin.annotation.annotation() public final class AByte : kotlin.Annotation { public constructor AByte(/*0*/ kotlin.Byte) - internal final val value: kotlin.Byte + public final val value: kotlin.Byte } -kotlin.annotation.annotation() internal final class AChar : kotlin.Annotation { +kotlin.annotation.annotation() public final class AChar : kotlin.Annotation { public constructor AChar(/*0*/ kotlin.Char) - internal final val value: kotlin.Char + public final val value: kotlin.Char } -kotlin.annotation.annotation() internal final class ADouble : kotlin.Annotation { +kotlin.annotation.annotation() public final class ADouble : kotlin.Annotation { public constructor ADouble(/*0*/ kotlin.Double) - internal final val value: kotlin.Double + public final val value: kotlin.Double } -kotlin.annotation.annotation() internal final class AFloat : kotlin.Annotation { +kotlin.annotation.annotation() public final class AFloat : kotlin.Annotation { public constructor AFloat(/*0*/ kotlin.Float) - internal final val value: kotlin.Float + public final val value: kotlin.Float } -kotlin.annotation.annotation() internal final class AInt : kotlin.Annotation { +kotlin.annotation.annotation() public final class AInt : kotlin.Annotation { public constructor AInt(/*0*/ kotlin.Int) - internal final val value: kotlin.Int + public final val value: kotlin.Int } -kotlin.annotation.annotation() internal final class ALong : kotlin.Annotation { +kotlin.annotation.annotation() public final class ALong : kotlin.Annotation { public constructor ALong(/*0*/ kotlin.Long) - internal final val value: kotlin.Long + public final val value: kotlin.Long } -kotlin.annotation.annotation() internal final class AString : kotlin.Annotation { +kotlin.annotation.annotation() public final class AString : kotlin.Annotation { public constructor AString(/*0*/ kotlin.String) - internal final val value: kotlin.String + public final val value: kotlin.String } test.AString(value = "Test") test.AChar(value = \u0063 ('c')) test.AInt(value = 10) test.AByte(value = 11) test.ALong(value = 12.toLong()) test.ADouble(value = 1.2.toDouble()) test.AFloat(value = 1.3.toFloat()) public open class AnnotationClass { public constructor AnnotationClass() } -internal final class Test { +public final class Test { public constructor Test() public companion object Companion { private constructor Companion() - internal final val vbyte: kotlin.Byte - internal final val vchar: kotlin.Char - internal final val vdouble: kotlin.Double - internal final val vfloat: kotlin.Float - internal final val vint: kotlin.Int - internal final val vlong: kotlin.Long - internal final val vstring: kotlin.String + public final val vbyte: kotlin.Byte + public final val vchar: kotlin.Char + public final val vdouble: kotlin.Double + public final val vfloat: kotlin.Float + public final val vint: kotlin.Int + public final val vlong: kotlin.Long + public final val vstring: kotlin.String } } diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt index 4f0b36ea32f..c4affae8b21 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/AnnotationTrait.txt @@ -1,54 +1,54 @@ package test -kotlin.annotation.annotation() internal final class AByte : kotlin.Annotation { +kotlin.annotation.annotation() public final class AByte : kotlin.Annotation { public constructor AByte(/*0*/ kotlin.Byte) - internal final val value: kotlin.Byte + public final val value: kotlin.Byte } -kotlin.annotation.annotation() internal final class AChar : kotlin.Annotation { +kotlin.annotation.annotation() public final class AChar : kotlin.Annotation { public constructor AChar(/*0*/ kotlin.Char) - internal final val value: kotlin.Char + public final val value: kotlin.Char } -kotlin.annotation.annotation() internal final class ADouble : kotlin.Annotation { +kotlin.annotation.annotation() public final class ADouble : kotlin.Annotation { public constructor ADouble(/*0*/ kotlin.Double) - internal final val value: kotlin.Double + public final val value: kotlin.Double } -kotlin.annotation.annotation() internal final class AFloat : kotlin.Annotation { +kotlin.annotation.annotation() public final class AFloat : kotlin.Annotation { public constructor AFloat(/*0*/ kotlin.Float) - internal final val value: kotlin.Float + public final val value: kotlin.Float } -kotlin.annotation.annotation() internal final class AInt : kotlin.Annotation { +kotlin.annotation.annotation() public final class AInt : kotlin.Annotation { public constructor AInt(/*0*/ kotlin.Int) - internal final val value: kotlin.Int + public final val value: kotlin.Int } -kotlin.annotation.annotation() internal final class ALong : kotlin.Annotation { +kotlin.annotation.annotation() public final class ALong : kotlin.Annotation { public constructor ALong(/*0*/ kotlin.Long) - internal final val value: kotlin.Long + public final val value: kotlin.Long } -kotlin.annotation.annotation() internal final class AString : kotlin.Annotation { +kotlin.annotation.annotation() public final class AString : kotlin.Annotation { public constructor AString(/*0*/ kotlin.String) - internal final val value: kotlin.String + public final val value: kotlin.String } test.AString(value = "Test") test.AChar(value = \u0063 ('c')) test.AInt(value = 10) test.AByte(value = 11) test.ALong(value = 12.toLong()) test.ADouble(value = 1.2.toDouble()) test.AFloat(value = 1.3.toFloat()) public open class AnnotationTrait { public constructor AnnotationTrait() } -internal interface Test { +public interface Test { public companion object Companion { private constructor Companion() - internal final val vbyte: kotlin.Byte - internal final val vchar: kotlin.Char - internal final val vdouble: kotlin.Double - internal final val vfloat: kotlin.Float - internal final val vint: kotlin.Int - internal final val vlong: kotlin.Long - internal final val vstring: kotlin.String + public final val vbyte: kotlin.Byte + public final val vchar: kotlin.Char + public final val vdouble: kotlin.Double + public final val vfloat: kotlin.Float + public final val vint: kotlin.Int + public final val vlong: kotlin.Long + public final val vstring: kotlin.String } } diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt index 16f4f02d951..a2247eee604 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/kt3698.txt @@ -1,11 +1,11 @@ package test -internal final class KotlinClass { +public final class KotlinClass { public constructor KotlinClass() public companion object Companion { private constructor Companion() - internal final val FOO: kotlin.Int + public final val FOO: kotlin.Int } } diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/staticClassProperty.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/staticClassProperty.txt index 87e24a38978..05a9c3320f6 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/staticClassProperty.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/staticClassProperty.txt @@ -1,6 +1,6 @@ package test -internal final class Test { +public final class Test { public constructor Test() public companion object Companion { diff --git a/compiler/testData/compileJavaAgainstKotlin/staticFields/staticTraitProperty.txt b/compiler/testData/compileJavaAgainstKotlin/staticFields/staticTraitProperty.txt index 0993c2610ef..0c4db1cd21a 100644 --- a/compiler/testData/compileJavaAgainstKotlin/staticFields/staticTraitProperty.txt +++ b/compiler/testData/compileJavaAgainstKotlin/staticFields/staticTraitProperty.txt @@ -1,6 +1,6 @@ package test -internal interface Test { +public interface Test { public companion object Companion { private constructor Companion() diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/annotation.txt b/compiler/testData/compileJavaAgainstKotlin/targets/annotation.txt index 4ac91e0905e..58db67d5e55 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/annotation.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/annotation.txt @@ -4,6 +4,6 @@ test.meta() public/*package*/ final class MyAnn : kotlin.Annotation { public/*package*/ constructor MyAnn() } -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS}) kotlin.annotation.annotation() internal final class meta : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS}) kotlin.annotation.annotation() public final class meta : kotlin.Annotation { public constructor meta() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/base.txt b/compiler/testData/compileJavaAgainstKotlin/targets/base.txt index 13302e3e361..4a06a8345ea 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/base.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/base.txt @@ -5,6 +5,6 @@ test.base() public/*package*/ open class My { test.base() public/*package*/ open fun foo(/*0*/ test.base() kotlin.Int): kotlin.Int } -kotlin.annotation.annotation() internal final class base : kotlin.Annotation { +kotlin.annotation.annotation() public final class base : kotlin.Annotation { public constructor base() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/classifier.txt b/compiler/testData/compileJavaAgainstKotlin/targets/classifier.txt index 5e10042fb89..ada0e61f661 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/classifier.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/classifier.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASSIFIER}) kotlin.annotation.annotation() internal final class classifier : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASSIFIER}) kotlin.annotation.annotation() public final class classifier : kotlin.Annotation { public constructor classifier() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/constructor.txt b/compiler/testData/compileJavaAgainstKotlin/targets/constructor.txt index 846dd041a53..f494c066da8 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/constructor.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/constructor.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR}) kotlin.annotation.annotation() internal final class constructor : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR}) kotlin.annotation.annotation() public final class constructor : kotlin.Annotation { public constructor constructor() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/empty.txt b/compiler/testData/compileJavaAgainstKotlin/targets/empty.txt index 195f4278898..582182670f1 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/empty.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/empty.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {}) kotlin.annotation.annotation() internal final class empty : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {}) kotlin.annotation.annotation() public final class empty : kotlin.Annotation { public constructor empty() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/field.txt b/compiler/testData/compileJavaAgainstKotlin/targets/field.txt index 7d498e519e9..c7d8837a883 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/field.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/field.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FIELD}) kotlin.annotation.annotation() internal final class field : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FIELD}) kotlin.annotation.annotation() public final class field : kotlin.Annotation { public constructor field() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/function.txt b/compiler/testData/compileJavaAgainstKotlin/targets/function.txt index dbf6bc947af..5174b183790 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/function.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/function.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION}) kotlin.annotation.annotation() internal final class function : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION}) kotlin.annotation.annotation() public final class function : kotlin.Annotation { public constructor function() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/getter.txt b/compiler/testData/compileJavaAgainstKotlin/targets/getter.txt index d4107fe2b47..f4bd08c7d77 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/getter.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/getter.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY_GETTER}) kotlin.annotation.annotation() internal final class getter : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY_GETTER}) kotlin.annotation.annotation() public final class getter : kotlin.Annotation { public constructor getter() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/local.txt b/compiler/testData/compileJavaAgainstKotlin/targets/local.txt index 59ac6e5fc22..b6ae2ac9851 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/local.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/local.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.LOCAL_VARIABLE}) kotlin.annotation.annotation() internal final class local : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.LOCAL_VARIABLE}) kotlin.annotation.annotation() public final class local : kotlin.Annotation { public constructor local() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/multiple.txt b/compiler/testData/compileJavaAgainstKotlin/targets/multiple.txt index 7fbb036be9a..aa86bd06252 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/multiple.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/multiple.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASSIFIER, AnnotationTarget.FUNCTION}) kotlin.annotation.annotation() internal final class multiple : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASSIFIER, AnnotationTarget.FUNCTION}) kotlin.annotation.annotation() public final class multiple : kotlin.Annotation { public constructor multiple() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/parameter.txt b/compiler/testData/compileJavaAgainstKotlin/targets/parameter.txt index 564b7671195..80706e548fc 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/parameter.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/parameter.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER}) kotlin.annotation.annotation() internal final class parameter : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER}) kotlin.annotation.annotation() public final class parameter : kotlin.Annotation { public constructor parameter() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/property.txt b/compiler/testData/compileJavaAgainstKotlin/targets/property.txt index e06fe0b9b8a..1e0e5016fd1 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/property.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/property.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY}) kotlin.annotation.annotation() internal final class property : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY}) kotlin.annotation.annotation() public final class property : kotlin.Annotation { public constructor property() } diff --git a/compiler/testData/compileJavaAgainstKotlin/targets/setter.txt b/compiler/testData/compileJavaAgainstKotlin/targets/setter.txt index 425d2158878..bbd59275a86 100644 --- a/compiler/testData/compileJavaAgainstKotlin/targets/setter.txt +++ b/compiler/testData/compileJavaAgainstKotlin/targets/setter.txt @@ -1,5 +1,5 @@ package test -kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY_SETTER}) kotlin.annotation.annotation() internal final class setter : kotlin.Annotation { +kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY_SETTER}) kotlin.annotation.annotation() public final class setter : kotlin.Annotation { public constructor setter() } diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt index 324116aa37a..7e32c9331a1 100644 --- a/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/missingEnumReferencedInAnnotationArgument/missingEnumReferencedInAnnotationArgument.txt @@ -1,14 +1,14 @@ package test -kotlin.annotation.annotation() internal final class Anno : kotlin.Annotation { +kotlin.annotation.annotation() public final class Anno : kotlin.Annotation { public constructor Anno(/*0*/ e: [ERROR : test.E]) - internal final val e: [ERROR : test.E] + public final val e: [ERROR : test.E] } -test.Anno(e = Unresolved enum entry: test/E.ENTRY) internal open class Class { +test.Anno(e = Unresolved enum entry: test/E.ENTRY) public open class Class { public constructor Class() } -internal final class Subclass : test.Class { +public final class Subclass : test.Class { public constructor Subclass() } diff --git a/compiler/testData/compileKotlinAgainstCustomBinaries/sameLibraryTwiceInClasspath/sameLibraryTwiceInClasspath.txt b/compiler/testData/compileKotlinAgainstCustomBinaries/sameLibraryTwiceInClasspath/sameLibraryTwiceInClasspath.txt index 5962718cbf1..77d4f9e279d 100644 --- a/compiler/testData/compileKotlinAgainstCustomBinaries/sameLibraryTwiceInClasspath/sameLibraryTwiceInClasspath.txt +++ b/compiler/testData/compileKotlinAgainstCustomBinaries/sameLibraryTwiceInClasspath/sameLibraryTwiceInClasspath.txt @@ -1,6 +1,6 @@ package test -internal val inn3r: testing.Outer.Inner -internal val nested: testing.Outer.Nested -internal val outer: testing.Outer -internal val testObjectProperty: testing.TopLevelObject +public val inn3r: testing.Outer.Inner +public val nested: testing.Outer.Nested +public val outer: testing.Outer +public val testObjectProperty: testing.TopLevelObject