Created
May 25, 2018 07:43
-
-
Save pablisco/9767d3172246a70e8e431665d7341cc5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.pusher.chatkit.users | |
val string by lazy { "" } | |
val List<String>.describe: String by lazy { | |
"this" | |
} | |
val List<String>.something: String get() { | |
return "" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public final class TestKt { | |
@NotNull | |
private static final Lazy string$delegate; | |
@NotNull | |
private static final Lazy describe$delegate; | |
static { | |
string$delegate = LazyKt.lazy((Function0)null.INSTANCE); | |
describe$delegate = LazyKt.lazy((Function0)null.INSTANCE); | |
} | |
@NotNull | |
public static final String getString() { | |
Lazy var0 = string$delegate; | |
return (String)var0.getValue(); | |
} | |
@NotNull | |
public static final String getDescribe(@NotNull List $receiver) { | |
Intrinsics.checkParameterIsNotNull($receiver, "$receiver"); | |
Lazy var1 = describe$delegate; | |
return (String)var1.getValue(); | |
} | |
@NotNull | |
public static final String getSomething(@NotNull List $receiver) { | |
Intrinsics.checkParameterIsNotNull($receiver, "$receiver"); | |
return ""; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment