Skip to content

Instantly share code, notes, and snippets.

@pablisco
Created May 25, 2018 07:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pablisco/9767d3172246a70e8e431665d7341cc5 to your computer and use it in GitHub Desktop.
Save pablisco/9767d3172246a70e8e431665d7341cc5 to your computer and use it in GitHub Desktop.
package com.pusher.chatkit.users
val string by lazy { "" }
val List<String>.describe: String by lazy {
"this"
}
val List<String>.something: String get() {
return ""
}
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