abstract class com.google.common.base.AbstractIterator<T> implements java.util.Iterator<T>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.base.AbstractIterator
super_class: java.lang.Object
{
private com.google.common.base.AbstractIterator$State state;
descriptor: Lcom/google/common/base/AbstractIterator$State;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/google/common/base/AbstractIterator$State;
private T next;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TT;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private static volatile int[] $SWITCH_TABLE$com$google$common$base$AbstractIterator$State;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic com.google.common.base.AbstractIterator$State.NOT_READY:Lcom/google/common/base/AbstractIterator$State;
putfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/AbstractIterator<TT;>;
protected abstract T computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Signature: ()TT;
protected final T endOfData();
descriptor: ()Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.google.common.base.AbstractIterator$State.DONE:Lcom/google/common/base/AbstractIterator$State;
putfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/base/AbstractIterator<TT;>;
Signature: ()TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
public final boolean hasNext();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
getstatic com.google.common.base.AbstractIterator$State.FAILED:Lcom/google/common/base/AbstractIterator$State;
if_acmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: invokestatic com.google.common.base.AbstractIterator.$SWITCH_TABLE$com$google$common$base$AbstractIterator$State:()[I
aload 0
getfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
invokevirtual com.google.common.base.AbstractIterator$State.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 4
2: 6
3: 5
default: 6
}
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.base.AbstractIterator.tryToComputeNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/base/AbstractIterator<TT;>;
private boolean tryToComputeNext();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.google.common.base.AbstractIterator$State.FAILED:Lcom/google/common/base/AbstractIterator$State;
putfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
1: aload 0
aload 0
invokevirtual com.google.common.base.AbstractIterator.computeNext:()Ljava/lang/Object;
putfield com.google.common.base.AbstractIterator.next:Ljava/lang/Object;
2: aload 0
getfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
getstatic com.google.common.base.AbstractIterator$State.DONE:Lcom/google/common/base/AbstractIterator$State;
if_acmpeq 5
3: aload 0
getstatic com.google.common.base.AbstractIterator$State.READY:Lcom/google/common/base/AbstractIterator$State;
putfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/base/AbstractIterator<TT;>;
public final T next();
descriptor: ()Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.base.AbstractIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getstatic com.google.common.base.AbstractIterator$State.NOT_READY:Lcom/google/common/base/AbstractIterator$State;
putfield com.google.common.base.AbstractIterator.state:Lcom/google/common/base/AbstractIterator$State;
3: aload 0
getfield com.google.common.base.AbstractIterator.next:Ljava/lang/Object;
astore 1
start local 1 4: aload 0
aconst_null
putfield com.google.common.base.AbstractIterator.next:Ljava/lang/Object;
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/base/AbstractIterator<TT;>;
4 6 1 result TT;
Signature: ()TT;
public final void remove();
descriptor: ()V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/AbstractIterator<TT;>;
static int[] $SWITCH_TABLE$com$google$common$base$AbstractIterator$State();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.google.common.base.AbstractIterator.$SWITCH_TABLE$com$google$common$base$AbstractIterator$State:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.google.common.base.AbstractIterator$State.values:()[Lcom/google/common/base/AbstractIterator$State;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.google.common.base.AbstractIterator$State.DONE:Lcom/google/common/base/AbstractIterator$State;
invokevirtual com.google.common.base.AbstractIterator$State.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.google.common.base.AbstractIterator$State.FAILED:Lcom/google/common/base/AbstractIterator$State;
invokevirtual com.google.common.base.AbstractIterator$State.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.google.common.base.AbstractIterator$State.NOT_READY:Lcom/google/common/base/AbstractIterator$State;
invokevirtual com.google.common.base.AbstractIterator$State.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.google.common.base.AbstractIterator$State.READY:Lcom/google/common/base/AbstractIterator$State;
invokevirtual com.google.common.base.AbstractIterator$State.ordinal:()I
iconst_1
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.google.common.base.AbstractIterator.$SWITCH_TABLE$com$google$common$base$AbstractIterator$State:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Iterator<TT;>;
SourceFile: "AbstractIterator.java"
NestMembers:
com.google.common.base.AbstractIterator$State
InnerClasses:
private final State = com.google.common.base.AbstractIterator$State of com.google.common.base.AbstractIterator
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()