public final class jdk.nashorn.internal.objects.NativeStrictArguments 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.NativeStrictArguments
super_class: jdk.nashorn.internal.runtime.ScriptObject
{
private static final java.lang.invoke.MethodHandle G$LENGTH;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle S$LENGTH;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.nashorn.internal.runtime.PropertyMap map$;
descriptor: Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.Object length;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private final java.lang.Object[] namedArgs;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=2, args_size=0
0: ldc "G$length"
ldc Ljava/lang/Object;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.objects.NativeStrictArguments.findOwnMH:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeStrictArguments.G$LENGTH:Ljava/lang/invoke/MethodHandle;
1: ldc "S$length"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljava/lang/Object;
aastore
invokestatic jdk.nashorn.internal.objects.NativeStrictArguments.findOwnMH:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.objects.NativeStrictArguments.S$LENGTH:Ljava/lang/invoke/MethodHandle;
2: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 0
start local 0 3: aload 0
ldc "length"
iconst_2
getstatic jdk.nashorn.internal.objects.NativeStrictArguments.G$LENGTH:Ljava/lang/invoke/MethodHandle;
getstatic jdk.nashorn.internal.objects.NativeStrictArguments.S$LENGTH:Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.AccessorProperty.create:(Ljava/lang/Object;ILjava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljdk/nashorn/internal/runtime/AccessorProperty;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: aload 0
invokestatic jdk.nashorn.internal.runtime.PropertyMap.newMap:(Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/PropertyMap;
astore 1
start local 1 5: aload 1
aload 1
ldc "caller"
bipush 6
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.newUserAccessors:(Ljava/lang/Object;I)Ljdk/nashorn/internal/runtime/UserAccessorProperty;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.addPropertyNoHistory:(Ljdk/nashorn/internal/runtime/Property;)Ljdk/nashorn/internal/runtime/PropertyMap;
astore 1
6: aload 1
aload 1
ldc "callee"
bipush 6
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.newUserAccessors:(Ljava/lang/Object;I)Ljdk/nashorn/internal/runtime/UserAccessorProperty;
invokevirtual jdk.nashorn.internal.runtime.PropertyMap.addPropertyNoHistory:(Ljdk/nashorn/internal/runtime/Property;)Ljdk/nashorn/internal/runtime/PropertyMap;
astore 1
7: aload 1
putstatic jdk.nashorn.internal.objects.NativeStrictArguments.map$:Ljdk/nashorn/internal/runtime/PropertyMap;
end local 1 end local 0 8: return
LocalVariableTable:
Start End Slot Name Signature
3 8 0 properties Ljava/util/ArrayList<Ljdk/nashorn/internal/runtime/Property;>;
5 8 1 map Ljdk/nashorn/internal/runtime/PropertyMap;
static jdk.nashorn.internal.runtime.PropertyMap getInitialMap();
descriptor: ()Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.objects.NativeStrictArguments.map$:Ljdk/nashorn/internal/runtime/PropertyMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.Object[], int, jdk.nashorn.internal.runtime.ScriptObject, jdk.nashorn.internal.runtime.PropertyMap);
descriptor: ([Ljava/lang/Object;ILjdk/nashorn/internal/runtime/ScriptObject;Ljdk/nashorn/internal/runtime/PropertyMap;)V
flags: (0x0000)
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 3
aload 4
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.NativeStrictArguments.setIsArguments:()V
2: invokestatic jdk.nashorn.internal.objects.Global.instance:()Ljdk/nashorn/internal/objects/Global;
invokevirtual jdk.nashorn.internal.objects.Global.getTypeErrorThrower:()Ljdk/nashorn/internal/runtime/ScriptFunction;
astore 5
start local 5 3: aload 0
ldc "caller"
bipush 6
aload 5
aload 5
invokevirtual jdk.nashorn.internal.objects.NativeStrictArguments.initUserAccessors:(Ljava/lang/String;ILjdk/nashorn/internal/runtime/ScriptFunction;Ljdk/nashorn/internal/runtime/ScriptFunction;)V
4: aload 0
ldc "callee"
bipush 6
aload 5
aload 5
invokevirtual jdk.nashorn.internal.objects.NativeStrictArguments.initUserAccessors:(Ljava/lang/String;ILjdk/nashorn/internal/runtime/ScriptFunction;Ljdk/nashorn/internal/runtime/ScriptFunction;)V
5: aload 0
aload 1
invokestatic jdk.nashorn.internal.runtime.arrays.ArrayData.allocate:([Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/arrays/ArrayData;
invokevirtual jdk.nashorn.internal.objects.NativeStrictArguments.setArray:(Ljdk/nashorn/internal/runtime/arrays/ArrayData;)V
6: aload 0
aload 1
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
putfield jdk.nashorn.internal.objects.NativeStrictArguments.length:Ljava/lang/Object;
7: aload 0
iload 2
anewarray java.lang.Object
putfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
8: iload 2
aload 1
arraylength
if_icmple 10
9: aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;Ljava/lang/Object;)V
10: StackMap locals: jdk.nashorn.internal.objects.NativeStrictArguments java.lang.Object[] int jdk.nashorn.internal.runtime.ScriptObject jdk.nashorn.internal.runtime.PropertyMap jdk.nashorn.internal.runtime.ScriptFunction
StackMap stack:
aload 1
iconst_0
aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
iconst_0
aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
arraylength
aload 1
arraylength
invokestatic java.lang.Math.min:(II)I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: return
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 12 0 this Ljdk/nashorn/internal/objects/NativeStrictArguments;
0 12 1 values [Ljava/lang/Object;
0 12 2 numParams I
0 12 3 proto Ljdk/nashorn/internal/runtime/ScriptObject;
0 12 4 map Ljdk/nashorn/internal/runtime/PropertyMap;
3 12 5 func Ljdk/nashorn/internal/runtime/ScriptFunction;
MethodParameters:
Name Flags
values final
numParams final
proto final
map 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 "Arguments"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeStrictArguments;
public java.lang.Object getArgument(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
arraylength
if_icmpge 1
aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
iload 1
aaload
goto 2
StackMap locals:
StackMap stack:
1: getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeStrictArguments;
0 3 1 key I
MethodParameters:
Name Flags
key final
public void setArgument(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 2
iload 1
aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
arraylength
if_icmpge 2
1: aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.namedArgs:[Ljava/lang/Object;
iload 1
aload 2
aastore
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/objects/NativeStrictArguments;
0 3 1 key I
0 3 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
key final
value final
public static java.lang.Object G$length(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
instanceof jdk.nashorn.internal.objects.NativeStrictArguments
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.objects.NativeStrictArguments
invokevirtual jdk.nashorn.internal.objects.NativeStrictArguments.getArgumentsLength:()Ljava/lang/Object;
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;
MethodParameters:
Name Flags
self final
public static void S$length(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof jdk.nashorn.internal.objects.NativeStrictArguments
ifeq 2
1: aload 0
checkcast jdk.nashorn.internal.objects.NativeStrictArguments
aload 1
invokevirtual jdk.nashorn.internal.objects.NativeStrictArguments.setArgumentsLength:(Ljava/lang/Object;)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 value Ljava/lang/Object;
MethodParameters:
Name Flags
self final
value final
private java.lang.Object getArgumentsLength();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.objects.NativeStrictArguments.length:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/objects/NativeStrictArguments;
private void setArgumentsLength(java.lang.Object);
descriptor: (Ljava/lang/Object;)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.NativeStrictArguments.length: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/NativeStrictArguments;
0 2 1 length Ljava/lang/Object;
MethodParameters:
Name Flags
length final
private static java.lang.invoke.MethodHandle findOwnMH(java.lang.String, java.lang.Class<?>, java.lang.Class<?>[]);
descriptor: (Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/objects/NativeStrictArguments;
aload 0
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
aload 2
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.findStatic:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
0 1 1 rtype Ljava/lang/Class<*>;
0 1 2 types [Ljava/lang/Class;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;[Ljava/lang/Class<*>;)Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
name final
rtype final
types final
}
SourceFile: "NativeStrictArguments.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles