Introduce KProperty{0,1,2}.getDelegate

#KT-8384 In Progress
This commit is contained in:
Alexander Udalov
2016-12-22 18:30:38 +03:00
parent f1cd2ee6fd
commit 78f2515e95
47 changed files with 1398 additions and 0 deletions
@@ -0,0 +1,19 @@
@kotlin.Metadata
public final class BooleanPropertyNameStartsWithIsKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private method <init>(): void
public final method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): boolean
}
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field isOK$delegate: Delegate
public method <init>(): void
public final method isOK(): boolean
}
@@ -0,0 +1,24 @@
@kotlin.Metadata
public final class BoundExtensionPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(@org.jetbrains.annotations.NotNull p0: Foo): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: Foo, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private static @org.jetbrains.annotations.NotNull field storage: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class Foo {
public method <init>(): void
}
@@ -0,0 +1,24 @@
@kotlin.Metadata
public final class BoundMemberPropertyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private static @org.jetbrains.annotations.NotNull field storage: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,24 @@
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private static @org.jetbrains.annotations.NotNull field storage: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class ExtensionPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(@org.jetbrains.annotations.NotNull p0: Foo): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: Foo, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
@kotlin.Metadata
public final class Foo {
public method <init>(): void
}
@@ -0,0 +1,24 @@
@kotlin.Metadata
public class Base {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
}
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
}
@kotlin.Metadata
public final class Derived {
public method <init>(): void
}
@kotlin.Metadata
public final class FakeOverrideKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,22 @@
@kotlin.Metadata
public final class Delegate {
private @org.jetbrains.annotations.NotNull field storage: java.lang.String
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
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 setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class KPropertyForDelegatedPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private static @org.jetbrains.annotations.Nullable field ref: kotlin.reflect.KProperty
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.Nullable method getRef(): kotlin.reflect.KProperty
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method setRef(@org.jetbrains.annotations.Nullable p0: kotlin.reflect.KProperty): void
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@@ -0,0 +1,29 @@
@kotlin.Metadata
public final class Bar {
public method <init>(): void
}
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private static @org.jetbrains.annotations.NotNull field storage: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getResult(@org.jetbrains.annotations.NotNull p0: Bar): java.lang.String
public final method setResult(@org.jetbrains.annotations.NotNull p0: Bar, @org.jetbrains.annotations.NotNull p1: java.lang.String): void
}
@kotlin.Metadata
public final class MemberExtensionPropertyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,24 @@
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private static @org.jetbrains.annotations.NotNull field storage: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}
@kotlin.Metadata
public final class MemberPropertyKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,31 @@
@kotlin.Metadata
public final class Delegate {
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
}
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
public final static field Companion: Foo.Companion
private final @org.jetbrains.annotations.NotNull field x$delegate$1: Delegate
private final static @org.jetbrains.annotations.NotNull field x$delegate: Delegate
inner class Foo/Companion
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
}
@kotlin.Metadata
public final static class Foo/Companion {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
inner class Foo/Companion
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
}
@kotlin.Metadata
public final class NameClashClassAndCompanionKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
}
@@ -0,0 +1,36 @@
@kotlin.Metadata
public final class Delegate {
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
}
@kotlin.Metadata
public final class Foo {
public method <init>(): void
}
@kotlin.Metadata
public final class MemberExtensions {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field bar$delegate$1: Delegate
private final @org.jetbrains.annotations.NotNull field bar$delegate$2: Delegate
private final @org.jetbrains.annotations.NotNull field bar$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.Nullable p0: Foo): java.lang.String
public final @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.Nullable p0: java.lang.String): java.lang.String
public final @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.Nullable p0: kotlin.Unit): java.lang.String
}
@kotlin.Metadata
public final class NameClashExtensionPropertiesKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field bar$delegate$1: Delegate
private final static @org.jetbrains.annotations.NotNull field bar$delegate$2: Delegate
private final static @org.jetbrains.annotations.NotNull field bar$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.NotNull p0: Foo): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.NotNull p0: java.lang.String): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getBar(@org.jetbrains.annotations.NotNull p0: kotlin.Unit): java.lang.String
}
@@ -0,0 +1,27 @@
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private method <init>(): void
public final method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): boolean
}
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field member$delegate: Delegate
private final @org.jetbrains.annotations.NotNull field memberExtension$delegate: Delegate
public method <init>(): void
public final method getMember(): boolean
public final method getMemberExtension(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
}
@kotlin.Metadata
public final class NoSetAccessibleTrueKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field extension$delegate: Delegate
private final static @org.jetbrains.annotations.NotNull field topLevel$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): void
public final static method getExtension(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final static method getTopLevel(): boolean
}
@@ -0,0 +1,15 @@
@kotlin.Metadata
public final class Foo {
private final field member: boolean
public method <init>(): void
public final method getMember(): boolean
public final method getMemberExtension(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
}
@kotlin.Metadata
public final class NotDelegatedPropertyKt {
private final static field topLevel: boolean
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getExtension(@org.jetbrains.annotations.NotNull p0: java.lang.String): boolean
public final static method getTopLevel(): boolean
}
@@ -0,0 +1,29 @@
@kotlin.Metadata
public class Base {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public method <init>(): void
public @org.jetbrains.annotations.NotNull method getX(): java.lang.String
}
@kotlin.Metadata
public final class Delegate {
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
}
@kotlin.Metadata
public final class Derived {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public method <init>(): void
public @org.jetbrains.annotations.NotNull method getX(): java.lang.String
}
@kotlin.Metadata
public final class OverrideDelegatedByDelegatedKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method check(@org.jetbrains.annotations.NotNull p0: java.lang.String, @org.jetbrains.annotations.Nullable p1: java.lang.Object): void
}
@@ -0,0 +1,19 @@
@kotlin.Metadata
public final class Delegate {
public final static field INSTANCE: Delegate
private static @org.jetbrains.annotations.NotNull field storage: java.lang.String
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getStorage(): java.lang.String
public final @org.jetbrains.annotations.NotNull method getValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty): java.lang.String
public final method setStorage(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public final method setValue(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.reflect.KProperty, @org.jetbrains.annotations.NotNull p2: java.lang.String): void
}
@kotlin.Metadata
public final class TopLevelPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
public final static method setResult(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
}