Fix NPE on equals/hashCode for callable references without kotlin-reflect

#KT-11316 Fixed
 #KT-15847 Fixed
This commit is contained in:
Alexander Udalov
2017-02-03 01:45:24 +03:00
parent 0db60bf6cb
commit b784680fe2
13 changed files with 143 additions and 2 deletions
@@ -1,8 +1,11 @@
@kotlin.Metadata
public final class CallableReferencesKt {
private final static @org.jetbrains.annotations.NotNull field topLevelProp: java.lang.String
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method checkEquals(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KCallable, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KCallable): void
public final static method checkToString(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KCallable, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
public final static @org.jetbrains.annotations.NotNull method getTopLevelProp(): java.lang.String
public final static method topLevelFun(): void
}
@kotlin.Metadata
@@ -0,0 +1,18 @@
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
public static @org.jetbrains.annotations.NotNull field prop: kotlin.reflect.KProperty
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getProp(): kotlin.reflect.KProperty
public final method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): void
public final @org.jetbrains.annotations.NotNull method provideDelegate(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): Delegate
public final method setProp(@org.jetbrains.annotations.NotNull p0: kotlin.reflect.KProperty): void
}
@kotlin.Metadata
public final class DelegatedPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getX(): kotlin.Unit
}