Generate function from Any for inline classes same as for data classes
#KT-24873 Fixed #KT-25293 Fixed #KT-25299 Fixed
This commit is contained in:
Vendored
+6
@@ -10,7 +10,10 @@ public final class Foo$Companion {
|
||||
public final static class Foo$Erased {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
||||
public static method constructor(p0: int): int
|
||||
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||
public static method hashCode(p0: int): int
|
||||
public final static method inInlineClass(p0: int): void
|
||||
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
@@ -21,7 +24,10 @@ public final class Foo {
|
||||
inner class Foo$Companion
|
||||
static method <clinit>(): void
|
||||
public method <init>(p0: int): void
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final method getX(): int
|
||||
public method hashCode(): int
|
||||
public final method inInlineClass(): void
|
||||
public method toString(): java.lang.String
|
||||
public final method unbox(): int
|
||||
}
|
||||
|
||||
Vendored
+6
@@ -2,16 +2,22 @@
|
||||
public final static class Foo$Erased {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(p0: int): Foo
|
||||
public static method constructor(p0: int): int
|
||||
public static method equals(p0: int, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||
public final static method getAsThis(p0: int): int
|
||||
public final static method getProp(p0: int): int
|
||||
public static method hashCode(p0: int): int
|
||||
public static @org.jetbrains.annotations.NotNull method toString(p0: int): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo {
|
||||
private final field x: int
|
||||
public method <init>(p0: int): void
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final method getAsThis(): int
|
||||
public final method getProp(): int
|
||||
public final method getX(): int
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
public final method unbox(): int
|
||||
}
|
||||
|
||||
+6
@@ -7,15 +7,21 @@ public interface A {
|
||||
public final static class Foo$Erased {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(p0: long): Foo
|
||||
public static method constructor(p0: long): long
|
||||
public static method equals(p0: long, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||
public static method foo(p0: long, p1: long): void
|
||||
public static method hashCode(p0: long): int
|
||||
public static @org.jetbrains.annotations.NotNull method toString(p0: long): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Foo {
|
||||
private final field x: long
|
||||
public method <init>(p0: long): void
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public synthetic method foo(p0: java.lang.Object): void
|
||||
public method foo(p0: long): void
|
||||
public final method getX(): long
|
||||
public method hashCode(): int
|
||||
public method toString(): java.lang.String
|
||||
public final method unbox(): long
|
||||
}
|
||||
|
||||
Vendored
+6
@@ -3,8 +3,11 @@ public final static class Foo$Erased {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(p0: long): Foo
|
||||
public static method constructor(p0: long): long
|
||||
public final static method empty(p0: long): void
|
||||
public static method equals(p0: long, @org.jetbrains.annotations.Nullable p1: java.lang.Object): boolean
|
||||
public final static method extension(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.Object, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
|
||||
public static method hashCode(p0: long): int
|
||||
public final static method param(p0: long, p1: double): void
|
||||
public static @org.jetbrains.annotations.NotNull method toString(p0: long): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
@@ -12,8 +15,11 @@ public final class Foo {
|
||||
private final field l: long
|
||||
public method <init>(p0: long): void
|
||||
public final method empty(): void
|
||||
public method equals(p0: java.lang.Object): boolean
|
||||
public final method extension(@org.jetbrains.annotations.NotNull p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public final method getL(): long
|
||||
public method hashCode(): int
|
||||
public final method param(p0: double): void
|
||||
public method toString(): java.lang.String
|
||||
public final method unbox(): long
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user