class freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2 implements freemarker.template.TemplateModelIterator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2
super_class: java.lang.Object
{
private int nextIdx;
descriptor: I
flags: (0x0002) ACC_PRIVATE
boolean hasFindInfo;
descriptor: Z
flags: (0x0000)
final freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel this$1;
descriptor: Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.regex.Matcher val$matcher;
descriptor: Ljava/util/regex/Matcher;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel, java.util.regex.Matcher);
descriptor: (Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel;Ljava/util/regex/Matcher;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.this$1:Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel;
aload 0
aload 2
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.val$matcher:Ljava/util/regex/Matcher;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.nextIdx:I
2: aload 0
aload 2
invokevirtual java.util.regex.Matcher.find:()Z
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.hasFindInfo:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel$2;
MethodParameters:
Name Flags
this$0 final
val$matcher final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.this$1:Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel;
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel.matchingInputParts:Ljava/util/ArrayList;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.hasFindInfo:Z
ireturn
3: StackMap locals: java.util.ArrayList
StackMap stack:
aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.nextIdx:I
aload 1
invokevirtual java.util.ArrayList.size:()I
if_icmpge 4
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel$2;
1 5 1 matchingInputParts Ljava/util/ArrayList;
public freemarker.template.TemplateModel next();
descriptor: ()Lfreemarker/template/TemplateModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.this$1:Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel;
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel.matchingInputParts:Ljava/util/ArrayList;
astore 1
start local 1 1: aload 1
ifnonnull 8
2: aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.hasFindInfo:Z
ifne 4
3: new freemarker.core._TemplateModelException
dup
ldc "There were no more regular expression matches"
invokespecial freemarker.core._TemplateModelException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.util.ArrayList
StackMap stack:
new freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups
dup
aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.this$1:Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel;
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel.input:Ljava/lang/String;
aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.val$matcher:Ljava/util/regex/Matcher;
invokespecial freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups.<init>:(Ljava/lang/String;Ljava/util/regex/Matcher;)V
astore 2
start local 2 5: aload 0
dup
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.nextIdx:I
iconst_1
iadd
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.nextIdx:I
6: aload 0
aload 0
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.val$matcher:Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.find:()Z
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.hasFindInfo:Z
7: aload 2
areturn
end local 2 8: StackMap locals:
StackMap stack:
aload 1
aload 0
dup
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.nextIdx:I
dup_x1
iconst_1
iadd
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2.nextIdx:I
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast freemarker.template.TemplateModel
9: areturn
10: StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
astore 2
start local 2 11: new freemarker.core._TemplateModelException
dup
aload 2
ldc "There were no more regular expression matches"
invokespecial freemarker.core._TemplateModelException.<init>:(Ljava/lang/Throwable;Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel$2;
1 12 1 matchingInputParts Ljava/util/ArrayList;
5 8 2 result Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups;
11 12 2 e Ljava/lang/IndexOutOfBoundsException;
Exception table:
from to target type
8 9 10 Class java.lang.IndexOutOfBoundsException
Exceptions:
throws freemarker.template.TemplateModelException
}
SourceFile: "BuiltInsForStringsRegexp.java"
EnclosingMethod: freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel.iterator:()Lfreemarker/template/TemplateModelIterator;
NestHost: freemarker.core.BuiltInsForStringsRegexp
InnerClasses:
RegexMatchModel = freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel of freemarker.core.BuiltInsForStringsRegexp
freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$2
MatchWithGroups = freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups of freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel