Skip to content

Instantly share code, notes, and snippets.

@shahsurajk
Last active July 16, 2019 13:31
Show Gist options
  • Save shahsurajk/798f6bd93f5154f5c7a7be73326d7af3 to your computer and use it in GitHub Desktop.
Save shahsurajk/798f6bd93f5154f5c7a7be73326d7af3 to your computer and use it in GitHub Desktop.
Decompiled Inlined Closure Lambda
public static final void myBigLoopWithClosure(@NotNull int[] $this$myBigLoopWithClosure, double salt) {
Intrinsics.checkParameterIsNotNull($this$myBigLoopWithClosure, "$this$myBigLoopWithClosure");
int $i$f$forEach = false;
int[] var5 = $this$myBigLoopWithClosure;
int var6 = $this$myBigLoopWithClosure.length;
for(int var7 = 0; var7 < var6; ++var7) {
// magical, isn't it! no new instance, nothing.
// the logical block is inlined here!
int element$iv = var5[var7];
int var10 = false;
int $i$f$testLambdas = false;
int myLambda = element$iv + 1;
int var13 = false;
double var14 = (double)myLambda * salt;
boolean var16 = false;
System.out.println(var14);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment