jvm-abi-gen: Remove internal declarations from ABI

#KT-65690 Fixed
This commit is contained in:
Vladimir Tagakov
2024-02-08 11:54:13 -07:00
committed by Space Team
parent ebc2a18da5
commit d2792533b8
21 changed files with 263 additions and 37 deletions
@@ -0,0 +1,3 @@
// TREAT_INTERNAL_AS_PRIVATE
// REMOVE_PRIVATE_CLASSES
// REMOVE_DATA_CLASS_COPY_IF_CONSTRUCTOR_IS_PRIVATE
@@ -0,0 +1,16 @@
@kotlin.Metadata
public final class test/Test$EverythingExceptTheClassAndPropertyToBeRemoved {
// source: 'test.kt'
public final inner class test/Test$EverythingExceptTheClassAndPropertyToBeRemoved
public final @org.jetbrains.annotations.NotNull method component1(): java.lang.Object
public method equals(@org.jetbrains.annotations.Nullable p0: java.lang.Object): boolean
public final @org.jetbrains.annotations.NotNull method getA(): java.lang.Object
public method hashCode(): int
public @org.jetbrains.annotations.NotNull method toString(): java.lang.String
}
@kotlin.Metadata
public final class test/Test {
// source: 'test.kt'
public final inner class test/Test$EverythingExceptTheClassAndPropertyToBeRemoved
public method <init>(): void
}
@@ -0,0 +1,7 @@
package test
class Test {
internal data class ClassToBeRemoved internal constructor(val a: Any)
data class EverythingExceptTheClassAndPropertyToBeRemoved internal constructor(val a: Any)
}