class java.lang.CharSequence$1CodePointIterator implements java.util.PrimitiveIterator$OfInt
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.lang.CharSequence$1CodePointIterator
super_class: java.lang.Object
{
int cur;
descriptor: I
flags: (0x0000)
final java.lang.CharSequence this$0;
descriptor: Ljava/lang/CharSequence;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield java.lang.CharSequence$1CodePointIterator.cur:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/CharSequence$1CodePointIterator;
MethodParameters:
Name Flags
this$0 final
public void forEachRemaining(java.util.function.IntConsumer);
descriptor: (Ljava/util/function/IntConsumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
istore 2
start local 2 1: aload 0
getfield java.lang.CharSequence$1CodePointIterator.cur:I
istore 3
start local 3 2: goto 13
3: StackMap locals: int int
StackMap stack:
aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
iload 3
iinc 3 1
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 4
start local 4 4: iload 4
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 5
iload 3
iload 2
if_icmplt 7
5: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokeinterface java.util.function.IntConsumer.accept:(I)V
6: goto 13
7: StackMap locals:
StackMap stack:
aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
iload 3
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 5
start local 5 8: iload 5
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 12
9: iinc 3 1
10: aload 1
iload 4
iload 5
invokestatic java.lang.Character.toCodePoint:(CC)I
invokeinterface java.util.function.IntConsumer.accept:(I)V
11: goto 13
12: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokeinterface java.util.function.IntConsumer.accept:(I)V
end local 5 end local 4 13: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmplt 3
14: goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 6
16: aload 0
iload 3
putfield java.lang.CharSequence$1CodePointIterator.cur:I
17: aload 6
athrow
18: StackMap locals:
StackMap stack:
aload 0
iload 3
putfield java.lang.CharSequence$1CodePointIterator.cur:I
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljava/lang/CharSequence$1CodePointIterator;
0 20 1 block Ljava/util/function/IntConsumer;
1 20 2 length I
2 20 3 i I
4 13 4 c1 C
8 13 5 c2 C
Exception table:
from to target type
2 15 15 any
MethodParameters:
Name Flags
block
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.lang.CharSequence$1CodePointIterator.cur:I
aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.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 Ljava/lang/CharSequence$1CodePointIterator;
public int nextInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
istore 1
start local 1 1: aload 0
getfield java.lang.CharSequence$1CodePointIterator.cur:I
iload 1
if_icmplt 3
2: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
3: StackMap locals: int
StackMap stack:
aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
aload 0
dup
getfield java.lang.CharSequence$1CodePointIterator.cur:I
dup_x1
iconst_1
iadd
putfield java.lang.CharSequence$1CodePointIterator.cur:I
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 2
start local 2 4: iload 2
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 9
aload 0
getfield java.lang.CharSequence$1CodePointIterator.cur:I
iload 1
if_icmpge 9
5: aload 0
getfield java.lang.CharSequence$1CodePointIterator.this$0:Ljava/lang/CharSequence;
aload 0
getfield java.lang.CharSequence$1CodePointIterator.cur:I
invokeinterface java.lang.CharSequence.charAt:(I)C
istore 3
start local 3 6: iload 3
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 9
7: aload 0
dup
getfield java.lang.CharSequence$1CodePointIterator.cur:I
iconst_1
iadd
putfield java.lang.CharSequence$1CodePointIterator.cur:I
8: iload 2
iload 3
invokestatic java.lang.Character.toCodePoint:(CC)I
ireturn
end local 3 9: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/lang/CharSequence$1CodePointIterator;
1 10 1 length I
4 10 2 c1 C
6 9 3 c2 C
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 java.lang.CharSequence$1CodePointIterator.forEachRemaining:(Ljava/util/function/IntConsumer;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "CharSequence.java"
EnclosingMethod: java.lang.CharSequence.codePoints:()Ljava/util/stream/IntStream;
NestHost: java.lang.CharSequence
InnerClasses:
CodePointIterator = java.lang.CharSequence$1CodePointIterator
public abstract OfInt = java.util.PrimitiveIterator$OfInt of java.util.PrimitiveIterator