class org.graalvm.polyglot.io.ByteSequence$1ByteIterator implements java.util.PrimitiveIterator$OfInt
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.polyglot.io.ByteSequence$1ByteIterator
super_class: java.lang.Object
{
int cur;
descriptor: I
flags: (0x0000)
final org.graalvm.polyglot.io.ByteSequence this$0;
descriptor: Lorg/graalvm/polyglot/io/ByteSequence;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(org.graalvm.polyglot.io.ByteSequence);
descriptor: (Lorg/graalvm/polyglot/io/ByteSequence;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.this$0:Lorg/graalvm/polyglot/io/ByteSequence;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/polyglot/io/ByteSequence$1ByteIterator;
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.this$0:Lorg/graalvm/polyglot/io/ByteSequence;
invokeinterface org.graalvm.polyglot.io.ByteSequence.length:()I
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/polyglot/io/ByteSequence$1ByteIterator;
public int nextInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.graalvm.polyglot.io.ByteSequence$1ByteIterator.hasNext:()Z
ifeq 2
1: aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.this$0:Lorg/graalvm/polyglot/io/ByteSequence;
aload 0
dup
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
dup_x1
iconst_1
iadd
putfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
invokeinterface org.graalvm.polyglot.io.ByteSequence.byteAt:(I)B
sipush 255
iand
ireturn
2: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/polyglot/io/ByteSequence$1ByteIterator;
public void forEachRemaining(java.util.function.IntConsumer);
descriptor: (Ljava/util/function/IntConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: goto 3
1: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.this$0:Lorg/graalvm/polyglot/io/ByteSequence;
aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
invokeinterface org.graalvm.polyglot.io.ByteSequence.byteAt:(I)B
sipush 255
iand
invokeinterface java.util.function.IntConsumer.accept:(I)V
2: aload 0
dup
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
iconst_1
iadd
putfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
StackMap locals:
StackMap stack:
3: aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.cur:I
aload 0
getfield org.graalvm.polyglot.io.ByteSequence$1ByteIterator.this$0:Lorg/graalvm/polyglot/io/ByteSequence;
invokeinterface org.graalvm.polyglot.io.ByteSequence.length:()I
if_icmplt 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/polyglot/io/ByteSequence$1ByteIterator;
0 5 1 block Ljava/util/function/IntConsumer;
MethodParameters:
Name Flags
block
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokeinterface java.util.PrimitiveIterator$OfInt.next:()Ljava/lang/Integer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void forEachRemaining(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.function.IntConsumer
invokevirtual org.graalvm.polyglot.io.ByteSequence$1ByteIterator.forEachRemaining:(Ljava/util/function/IntConsumer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ByteSequence.java"
EnclosingMethod: org.graalvm.polyglot.io.ByteSequence.bytes:()Ljava/util/stream/IntStream;
NestHost: org.graalvm.polyglot.io.ByteSequence
InnerClasses:
public abstract OfInt = java.util.PrimitiveIterator$OfInt of java.util.PrimitiveIterator
ByteIterator = org.graalvm.polyglot.io.ByteSequence$1ByteIterator