mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
The old backend makes bridges for protected and package-private methods public. Also, for bridges for vararg methods, the vararg marker is not on the bridge. These differences seem minor but are visible via reflection, so we might as well follow the old backend.
16 lines
687 B
Plaintext
Vendored
16 lines
687 B
Plaintext
Vendored
@kotlin.Metadata
|
|
public abstract class A {
|
|
// source: 'varargsBridge.kt'
|
|
public method <init>(): void
|
|
protected varargs abstract @org.jetbrains.annotations.NotNull method doIt(@org.jetbrains.annotations.NotNull p0: java.lang.Object[]): java.lang.String
|
|
public final @org.jetbrains.annotations.NotNull method test(): java.lang.String
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public final class B {
|
|
// source: 'varargsBridge.kt'
|
|
public method <init>(): void
|
|
protected varargs @org.jetbrains.annotations.NotNull method doIt(@org.jetbrains.annotations.NotNull p0: java.lang.Void[]): java.lang.String
|
|
public synthetic bridge method doIt(p0: java.lang.Object[]): java.lang.String
|
|
}
|