791be7c2dc
When copying top level declarations from multifile parts to facades, also copy corresponding properties. This allows to keep their annotations, which are later used in codegen (for example, to generate ACC_DEPRECATED on property accessors), and allows to get rid of the hack where the JVM name of the property accessor was computed prematurely via methodSignatureMapper. Also, don't copy `$annotations` methods for non-const properties to facades because the old backend only generates them in parts (which might be a separate problem, see KT-27644). #KT-40262 Fixed
22 lines
1.1 KiB
Plaintext
Vendored
22 lines
1.1 KiB
Plaintext
Vendored
@kotlin.Metadata
|
|
public final class test/A {
|
|
// source: 'part.kt'
|
|
public deprecated final static @kotlin.Deprecated method f(): void
|
|
public deprecated final static method getExt(p0: int): int
|
|
public final static method getExtA(p0: int): int
|
|
public deprecated final static @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
|
public deprecated final static @kotlin.Deprecated method setExtA(p0: int, p1: int): void
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
synthetic final class test/A__PartKt {
|
|
// source: 'part.kt'
|
|
public deprecated final static @kotlin.Deprecated method f(): void
|
|
public synthetic deprecated static @kotlin.Deprecated method getExt$annotations(p0: int): void
|
|
public deprecated final static method getExt(p0: int): int
|
|
public final static method getExtA(p0: int): int
|
|
public synthetic deprecated static @kotlin.Deprecated method getStr$annotations(): void
|
|
public deprecated final static @org.jetbrains.annotations.NotNull method getStr(): java.lang.String
|
|
public deprecated final static @kotlin.Deprecated method setExtA(p0: int, p1: int): void
|
|
}
|