class freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups implements freemarker.template.TemplateScalarModel
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups
super_class: java.lang.Object
{
final java.lang.String matchedInputPart;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final freemarker.template.SimpleSequence groupsSeq;
descriptor: Lfreemarker/template/SimpleSequence;
flags: (0x0010) ACC_FINAL
void <init>(java.lang.String, java.util.regex.Matcher);
descriptor: (Ljava/lang/String;Ljava/util/regex/Matcher;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 // freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups this
start local 1 // java.lang.String input
start local 2 // java.util.regex.Matcher matcher
0: .line 142
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 143
aload 0 /* this */
aload 1 /* input */
aload 2 /* matcher */
invokevirtual java.util.regex.Matcher.start:()I
aload 2 /* matcher */
invokevirtual java.util.regex.Matcher.end:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups.matchedInputPart:Ljava/lang/String;
2: .line 144
aload 2 /* matcher */
invokevirtual java.util.regex.Matcher.groupCount:()I
iconst_1
iadd
istore 3 /* grpCount */
start local 3 // int grpCount
3: .line 145
aload 0 /* this */
new freemarker.template.SimpleSequence
dup
iload 3 /* grpCount */
invokespecial freemarker.template.SimpleSequence.<init>:(I)V
putfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups.groupsSeq:Lfreemarker/template/SimpleSequence;
4: .line 146
iconst_0
istore 4 /* i */
start local 4 // int i
5: goto 8
6: .line 147
StackMap locals: freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups java.lang.String java.util.regex.Matcher int int
StackMap stack:
aload 0 /* this */
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups.groupsSeq:Lfreemarker/template/SimpleSequence;
aload 2 /* matcher */
iload 4 /* i */
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokevirtual freemarker.template.SimpleSequence.add:(Ljava/lang/Object;)V
7: .line 146
iinc 4 /* i */ 1
StackMap locals:
StackMap stack:
8: iload 4 /* i */
iload 3 /* grpCount */
if_icmplt 6
end local 4 // int i
9: .line 149
return
end local 3 // int grpCount
end local 2 // java.util.regex.Matcher matcher
end local 1 // java.lang.String input
end local 0 // freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups;
0 10 1 input Ljava/lang/String;
0 10 2 matcher Ljava/util/regex/Matcher;
3 10 3 grpCount I
5 9 4 i I
MethodParameters:
Name Flags
input
matcher
public java.lang.String getAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups this
0: .line 152
aload 0 /* this */
getfield freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups.matchedInputPart:Ljava/lang/String;
areturn
end local 0 // freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lfreemarker/core/BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups;
}
SourceFile: "BuiltInsForStringsRegexp.java"
NestHost: freemarker.core.BuiltInsForStringsRegexp
InnerClasses:
RegexMatchModel = freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel of freemarker.core.BuiltInsForStringsRegexp
MatchWithGroups = freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel$MatchWithGroups of freemarker.core.BuiltInsForStringsRegexp$RegexMatchModel