Skip to content

Instantly share code, notes, and snippets.

@praveenKajla
Created August 31, 2017 15:55
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 praveenKajla/8d9675b9a4b0533bed046dc8af2c97bc to your computer and use it in GitHub Desktop.
Save praveenKajla/8d9675b9a4b0533bed046dc8af2c97bc to your computer and use it in GitHub Desktop.
import kotlin.Metadata;
import kotlin.jvm.functions.Function0;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
@Metadata(
mv = {1, 1, 7},
bv = {1, 0, 2},
k = 2,
d1 = {"\u0000\u001a\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0011\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\u001a\u0019\u0010\u0000\u001a\u00020\u00012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003¢\u0006\u0002\u0010\u0005\u001a\u0014\u0010\u0006\u001a\u00020\u00012\f\u0010\u0006\u001a\b\u0012\u0004\u0012\u00020\u00010\u0007¨\u0006\b"},
d2 = {"main", "", "args", "", "", "([Ljava/lang/String;)V", "op", "Lkotlin/Function0;", "production sources for module IdeaProjects-random_main"}
)
public final class InlineFunctionKt {
public static final void op(@NotNull Function0 op) {
Intrinsics.checkParameterIsNotNull(op, "op");
String var1 = "This is before lambda";
System.out.println(var1);
op.invoke();
var1 = "this is after lambda";
System.out.println(var1);
}
public static final void main(@NotNull String[] args) {
Intrinsics.checkParameterIsNotNull(args, "args");
op((Function0)null.INSTANCE);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment