final class com.mongodb.client.internal.Java8ForEachHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.internal.Java8ForEachHelper
super_class: java.lang.Object
{
static <TResult> void forEach(com.mongodb.client.MongoIterable<TResult>, java.util.function.Consumer<? super TResult>);
descriptor: (Lcom/mongodb/client/MongoIterable;Ljava/util/function/Consumer;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface com.mongodb.client.MongoIterable.iterator:()Lcom/mongodb/client/MongoCursor;
astore 2
start local 2 1: goto 3
2: StackMap locals: com.mongodb.client.MongoCursor
StackMap stack:
aload 1
aload 2
invokeinterface com.mongodb.client.MongoCursor.next:()Ljava/lang/Object;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.mongodb.client.MongoCursor.hasNext:()Z
ifne 2
4: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 2
invokeinterface com.mongodb.client.MongoCursor.close:()V
7: aload 3
athrow
8: StackMap locals:
StackMap stack:
aload 2
invokeinterface com.mongodb.client.MongoCursor.close:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 iterable Lcom/mongodb/client/MongoIterable<TTResult;>;
0 10 1 block Ljava/util/function/Consumer<-TTResult;>;
1 10 2 cursor Lcom/mongodb/client/MongoCursor<TTResult;>;
Exception table:
from to target type
1 5 5 any
Signature: <TResult:Ljava/lang/Object;>(Lcom/mongodb/client/MongoIterable<TTResult;>;Ljava/util/function/Consumer<-TTResult;>;)V
MethodParameters:
Name Flags
iterable final
block final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/internal/Java8ForEachHelper;
}
SourceFile: "Java8ForEachHelper.java"