class java.util.regex.Pattern$1MatcherIterator implements java.util.Iterator<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: java.util.regex.Pattern$1MatcherIterator
super_class: java.lang.Object
{
private java.util.regex.Matcher matcher;
descriptor: Ljava/util/regex/Matcher;
flags: (0x0002) ACC_PRIVATE
private int current;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String nextElement;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int emptyElementCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final java.util.regex.Pattern this$0;
descriptor: Ljava/util/regex/Pattern;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.CharSequence val$input;
descriptor: Ljava/lang/CharSequence;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.regex.Pattern, java.lang.CharSequence);
descriptor: (Ljava/util/regex/Pattern;Ljava/lang/CharSequence;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield java.util.regex.Pattern$1MatcherIterator.this$0:Ljava/util/regex/Pattern;
aload 0
aload 2
putfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/regex/Pattern$1MatcherIterator;
MethodParameters:
Name Flags
this$0 final
val$input final
public java.lang.String next();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.util.regex.Pattern$1MatcherIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
ifne 6
3: aload 0
getfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
astore 1
start local 1 4: aload 0
aconst_null
putfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
5: aload 1
areturn
end local 1 6: StackMap locals:
StackMap stack:
aload 0
dup
getfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
iconst_1
isub
putfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
7: ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/regex/Pattern$1MatcherIterator;
4 6 1 n Ljava/lang/String;
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.regex.Pattern$1MatcherIterator.matcher:Ljava/util/regex/Matcher;
ifnonnull 5
1: aload 0
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.this$0:Ljava/util/regex/Pattern;
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
putfield java.util.regex.Pattern$1MatcherIterator.matcher:Ljava/util/regex/Matcher;
2: aload 0
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
ifne 3
iconst_1
goto 4
StackMap locals:
StackMap stack: java.util.regex.Pattern$1MatcherIterator
3: iconst_0
StackMap locals: java.util.regex.Pattern$1MatcherIterator
StackMap stack: java.util.regex.Pattern$1MatcherIterator int
4: putfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
5: StackMap locals:
StackMap stack:
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
ifnonnull 6
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
ifle 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.current:I
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
if_icmpne 15
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.current:I
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.matcher:Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.start:()I
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
putfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
10: aload 0
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.matcher:Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.end:()I
putfield java.util.regex.Pattern$1MatcherIterator.current:I
11: aload 0
getfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.current:I
ifle 15
14: aload 0
dup
getfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
iconst_1
iadd
putfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
15: StackMap locals:
StackMap stack:
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.matcher:Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.find:()Z
ifne 9
16: aload 0
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.current:I
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
invokeinterface java.lang.CharSequence.subSequence:(II)Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.toString:()Ljava/lang/String;
putfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
17: aload 0
aload 0
getfield java.util.regex.Pattern$1MatcherIterator.val$input:Ljava/lang/CharSequence;
invokeinterface java.lang.CharSequence.length:()I
putfield java.util.regex.Pattern$1MatcherIterator.current:I
18: aload 0
getfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifne 20
19: iconst_1
ireturn
20: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield java.util.regex.Pattern$1MatcherIterator.emptyElementCount:I
21: aload 0
aconst_null
putfield java.util.regex.Pattern$1MatcherIterator.nextElement:Ljava/lang/String;
22: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Ljava/util/regex/Pattern$1MatcherIterator;
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
invokevirtual java.util.regex.Pattern$1MatcherIterator.next:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljava/lang/String;>;
SourceFile: "Pattern.java"
EnclosingMethod: java.util.regex.Pattern.splitAsStream:(Ljava/lang/CharSequence;)Ljava/util/stream/Stream;
NestHost: java.util.regex.Pattern
InnerClasses:
MatcherIterator = java.util.regex.Pattern$1MatcherIterator