class com.google.common.collect.Streams$1Splitr extends com.google.common.collect.Streams$MapWithIndexSpliterator<java.util.Spliterator<T>, R, com.google.common.collect.Streams$1Splitr> implements java.util.function.Consumer<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.Streams$1Splitr
super_class: com.google.common.collect.Streams$MapWithIndexSpliterator
{
T holder;
descriptor: Ljava/lang/Object;
flags: (0x0000)
Signature: TT;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private final com.google.common.collect.Streams$FunctionWithIndex val$function;
descriptor: Lcom/google/common/collect/Streams$FunctionWithIndex;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Spliterator<T>, );
descriptor: (Ljava/util/Spliterator;JLcom/google/common/collect/Streams$FunctionWithIndex;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 0: aload 0
aload 4
putfield com.google.common.collect.Streams$1Splitr.val$function:Lcom/google/common/collect/Streams$FunctionWithIndex;
1: aload 0
aload 1
lload 2
invokespecial com.google.common.collect.Streams$MapWithIndexSpliterator.<init>:(Ljava/util/Spliterator;J)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Streams$1Splitr;
0 3 1 splitr Ljava/util/Spliterator<TT;>;
0 3 2 index J
Signature: (Ljava/util/Spliterator<TT;>;J)V
MethodParameters:
Name Flags
splitr
index
val$function final
public void accept();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.google.common.collect.Streams$1Splitr.holder:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/Streams$1Splitr;
0 2 1 t TT;
Signature: (TT;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
t
public boolean tryAdvance(java.util.function.Consumer<? super R>);
descriptor: (Ljava/util/function/Consumer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=10, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.Streams$1Splitr.fromSpliterator:Ljava/util/Spliterator;
aload 0
invokeinterface java.util.Spliterator.tryAdvance:(Ljava/util/function/Consumer;)Z
ifeq 7
1: aload 1
aload 0
getfield com.google.common.collect.Streams$1Splitr.val$function:Lcom/google/common/collect/Streams$FunctionWithIndex;
aload 0
getfield com.google.common.collect.Streams$1Splitr.holder:Ljava/lang/Object;
aload 0
dup
getfield com.google.common.collect.Streams$1Splitr.index:J
dup2_x1
lconst_1
ladd
putfield com.google.common.collect.Streams$1Splitr.index:J
invokeinterface com.google.common.collect.Streams$FunctionWithIndex.apply:(Ljava/lang/Object;J)Ljava/lang/Object;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
2: aload 0
aconst_null
putfield com.google.common.collect.Streams$1Splitr.holder:Ljava/lang/Object;
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack: java.lang.Throwable
astore 2
5: aload 0
aconst_null
putfield com.google.common.collect.Streams$1Splitr.holder:Ljava/lang/Object;
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/Streams$1Splitr;
0 8 1 action Ljava/util/function/Consumer<-TR;>;
Exception table:
from to target type
1 2 4 any
Signature: (Ljava/util/function/Consumer<-TR;>;)Z
MethodParameters:
Name Flags
action
com.google.common.collect.Streams$1Splitr createSplit(java.util.Spliterator<T>, long);
descriptor: (Ljava/util/Spliterator;J)Lcom/google/common/collect/Streams$1Splitr;
flags: (0x0000)
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.google.common.collect.Streams$1Splitr
dup
aload 1
lload 2
aload 0
getfield com.google.common.collect.Streams$1Splitr.val$function:Lcom/google/common/collect/Streams$FunctionWithIndex;
invokespecial com.google.common.collect.Streams$1Splitr.<init>:(Ljava/util/Spliterator;JLcom/google/common/collect/Streams$FunctionWithIndex;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Streams$1Splitr;
0 1 1 from Ljava/util/Spliterator<TT;>;
0 1 2 i J
Signature: (Ljava/util/Spliterator<TT;>;J)Lcom/google/common/collect/Streams$1Splitr;
MethodParameters:
Name Flags
from
i
com.google.common.collect.Streams$MapWithIndexSpliterator createSplit(java.util.Spliterator, long);
descriptor: (Ljava/util/Spliterator;J)Lcom/google/common/collect/Streams$MapWithIndexSpliterator;
flags: (0x1040) ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=3
0: aload 0
aload 1
checkcast java.util.Spliterator
lload 2
invokevirtual com.google.common.collect.Streams$1Splitr.createSplit:(Ljava/util/Spliterator;J)Lcom/google/common/collect/Streams$1Splitr;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/google/common/collect/Streams$MapWithIndexSpliterator<Ljava/util/Spliterator<TT;>;TR;Lcom/google/common/collect/Streams$1Splitr;>;Ljava/util/function/Consumer<TT;>;
SourceFile: "Streams.java"
EnclosingMethod: com.google.common.collect.Streams.mapWithIndex:(Ljava/util/stream/Stream;Lcom/google/common/collect/Streams$FunctionWithIndex;)Ljava/util/stream/Stream;
NestHost: com.google.common.collect.Streams
InnerClasses:
Splitr = com.google.common.collect.Streams$1Splitr
public abstract FunctionWithIndex = com.google.common.collect.Streams$FunctionWithIndex of com.google.common.collect.Streams
private abstract MapWithIndexSpliterator = com.google.common.collect.Streams$MapWithIndexSpliterator of com.google.common.collect.Streams