Skip to content

Instantly share code, notes, and snippets.

@SethTisue
Created February 18, 2023 00:31
Show Gist options
  • Save SethTisue/c14eb6a4f7d7689afba756153b548d9c to your computer and use it in GitHub Desktop.
Save SethTisue/c14eb6a4f7d7689afba756153b548d9c to your computer and use it in GitHub Desktop.
public <T> boolean exists(scala.collection.Iterable<T>, scala.Function1<T, java.lang.Object>);
Code:
0: new #19 // class scala/util/boundary$Label
3: dup
4: invokespecial #44 // Method scala/util/boundary$Label."<init>":()V
7: astore_3
8: aload_1
9: aload_0
10: aload_2
11: aload_3
12: invokedynamic #63, 0 // InvokeDynamic #0:applyVoid:(LS$;Lscala/Function1;Lscala/util/boundary$Label;)Lscala/runtime/function/JProcedure1;
17: invokeinterface #69, 2 // InterfaceMethod scala/collection/Iterable.foreach:(Lscala/Function1;)V
22: iconst_0
23: goto 54
26: astore 4
28: aload 4
30: invokevirtual #73 // Method scala/util/boundary$Break.label:()Lscala/util/boundary$Label;
33: aload_3
34: if_acmpne 48
37: aload 4
39: invokevirtual #76 // Method scala/util/boundary$Break.value:()Ljava/lang/Object;
42: invokestatic #82 // Method scala/runtime/BoxesRunTime.unboxToBoolean:(Ljava/lang/Object;)Z
45: goto 51
48: aload 4
50: athrow
51: goto 54
54: ireturn
Exception table:
from to target type
8 23 26 Class scala/util/boundary$Break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment