public final class jdk.nashorn.internal.objects.NativeRegExpExecResult 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.NativeRegExpExecResult
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
public java.lang.Object index;
descriptor: Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property()
public java.lang.Object input;
descriptor: Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Property()
private static jdk.nashorn.internal.runtime.PropertyMap $nasgenmap$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
void <init>(jdk.nashorn.internal.runtime.regexp.RegExpResult, jdk.nashorn.internal.objects.Global);
descriptor: (Ljdk/nashorn/internal/runtime/regexp/RegExpResult;Ljdk/nashorn/internal/objects/Global;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jdk.nashorn.internal.objects.Global.getArrayPrototype:()Ljdk/nashorn/internal/runtime/ScriptObject;
getstatic jdk.nashorn.internal.objects.NativeRegExpExecResult.$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
invokevirtual jdk.nashorn.internal.objects.NativeRegExpExecResult.setIsArray:()V
2: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getGroups:()[Ljava/lang/Object;
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayData.allocate:([Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
invokevirtual jdk.nashorn.internal.objects.NativeRegExpExecResult.setArray:(Ljdk/nashorn/internal/runtime/arrays/ArrayData;)V
3: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getIndex:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield jdk.nashorn.internal.objects.NativeRegExpExecResult.index:Ljava/lang/Object;
4: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.regexp.RegExpResult.getInput:()Ljava/lang/String;
putfield jdk.nashorn.internal.objects.NativeRegExpExecResult.input:Ljava/lang/Object;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/objects/NativeRegExpExecResult;
0 6 1 result Ljdk/nashorn/internal/runtime/regexp/RegExpResult;
0 6 2 global Ljdk/nashorn/internal/objects/Global;
MethodParameters:
Name Flags
result final
global 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 "Array"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeRegExpExecResult;
public static java.lang.Object length(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.runtime.ScriptObject
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getArray:()Ljdk/nashorn/internal/runtime/arrays/ArrayData;
invokevirtual jdk.nashorn.internal.runtime.arrays.ArrayData.length:()J
l2d
invokestatic jdk.nashorn.internal.runtime.JSType.toUint32:(D)J
l2d
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
areturn
2: StackMap locals:
StackMap stack:
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Getter(attributes = 6)
MethodParameters:
Name Flags
self final
public static void length(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.runtime.ScriptObject
aload 1
invokestatic jdk.nashorn.internal.objects.NativeArray.validLength:(Ljava/lang/Object;)J
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.setLength:(J)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 self Ljava/lang/Object;
0 3 1 length Ljava/lang/Object;
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.Setter(attributes = 6)
MethodParameters:
Name Flags
self final
length final
}
SourceFile: "NativeRegExpExecResult.java"
RuntimeVisibleAnnotations:
jdk.nashorn.internal.objects.annotations.ScriptClass(value = "RegExpExecResult")