public final class jdk.nashorn.internal.objects.NativeRegExp extends jdk.nashorn.internal.runtime.ScriptObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.objects.NativeRegExp
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
public java.lang.Object lastIndex;
descriptor: Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property(attributes = 6)
private jdk.nashorn.internal.runtime.regexp.RegExp regexp;
descriptor: Ljdk/nashorn/internal/runtime/regexp/RegExp;
flags: (0x0002) ACC_PRIVATE
private final jdk.nashorn.internal.objects.Global globalObject;
descriptor: Ljdk/nashorn/internal/objects/Global;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.lang.Object REPLACE_VALUE;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/objects/NativeRegExp;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.nashorn.internal.objects.NativeRegExp.$assertionsDisabled:Z
3: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic jdk.nashorn.internal.objects.NativeRegExp.REPLACE_VALUE:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.Global.getRegExpPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
getstatic jdk.nashorn.internal.objects.NativeRegExp.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: aload 0
aload 1
putfield jdk.nashorn.internal.objects.NativeRegExp.globalObject:Ljdk/nashorn/internal/objects/Global;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 3 1 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
global final
void <init>(java.lang.String, java.lang.String, jdk.nashorn.internal.objects.Global, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;Ljdk/nashorn/internal/runtime/ScriptObject;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 4
getstatic jdk.nashorn.internal.objects.NativeRegExp.$nasgenmap$:Ljdk/nashorn/internal/runtime/PropertyMap;
invokespecial jdk.nashorn.internal.runtime.ScriptObject.<init>:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
1: aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.regexp.RegExpFactory.create:(Ljava/lang/String;Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExp;
putfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
2: goto 6
StackMap locals: jdk.nashorn.internal.objects.NativeRegExp java.lang.String java.lang.String jdk.nashorn.internal.objects.Global jdk.nashorn.internal.runtime.ScriptObject
StackMap stack: jdk.nashorn.internal.runtime.ParserException
3: astore 5
start local 5 4: aload 5
invokevirtual jdk.nashorn.internal.runtime.ParserException.throwAsEcmaException:()V
5: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 5 6: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield jdk.nashorn.internal.objects.NativeRegExp.globalObject:Ljdk/nashorn/internal/objects/Global;
7: aload 0
iconst_0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setLastIndex:(I)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 9 1 input Ljava/lang/String;
0 9 2 flagString Ljava/lang/String;
0 9 3 global Ljdk/nashorn/internal/objects/Global;
0 9 4 proto Ljdk/nashorn/internal/runtime/ScriptObject;
4 6 5 e Ljdk/nashorn/internal/runtime/ParserException;
Exception table:
from to target type
1 2 3 Class jdk.nashorn.internal.runtime.ParserException
MethodParameters:
Name Flags
input final
flagString final
global final
proto final
void <init>(java.lang.String, java.lang.String, jdk.nashorn.internal.objects.Global);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
aload 3
invokevirtual jdk.nashorn.internal.objects.Global.getRegExpPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;Ljdk/nashorn/internal/runtime/ScriptObject;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 input Ljava/lang/String;
0 2 2 flagString Ljava/lang/String;
0 2 3 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
input final
flagString final
global final
void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 input Ljava/lang/String;
0 2 2 flagString Ljava/lang/String;
MethodParameters:
Name Flags
input final
flagString final
void <init>(java.lang.String, jdk.nashorn.internal.objects.Global);
descriptor: (Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
ldc ""
aload 2
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 string Ljava/lang/String;
0 2 2 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
string final
global final
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljdk/nashorn/internal/objects/Global;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string final
void <init>(jdk.nashorn.internal.objects.NativeRegExp);
descriptor: (Ljdk/nashorn/internal/objects/NativeRegExp;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljdk/nashorn/internal/objects/Global;)V
1: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getLastIndexObject:()Ljava/lang/Object;
putfield jdk.nashorn.internal.objects.NativeRegExp.lastIndex:Ljava/lang/Object;
2: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getRegExp:()Ljdk/nashorn/internal/runtime/regexp/RegExp;
putfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 4 1 regExp Ljdk/nashorn/internal/objects/NativeRegExp;
MethodParameters:
Name Flags
regExp final
public java.lang.String getClassName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "RegExp"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
public static jdk.nashorn.internal.objects.NativeRegExp constructor(boolean, java.lang.Object, java.lang.Object[]);
descriptor: (ZLjava/lang/Object;[Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
iconst_1
if_icmple 2
1: aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokestatic jdk.nashorn.internal.objects.NativeRegExp.newRegExp:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
areturn
2: StackMap locals:
StackMap stack:
aload 2
arraylength
ifle 4
3: aload 2
iconst_0
aaload
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
invokestatic jdk.nashorn.internal.objects.NativeRegExp.newRegExp:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
areturn
4: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
invokestatic jdk.nashorn.internal.objects.NativeRegExp.newRegExp:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 isNew Z
0 5 1 self Ljava/lang/Object;
0 5 2 args [Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Constructor(arity = 2)
MethodParameters:
Name Flags
isNew final
self final
args final
public static jdk.nashorn.internal.objects.NativeRegExp constructor(boolean, java.lang.Object);
descriptor: (ZLjava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new jdk.nashorn.internal.objects.NativeRegExp
dup
ldc ""
ldc ""
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 isNew Z
0 1 1 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.SpecializedFunction(isConstructor = true)
MethodParameters:
Name Flags
isNew final
self final
public static jdk.nashorn.internal.objects.NativeRegExp constructor(boolean, java.lang.Object, java.lang.Object);
descriptor: (ZLjava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
invokestatic jdk.nashorn.internal.objects.NativeRegExp.newRegExp:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 isNew Z
0 1 1 self Ljava/lang/Object;
0 1 2 pattern Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.SpecializedFunction(isConstructor = true)
MethodParameters:
Name Flags
isNew final
self final
pattern final
public static jdk.nashorn.internal.objects.NativeRegExp constructor(boolean, java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (ZLjava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
invokestatic jdk.nashorn.internal.objects.NativeRegExp.newRegExp:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 isNew Z
0 1 1 self Ljava/lang/Object;
0 1 2 pattern Ljava/lang/Object;
0 1 3 flags Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.SpecializedFunction(isConstructor = true)
MethodParameters:
Name Flags
isNew final
self final
pattern final
flags final
public static jdk.nashorn.internal.objects.NativeRegExp newRegExp(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: ldc ""
astore 2
start local 2 1: ldc ""
astore 3
start local 3 2: aload 0
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 8
3: aload 0
instanceof jdk.nashorn.internal.objects.NativeRegExp
ifeq 7
4: aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 6
5: ldc "regex.cant.supply.flags"
iconst_0
anewarray java.lang.String
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
6: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 0
checkcast jdk.nashorn.internal.objects.NativeRegExp
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
astore 2
8: StackMap locals:
StackMap stack:
aload 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 10
9: aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
astore 3
10: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.objects.NativeRegExp
dup
aload 2
aload 3
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 regexp Ljava/lang/Object;
0 11 1 flags Ljava/lang/Object;
1 11 2 patternString Ljava/lang/String;
2 11 3 flagString Ljava/lang/String;
MethodParameters:
Name Flags
regexp final
flags final
static jdk.nashorn.internal.objects.NativeRegExp flatRegExp(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 15
4: StackMap locals: java.lang.StringBuilder int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: iload 4
lookupswitch { // 12
36: 6
40: 6
41: 6
42: 6
43: 6
46: 6
63: 6
91: 6
92: 6
94: 6
123: 6
124: 6
default: 12
}
6: StackMap locals: int
StackMap stack:
aload 1
ifnonnull 9
7: new java.lang.StringBuilder
dup
iload 2
iconst_2
imul
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
8: aload 1
aload 0
iconst_0
iload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 1
bipush 92
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 1
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
11: goto 14
12: StackMap locals:
StackMap stack:
aload 1
ifnull 14
13: aload 1
iload 4
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
iload 2
if_icmplt 4
end local 3 16: new jdk.nashorn.internal.objects.NativeRegExp
dup
aload 1
ifnonnull 17
aload 0
goto 18
StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack: new 16 new 16
17: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: java.lang.String java.lang.StringBuilder int
StackMap stack: new 16 new 16 java.lang.String
18: ldc ""
invokespecial jdk.nashorn.internal.objects.NativeRegExp.<init>:(Ljava/lang/String;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 string Ljava/lang/String;
1 19 1 sb Ljava/lang/StringBuilder;
2 19 2 length I
3 16 3 i I
5 14 4 c C
MethodParameters:
Name Flags
string final
private java.lang.String getFlagString();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
iconst_3
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isGlobal:()Z
ifeq 3
2: aload 1
bipush 103
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isIgnoreCase:()Z
ifeq 5
4: aload 1
bipush 105
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isMultiline:()Z
ifeq 7
6: aload 1
bipush 109
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
1 8 1 sb Ljava/lang/StringBuilder;
public java.lang.String safeToString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "[RegExp "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.getSource:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getFlagString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
public static jdk.nashorn.internal.runtime.ScriptObject compile(java.lang.Object, java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ScriptObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
astore 3
start local 3 1: aload 1
aload 2
invokestatic jdk.nashorn.internal.objects.NativeRegExp.newRegExp:(Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
astore 4
start local 4 2: aload 3
aload 4
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getRegExp:()Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setRegExp:(Ljdk/nashorn/internal/runtime/regexp/RegExp;)V
3: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
0 4 1 pattern Ljava/lang/Object;
0 4 2 flags Ljava/lang/Object;
1 4 3 regExp Ljdk/nashorn/internal/objects/NativeRegExp;
2 4 4 compiled Ljdk/nashorn/internal/objects/NativeRegExp;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
pattern final
flags final
public static jdk.nashorn.internal.runtime.ScriptObject exec(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ScriptObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.exec:(Ljava/lang/String;)Ljdk/nashorn/internal/objects/NativeRegExpExecResult;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 string Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
string final
public static boolean test(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
aload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.test:(Ljava/lang/String;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
0 1 1 string Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
string final
public static java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Function(attributes = 2)
MethodParameters:
Name Flags
self final
public static java.lang.Object source(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getRegExp:()Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.getSource:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(attributes = 7)
MethodParameters:
Name Flags
self final
public static java.lang.Object global(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getRegExp:()Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isGlobal:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(attributes = 7)
MethodParameters:
Name Flags
self final
public static java.lang.Object ignoreCase(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getRegExp:()Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isIgnoreCase:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(attributes = 7)
MethodParameters:
Name Flags
self final
public static java.lang.Object multiline(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.checkRegExp:(Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getRegExp:()Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isMultiline:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(attributes = 7)
MethodParameters:
Name Flags
self final
public static java.lang.Object getLastInput(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getInput:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "input")
MethodParameters:
Name Flags
self final
public static java.lang.Object getLastMultiline(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "multiline")
MethodParameters:
Name Flags
self final
public static java.lang.Object getLastMatch(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
iconst_0
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "lastMatch")
MethodParameters:
Name Flags
self final
public static java.lang.Object getLastParen(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getLastParen:()Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "lastParen")
MethodParameters:
Name Flags
self final
public static java.lang.Object getLeftContext(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getInput:()Ljava/lang/String;
iconst_0
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "leftContext")
MethodParameters:
Name Flags
self final
public static java.lang.Object getRightContext(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getInput:()Ljava/lang/String;
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.length:()I
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "rightContext")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup1(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
iconst_1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$1")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup2(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
iconst_2
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$2")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup3(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
iconst_3
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$3")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup4(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
iconst_4
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$4")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup5(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
iconst_5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$5")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup6(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
bipush 6
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$6")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup7(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
bipush 7
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$7")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup8(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
bipush 8
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$8")
MethodParameters:
Name Flags
self final
public static java.lang.Object getGroup9(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getLastRegExpResult:()Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 1
start local 1 1: aload 1
ifnonnull 2
ldc ""
goto 3
StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
2: aload 1
bipush 9
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroup:(I)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 self Ljava/lang/Object;
1 4 1 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(where = jdk.nashorn.internal.objects.annotations.Where.CONSTRUCTOR:Ljdk/nashorn/internal/objects/annotations/Where;, attributes = 5, name = "$9")
MethodParameters:
Name Flags
self final
private jdk.nashorn.internal.runtime.regexp.RegExpResult execInner(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isGlobal:()Z
istore 2
start local 2 1: aload 0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.getLastIndex:()I
istore 3
start local 3 2: iload 2
ifne 4
3: iconst_0
istore 3
4: StackMap locals: int int
StackMap stack:
iload 3
iflt 5
iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmple 8
5: StackMap locals:
StackMap stack:
iload 2
ifeq 7
6: aload 0
iconst_0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setLastIndex:(I)V
7: StackMap locals:
StackMap stack:
aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.match:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
astore 4
start local 4 9: aload 4
ifnull 10
aload 4
iload 3
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.search:(I)Z
ifne 13
10: StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpMatcher
StackMap stack:
iload 2
ifeq 12
11: aload 0
iconst_0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setLastIndex:(I)V
12: StackMap locals:
StackMap stack:
aconst_null
areturn
13: StackMap locals:
StackMap stack:
iload 2
ifeq 15
14: aload 0
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.end:()I
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setLastIndex:(I)V
15: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.regexp.RegExpResult
dup
aload 1
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.groups:(Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;)[Ljava/lang/Object;
invokespecial jdk.nashorn.internal.runtime.regexp.RegExpResult.<init>:(Ljava/lang/String;I[Ljava/lang/Object;)V
astore 5
start local 5 16: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.globalObject:Ljdk/nashorn/internal/objects/Global;
aload 5
invokevirtual jdk.nashorn.internal.objects.Global.setLastRegExpResult:(Ljdk/nashorn/internal/runtime/regexp/RegExpResult;)V
17: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 18 1 string Ljava/lang/String;
1 18 2 isGlobal Z
2 18 3 start I
9 18 4 matcher Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
16 18 5 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
MethodParameters:
Name Flags
string final
private jdk.nashorn.internal.runtime.regexp.RegExpResult execSplit(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iflt 1
iload 2
aload 1
invokevirtual java.lang.String.length:()I
if_icmple 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.match:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
astore 3
start local 3 3: aload 3
ifnull 4
aload 3
iload 2
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.search:(I)Z
ifne 5
4: StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpMatcher
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.regexp.RegExpResult
dup
aload 1
aload 3
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
aload 0
aload 3
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.groups:(Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;)[Ljava/lang/Object;
invokespecial jdk.nashorn.internal.runtime.regexp.RegExpResult.<init>:(Ljava/lang/String;I[Ljava/lang/Object;)V
astore 4
start local 4 6: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.globalObject:Ljdk/nashorn/internal/objects/Global;
aload 4
invokevirtual jdk.nashorn.internal.objects.Global.setLastRegExpResult:(Ljdk/nashorn/internal/runtime/regexp/RegExpResult;)V
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 8 1 string Ljava/lang/String;
0 8 2 start I
3 8 3 matcher Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
6 8 4 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
MethodParameters:
Name Flags
string final
start final
private java.lang.Object[] groups(jdk.nashorn.internal.runtime.regexp.RegExpMatcher);
descriptor: (Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.groupCount:()I
istore 2
start local 2 1: iload 2
iconst_1
iadd
anewarray java.lang.Object
astore 3
start local 3 2: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.getGroupsInNegativeLookahead:()Ljdk/nashorn/internal/runtime/BitVector;
astore 4
start local 4 3: iconst_0
istore 5
start local 5 4: aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
istore 6
start local 6 5: goto 17
6: StackMap locals: jdk.nashorn.internal.objects.NativeRegExp jdk.nashorn.internal.runtime.regexp.RegExpMatcher int java.lang.Object[] jdk.nashorn.internal.runtime.BitVector int int
StackMap stack:
aload 1
iload 5
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:(I)I
istore 7
start local 7 7: iload 6
iload 7
if_icmpgt 9
8: aload 4
ifnull 11
aload 4
iload 5
i2l
invokevirtual jdk.nashorn.internal.runtime.BitVector.isSet:(J)Z
ifeq 11
9: StackMap locals: int
StackMap stack:
aload 3
iload 5
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
aastore
10: goto 16
11: StackMap locals:
StackMap stack:
aload 1
iload 5
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.group:(I)Ljava/lang/String;
astore 8
start local 8 12: aload 3
iload 5
aload 8
ifnonnull 13
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
goto 14
StackMap locals: jdk.nashorn.internal.objects.NativeRegExp jdk.nashorn.internal.runtime.regexp.RegExpMatcher int java.lang.Object[] jdk.nashorn.internal.runtime.BitVector int int int java.lang.String
StackMap stack: java.lang.Object[] int
13: aload 8
StackMap locals: jdk.nashorn.internal.objects.NativeRegExp jdk.nashorn.internal.runtime.regexp.RegExpMatcher int java.lang.Object[] jdk.nashorn.internal.runtime.BitVector int int int java.lang.String
StackMap stack: java.lang.Object[] int java.lang.Object
14: aastore
15: iload 7
istore 6
end local 8 end local 7 16: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
17: iload 5
iload 2
if_icmple 6
end local 6 end local 5 18: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 19 1 matcher Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
1 19 2 groupCount I
2 19 3 groups [Ljava/lang/Object;
3 19 4 groupsInNegativeLookahead Ljdk/nashorn/internal/runtime/BitVector;
4 18 5 i I
5 18 6 lastGroupStart I
7 16 7 groupStart I
12 16 8 group Ljava/lang/String;
MethodParameters:
Name Flags
matcher final
public jdk.nashorn.internal.objects.NativeRegExpExecResult exec(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/nashorn/internal/objects/NativeRegExpExecResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.execInner:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
new jdk.nashorn.internal.objects.NativeRegExpExecResult
dup
aload 2
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.globalObject:Ljdk/nashorn/internal/objects/Global;
invokespecial jdk.nashorn.internal.objects.NativeRegExpExecResult.<init>:(Ljdk/nashorn/internal/runtime/regexp/RegExpResult;Ljdk/nashorn/internal/objects/Global;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 4 1 string Ljava/lang/String;
1 4 2 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
MethodParameters:
Name Flags
string final
public boolean test(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.execInner:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string final
java.lang.String replace(java.lang.String, java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0000)
Code:
stack=7, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.match:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
astore 4
start local 4 1: aload 4
ifnonnull 3
2: aload 1
areturn
3: StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpMatcher
StackMap stack:
aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isGlobal:()Z
ifne 17
4: aload 4
iconst_0
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.search:(I)Z
ifne 6
5: aload 1
areturn
6: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 7: aload 5
aload 1
iconst_0
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
8: aload 3
ifnull 14
9: aload 3
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isStrictCallable:(Ljava/lang/Object;)Z
ifeq 10
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
goto 11
StackMap locals: java.lang.StringBuilder
StackMap stack:
10: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.PropertyAccess
11: astore 6
start local 6 12: aload 5
aload 0
invokestatic jdk.nashorn.internal.objects.NativeRegExp.getReplaceValueInvoker:()Ljava/lang/invoke/MethodHandle;
aload 3
aload 6
aload 4
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.callReplaceValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 13: goto 15
14: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 1
aload 2
aload 5
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.appendReplacement:(Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringBuilder;)V
15: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.end:()I
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
16: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 5 17: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setLastIndex:(I)V
18: aload 4
iconst_0
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.search:(I)Z
ifne 20
19: aload 1
areturn
20: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 21: iconst_0
istore 6
start local 6 22: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 7
start local 7 23: aload 3
ifnonnull 24
aconst_null
goto 25
StackMap locals: int int java.lang.StringBuilder
StackMap stack:
24: invokestatic jdk.nashorn.internal.objects.NativeRegExp.getReplaceValueInvoker:()Ljava/lang/invoke/MethodHandle;
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
25: astore 8
start local 8 26: aload 3
ifnull 27
aload 3
invokestatic jdk.nashorn.internal.runtime.linker.Bootstrap.isStrictCallable:(Ljava/lang/Object;)Z
ifeq 28
StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
27: getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
goto 29
StackMap locals:
StackMap stack:
28: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.PropertyAccess
29: astore 9
start local 9 30: StackMap locals: java.lang.Object
StackMap stack:
aload 7
aload 1
iload 5
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
31: aload 3
ifnull 34
32: aload 7
aload 0
aload 8
aload 3
aload 9
aload 4
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.callReplaceValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: goto 35
34: StackMap locals:
StackMap stack:
aload 0
aload 4
aload 1
aload 2
aload 7
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.appendReplacement:(Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringBuilder;)V
35: StackMap locals:
StackMap stack:
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.end:()I
istore 5
36: aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.end:()I
if_icmpne 40
37: aload 0
iload 5
iconst_1
iadd
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.setLastIndex:(I)V
38: iload 5
iconst_1
iadd
istore 6
39: goto 41
40: StackMap locals:
StackMap stack:
iload 5
istore 6
41: StackMap locals:
StackMap stack:
iload 6
aload 1
invokevirtual java.lang.String.length:()I
if_icmpgt 42
aload 4
iload 6
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.search:(I)Z
ifne 30
42: StackMap locals:
StackMap stack:
aload 7
aload 1
iload 5
aload 1
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
43: aload 7
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 44 1 string Ljava/lang/String;
0 44 2 replacement Ljava/lang/String;
0 44 3 function Ljava/lang/Object;
1 44 4 matcher Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
7 17 5 sb Ljava/lang/StringBuilder;
12 13 6 self Ljava/lang/Object;
21 44 5 thisIndex I
22 44 6 previousLastIndex I
23 44 7 sb Ljava/lang/StringBuilder;
26 44 8 invoker Ljava/lang/invoke/MethodHandle;
30 44 9 self Ljava/lang/Object;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
string final
replacement final
function final
private void appendReplacement(jdk.nashorn.internal.runtime.regexp.RegExpMatcher, java.lang.String, java.lang.String, java.lang.StringBuilder);
descriptor: (Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;Ljava/lang/String;Ljava/lang/String;Ljava/lang/StringBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iconst_0
istore 5
start local 5 1: aconst_null
astore 6
start local 6 2: goto 50
3: StackMap locals: int java.lang.Object[]
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 4: iload 7
bipush 36
if_icmpne 48
5: iinc 5 1
6: iload 5
aload 3
invokevirtual java.lang.String.length:()I
if_icmpne 9
7: aload 4
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
8: goto 51
9: StackMap locals: int
StackMap stack:
aload 3
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 7
10: iload 7
bipush 48
isub
istore 8
start local 8 11: iload 8
iflt 30
iload 8
bipush 9
if_icmpgt 30
iload 8
aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.groupCount:()I
if_icmpgt 30
12: iload 8
istore 9
start local 9 13: iinc 5 1
14: iload 5
aload 3
invokevirtual java.lang.String.length:()I
if_icmpge 21
iload 8
aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.groupCount:()I
if_icmpge 21
15: aload 3
iload 5
invokevirtual java.lang.String.charAt:(I)C
bipush 48
isub
istore 10
start local 10 16: iload 10
iflt 21
iload 10
bipush 9
if_icmpgt 21
17: iload 8
bipush 10
imul
iload 10
iadd
istore 11
start local 11 18: iload 11
aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.groupCount:()I
if_icmpgt 21
iload 11
ifle 21
19: iload 11
istore 9
20: iinc 5 1
end local 11 end local 10 21: StackMap locals: int int
StackMap stack:
iload 9
ifle 27
22: aload 6
ifnonnull 24
23: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.groups:(Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;)[Ljava/lang/Object;
astore 6
24: StackMap locals:
StackMap stack:
aload 6
iload 9
aaload
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpeq 50
25: aload 4
aload 6
iload 9
aaload
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: goto 50
27: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.objects.NativeRegExp.$assertionsDisabled:Z
ifne 28
iload 9
ifeq 28
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
28: StackMap locals:
StackMap stack:
aload 4
ldc "$0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 9 29: goto 50
StackMap locals:
StackMap stack:
30: iload 7
bipush 36
if_icmpne 34
31: aload 4
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: iinc 5 1
33: goto 50
StackMap locals:
StackMap stack:
34: iload 7
bipush 38
if_icmpne 38
35: aload 4
aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.group:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: iinc 5 1
37: goto 50
StackMap locals:
StackMap stack:
38: iload 7
bipush 96
if_icmpne 42
39: aload 4
aload 2
iconst_0
aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
40: iinc 5 1
41: goto 50
StackMap locals:
StackMap stack:
42: iload 7
bipush 39
if_icmpne 46
43: aload 4
aload 2
aload 1
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.end:()I
aload 2
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
44: iinc 5 1
45: goto 50
46: StackMap locals:
StackMap stack:
aload 4
bipush 36
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 8 47: goto 50
48: StackMap locals:
StackMap stack:
aload 4
iload 7
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
49: iinc 5 1
end local 7 50: StackMap locals:
StackMap stack:
iload 5
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 3
51: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 52 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 52 1 matcher Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
0 52 2 text Ljava/lang/String;
0 52 3 replacement Ljava/lang/String;
0 52 4 sb Ljava/lang/StringBuilder;
1 52 5 cursor I
2 52 6 groups [Ljava/lang/Object;
4 50 7 nextChar C
11 47 8 firstDigit I
13 29 9 refNum I
16 21 10 secondDigit I
18 21 11 newRefNum I
MethodParameters:
Name Flags
matcher final
text final
replacement final
sb final
private static java.lang.invoke.MethodHandle getReplaceValueInvoker();
descriptor: ()Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
getstatic jdk.nashorn.internal.objects.NativeRegExp.REPLACE_VALUE:Ljava/lang/Object;
1: new jdk.nashorn.internal.objects.NativeRegExp$1
dup
invokespecial jdk.nashorn.internal.objects.NativeRegExp$1.<init>:()V
2: invokevirtual jdk.nashorn.internal.objects.Global.getDynamicInvoker:(Ljava/lang/Object;Ljava/util/concurrent/Callable;)Ljava/lang/invoke/MethodHandle;
areturn
LocalVariableTable:
Start End Slot Name Signature
private java.lang.String callReplaceValue(java.lang.invoke.MethodHandle, java.lang.Object, java.lang.Object, jdk.nashorn.internal.runtime.regexp.RegExpMatcher, java.lang.String);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;Ljava/lang/Object;Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 4
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.groups:(Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;)[Ljava/lang/Object;
astore 6
start local 6 1: aload 6
aload 6
arraylength
iconst_2
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
astore 7
start local 7 2: aload 7
aload 6
arraylength
aload 4
invokeinterface jdk.nashorn.internal.runtime.regexp.RegExpMatcher.start:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
3: aload 7
aload 6
arraylength
iconst_1
iadd
aload 5
aastore
4: aload 1
aload 2
aload 3
aload 7
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 5 1 invoker Ljava/lang/invoke/MethodHandle;
0 5 2 function Ljava/lang/Object;
0 5 3 self Ljava/lang/Object;
0 5 4 matcher Ljdk/nashorn/internal/runtime/regexp/RegExpMatcher;
0 5 5 string Ljava/lang/String;
1 5 6 groups [Ljava/lang/Object;
2 5 7 args [Ljava/lang/Object;
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
invoker final
function final
self final
matcher final
string final
jdk.nashorn.internal.objects.NativeArray split(java.lang.String, long);
descriptor: (Ljava/lang/String;J)Ljdk/nashorn/internal/objects/NativeArray;
flags: (0x0000)
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: lload 2
lconst_0
lcmp
ifne 2
1: new jdk.nashorn.internal.objects.NativeArray
dup
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:()V
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 3: aload 1
invokevirtual java.lang.String.length:()I
istore 6
start local 6 4: iconst_m1
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: iconst_0
istore 9
start local 9 7: goto 25
start local 5 8: StackMap locals: jdk.nashorn.internal.objects.NativeRegExp java.lang.String long java.util.List jdk.nashorn.internal.runtime.regexp.RegExpResult int int int int
StackMap stack:
aload 5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
aload 5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.length:()I
iadd
istore 8
9: iload 8
iload 9
if_icmple 21
10: aload 4
aload 1
iload 9
aload 5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroups:()[Ljava/lang/Object;
astore 10
start local 10 12: aload 10
arraylength
iconst_1
if_icmple 18
aload 5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
iload 6
if_icmpge 18
13: iconst_1
istore 11
start local 11 14: goto 17
15: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 4
aload 10
iload 11
aaload
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: iinc 11 1
StackMap locals:
StackMap stack:
17: iload 11
aload 10
arraylength
if_icmpge 18
aload 4
invokeinterface java.util.List.size:()I
i2l
lload 2
lcmp
iflt 15
end local 11 18: StackMap locals:
StackMap stack:
aload 5
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.length:()I
istore 7
19: aload 4
invokeinterface java.util.List.size:()I
i2l
lload 2
lcmp
iflt 21
20: goto 27
end local 10 21: StackMap locals:
StackMap stack:
iload 8
iload 9
if_icmpne 24
22: iinc 8 1
23: goto 25
24: StackMap locals:
StackMap stack:
iload 8
istore 9
end local 5 25: StackMap locals: jdk.nashorn.internal.objects.NativeRegExp java.lang.String long java.util.List top int int int int
StackMap stack:
aload 0
aload 1
iload 8
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.execSplit:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
dup
astore 5
start local 5 26: ifnonnull 8
27: StackMap locals: jdk.nashorn.internal.objects.NativeRegExp java.lang.String long java.util.List jdk.nashorn.internal.runtime.regexp.RegExpResult int int int int
StackMap stack:
aload 4
invokeinterface java.util.List.size:()I
i2l
lload 2
lcmp
ifge 33
28: iload 9
aload 1
invokevirtual java.lang.String.length:()I
if_icmpne 32
29: iload 7
ifgt 30
aload 0
ldc ""
iconst_0
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.execSplit:(Ljava/lang/String;I)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
ifnonnull 33
30: StackMap locals:
StackMap stack:
aload 4
ldc ""
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
31: goto 33
32: StackMap locals:
StackMap stack:
aload 4
aload 1
iload 9
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
33: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.objects.NativeArray
dup
aload 4
invokeinterface java.util.List.toArray:()[Ljava/lang/Object;
invokespecial jdk.nashorn.internal.objects.NativeArray.<init>:([Ljava/lang/Object;)V
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 34 1 string Ljava/lang/String;
0 34 2 limit J
3 34 4 matches Ljava/util/List<Ljava/lang/Object;>;
8 25 5 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
26 34 5 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
4 34 6 inputLength I
5 34 7 splitLastLength I
6 34 8 splitLastIndex I
7 34 9 splitLastLastIndex I
12 21 10 groups [Ljava/lang/Object;
14 18 11 index I
MethodParameters:
Name Flags
string final
limit final
int search(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeRegExp.execInner:(Ljava/lang/String;)Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iconst_m1
ireturn
3: StackMap locals: jdk.nashorn.internal.runtime.regexp.RegExpResult
StackMap stack:
aload 2
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 4 1 string Ljava/lang/String;
1 4 2 match Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
MethodParameters:
Name Flags
string final
public int getLastIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.lastIndex:Ljava/lang/Object;
invokestatic jdk.nashorn.internal.runtime.JSType.toInteger:(Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
public java.lang.Object getLastIndexObject();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.lastIndex:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
public void setLastIndex(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic jdk.nashorn.internal.runtime.JSType.toObject:(I)Ljava/lang/Object;
putfield jdk.nashorn.internal.objects.NativeRegExp.lastIndex:Ljava/lang/Object;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 lastIndex I
MethodParameters:
Name Flags
lastIndex final
private static jdk.nashorn.internal.objects.NativeRegExp checkRegExp(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljdk/nashorn/internal/objects/NativeRegExp;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.internal.objects.NativeRegExp
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.objects.NativeRegExp
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnull 4
aload 0
invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getRegExpPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
if_acmpne 4
3: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getDefaultRegExp:()Ljdk/nashorn/internal/objects/NativeRegExp;
areturn
4: StackMap locals:
StackMap stack:
ldc "not.a.regexp"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 self Ljava/lang/Object;
MethodParameters:
Name Flags
self final
boolean getGlobal();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExp.isGlobal:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
private jdk.nashorn.internal.runtime.regexp.RegExp getRegExp();
descriptor: ()Ljdk/nashorn/internal/runtime/regexp/RegExp;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
private void setRegExp(jdk.nashorn.internal.runtime.regexp.RegExp);
descriptor: (Ljdk/nashorn/internal/runtime/regexp/RegExp;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield jdk.nashorn.internal.objects.NativeRegExp.regexp:Ljdk/nashorn/internal/runtime/regexp/RegExp;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/objects/NativeRegExp;
0 2 1 regexp Ljdk/nashorn/internal/runtime/regexp/RegExp;
MethodParameters:
Name Flags
regexp final
}
SourceFile: "NativeRegExp.java"
NestMembers:
jdk.nashorn.internal.objects.NativeRegExp$1
InnerClasses:
jdk.nashorn.internal.objects.NativeRegExp$1
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "RegExp")