public abstract class jdk.nashorn.internal.runtime.ScriptFunctionData implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: jdk.nashorn.internal.runtime.ScriptFunctionData
super_class: java.lang.Object
{
static final int MAX_ARITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 125
protected final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected transient java.util.LinkedList<jdk.nashorn.internal.runtime.CompiledFunction> code;
descriptor: Ljava/util/LinkedList;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
Signature: Ljava/util/LinkedList<Ljdk/nashorn/internal/runtime/CompiledFunction;>;
protected int flags;
descriptor: I
flags: (0x0004) ACC_PROTECTED
private int arity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private volatile transient jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers genericInvokers;
descriptor: Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT
private static final java.lang.invoke.MethodHandle BIND_VAR_ARGS;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int IS_STRICT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int IS_BUILTIN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int IS_CONSTRUCTOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int NEEDS_CALLEE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int USES_THIS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int IS_VARIABLE_ARITY;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final int IS_PROPERTY_ACCESSOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
public static final int IS_ES6_METHOD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 128
public static final int IS_STRICT_OR_BUILTIN;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int IS_BUILTIN_CONSTRUCTOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4252901245508769114
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=6, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/ScriptFunctionData;
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.runtime.ScriptFunctionData.$assertionsDisabled:Z
3: ldc "bindVarArgs"
ldc [Ljava/lang/Object;
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.runtime.ScriptFunctionData.findOwnMH:(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
putstatic jdk.nashorn.internal.runtime.ScriptFunctionData.BIND_VAR_ARGS:Ljava/lang/invoke/MethodHandle;
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, int, int);
descriptor: (Ljava/lang/String;II)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield jdk.nashorn.internal.runtime.ScriptFunctionData.code:Ljava/util/LinkedList;
2: aload 0
aload 1
putfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
3: aload 0
iload 3
putfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
4: aload 0
iload 2
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.setArity:(I)V
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 6 1 name Ljava/lang/String;
0 6 2 arity I
0 6 3 flags I
MethodParameters:
Name Flags
name final
arity final
flags final
final int getArity();
descriptor: ()I
flags: (0x0010) ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.arity:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
java.lang.String getDocumentation();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.toSource:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
java.lang.String getDocumentationKey();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
final boolean isVariableArity();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
bipush 32
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
void setArity(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
bipush 125
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
iload 1
invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield jdk.nashorn.internal.runtime.ScriptFunctionData.arity:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 4 1 arity I
MethodParameters:
Name Flags
arity final
void setDocumentationKey(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 docKey Ljava/lang/String;
MethodParameters:
Name Flags
docKey final
jdk.nashorn.internal.runtime.CompiledFunction bind(jdk.nashorn.internal.runtime.CompiledFunction, jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/CompiledFunction;Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/CompiledFunction;
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 1
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.createComposableInvoker:()Ljava/lang/invoke/MethodHandle;
aload 2
aload 3
aload 4
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.bindInvokeHandle:(Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 5
start local 5 1: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.isConstructor:()Z
ifeq 3
2: new jdk.nashorn.internal.runtime.CompiledFunction
dup
aload 5
aload 1
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.createComposableConstructor:()Ljava/lang/invoke/MethodHandle;
aload 2
aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.bindConstructHandle:(Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptFunction;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
aconst_null
invokespecial jdk.nashorn.internal.runtime.CompiledFunction.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/Specialization;)V
areturn
3: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
new jdk.nashorn.internal.runtime.CompiledFunction
dup
aload 5
invokespecial jdk.nashorn.internal.runtime.CompiledFunction.<init>:(Ljava/lang/invoke/MethodHandle;)V
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 4 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 4 1 originalInv Ljdk/nashorn/internal/runtime/CompiledFunction;
0 4 2 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 4 3 self Ljava/lang/Object;
0 4 4 args [Ljava/lang/Object;
1 4 5 boundInvoker Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
originalInv final
fn final
self final
args final
public final boolean isStrict();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
iconst_1
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
protected java.lang.String getFunctionName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
final boolean isBuiltin();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
iconst_2
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
final boolean isConstructor();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
iconst_4
iand
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
abstract boolean needsCallee();
descriptor: ()Z
flags: (0x0400) ACC_ABSTRACT
final boolean needsWrappedThis();
descriptor: ()Z
flags: (0x0010) ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
bipush 16
iand
ifeq 1
aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
iconst_3
iand
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
java.lang.String toSource();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "function "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
ifnonnull 1
ldc ""
goto 2
StackMap locals:
StackMap stack: java.lang.StringBuilder
1: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData
StackMap stack: java.lang.StringBuilder java.lang.String
2: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "() { [native code] }"
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 3 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
ldc "<anonymous>"
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
public java.lang.String toStringVerbose();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "name='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
2: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 3
ldc "<anonymous>"
goto 4
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
3: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: ldc "' "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.code:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
7: ldc " invokers="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.code:Ljava/util/LinkedList;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
1 10 1 sb Ljava/lang/StringBuilder;
final jdk.nashorn.internal.runtime.CompiledFunction getBestInvoker(java.lang.invoke.MethodType, jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic jdk.nashorn.internal.runtime.CompiledFunction.NO_FUNCTIONS:Ljava/util/Collection;
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getBestInvoker:(Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/CompiledFunction;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 callSiteType Ljava/lang/invoke/MethodType;
0 1 2 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
callSiteType final
runtimeScope final
final jdk.nashorn.internal.runtime.CompiledFunction getBestInvoker(java.lang.invoke.MethodType, jdk.nashorn.internal.runtime.ScriptObject, java.util.Collection<jdk.nashorn.internal.runtime.CompiledFunction>);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0010) ACC_FINAL
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getBest:(Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/CompiledFunction;
astore 4
start local 4 1: getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.$assertionsDisabled:Z
ifne 2
aload 4
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: jdk.nashorn.internal.runtime.CompiledFunction
StackMap stack:
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 3 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 3 1 callSiteType Ljava/lang/invoke/MethodType;
0 3 2 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
0 3 3 forbidden Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;
1 3 4 cf Ljdk/nashorn/internal/runtime/CompiledFunction;
Signature: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;)Ljdk/nashorn/internal/runtime/CompiledFunction;
MethodParameters:
Name Flags
callSiteType final
runtimeScope final
forbidden final
final jdk.nashorn.internal.runtime.CompiledFunction getBestConstructor(java.lang.invoke.MethodType, jdk.nashorn.internal.runtime.ScriptObject, java.util.Collection<jdk.nashorn.internal.runtime.CompiledFunction>);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0010) ACC_FINAL
Code:
stack=7, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.isConstructor:()Z
ifne 2
1: ldc "not.a.constructor"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.toSource:()Ljava/lang/String;
aastore
invokestatic jdk.nashorn.internal.runtime.ECMAErrors.typeError:(Ljava/lang/String;[Ljava/lang/String;)Ljdk/nashorn/internal/runtime/ECMAException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokevirtual java.lang.invoke.MethodType.insertParameterTypes:(I[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
aload 2
aload 3
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getBest:(Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/CompiledFunction;
astore 4
start local 4 3: 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 4 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 4 1 callSiteType Ljava/lang/invoke/MethodType;
0 4 2 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
0 4 3 forbidden Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;
3 4 4 cf Ljdk/nashorn/internal/runtime/CompiledFunction;
Signature: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;)Ljdk/nashorn/internal/runtime/CompiledFunction;
MethodParameters:
Name Flags
callSiteType final
runtimeScope final
forbidden final
protected void ensureCompiled();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
final java.lang.invoke.MethodHandle getGenericInvoker(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.ensureGenericInvokers:()Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
astore 2
start local 2 1: aload 2
getfield jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers.invoker:Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 2
aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.createGenericInvoker:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
dup
astore 3
putfield jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers.invoker:Ljava/lang/invoke/MethodHandle;
4: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers java.lang.invoke.MethodHandle
StackMap stack:
aload 3
areturn
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/runtime/ScriptFunctionData;
0 5 1 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
1 5 2 lgenericInvokers Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
2 5 3 invoker Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
runtimeScope final
private java.lang.invoke.MethodHandle createGenericInvoker(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGeneric:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/CompiledFunction;
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.createComposableInvoker:()Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.makeGenericMethod:(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
runtimeScope final
final java.lang.invoke.MethodHandle getGenericConstructor(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.ensureGenericInvokers:()Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
astore 2
start local 2 1: aload 2
getfield jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers.constructor:Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: aload 2
aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.createGenericConstructor:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
dup
astore 3
putfield jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers.constructor:Ljava/lang/invoke/MethodHandle;
4: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers java.lang.invoke.MethodHandle
StackMap stack:
aload 3
areturn
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/runtime/ScriptFunctionData;
0 5 1 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
1 5 2 lgenericInvokers Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
2 5 3 constructor Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
runtimeScope final
private java.lang.invoke.MethodHandle createGenericConstructor(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGeneric:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/CompiledFunction;
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.createComposableConstructor:()Ljava/lang/invoke/MethodHandle;
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.makeGenericMethod:(Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
runtimeScope final
private jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers ensureGenericInvokers();
descriptor: ()Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.genericInvokers:Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
new jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers
dup
invokespecial jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers.<init>:()V
dup
astore 1
putfield jdk.nashorn.internal.runtime.ScriptFunctionData.genericInvokers:Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
3: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
1 4 1 lgenericInvokers Ljdk/nashorn/internal/runtime/ScriptFunctionData$GenericInvokers;
private static java.lang.invoke.MethodType widen(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
anewarray java.lang.Class
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 4
aload 0
iload 2
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
goto 5
StackMap locals: java.lang.invoke.MethodType java.lang.Class[] int
StackMap stack: java.lang.Class[] int
4: ldc Ljava/lang/Object;
StackMap locals: java.lang.invoke.MethodType java.lang.Class[] int
StackMap stack: java.lang.Class[] int java.lang.Class
5: aastore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmplt 3
end local 2 8: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 0
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
aload 1
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 cftype Ljava/lang/invoke/MethodType;
1 9 1 paramTypes [Ljava/lang/Class;
2 8 2 i I
MethodParameters:
Name Flags
cftype final
jdk.nashorn.internal.runtime.CompiledFunction lookupExactApplyToCall(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:()Z
ifeq 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 1
iconst_0
iconst_1
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
StackMap locals:
StackMap stack: java.lang.invoke.MethodType
2: astore 2
start local 2 3: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.code:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodType java.lang.invoke.MethodType top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.CompiledFunction
astore 3
start local 3 5: aload 3
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.isApplyToCall:()Z
ifne 7
6: goto 12
7: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodType java.lang.invoke.MethodType jdk.nashorn.internal.runtime.CompiledFunction java.util.Iterator
StackMap stack:
aload 3
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.type:()Ljava/lang/invoke/MethodType;
astore 5
start local 5 8: aload 5
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
aload 2
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
if_icmpeq 10
9: goto 12
10: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
aload 5
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.widen:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodType;
aload 2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.widen:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 3
areturn
end local 5 end local 3 12: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodType java.lang.invoke.MethodType top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 14 1 type Ljava/lang/invoke/MethodType;
3 14 2 adaptedType Ljava/lang/invoke/MethodType;
5 12 3 cf Ljdk/nashorn/internal/runtime/CompiledFunction;
8 12 5 cftype Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type final
jdk.nashorn.internal.runtime.CompiledFunction pickFunction(java.lang.invoke.MethodType, boolean);
descriptor: (Ljava/lang/invoke/MethodType;Z)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.code:Ljava/util/LinkedList;
invokevirtual java.util.LinkedList.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodType int top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.CompiledFunction
astore 3
start local 3 2: aload 3
aload 1
iload 2
invokevirtual jdk.nashorn.internal.runtime.CompiledFunction.matchesCallSite:(Ljava/lang/invoke/MethodType;Z)Z
ifeq 4
3: aload 3
areturn
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 6 1 callSiteType Ljava/lang/invoke/MethodType;
0 6 2 canPickVarArg Z
2 4 3 candidate Ljdk/nashorn/internal/runtime/CompiledFunction;
MethodParameters:
Name Flags
callSiteType final
canPickVarArg final
abstract jdk.nashorn.internal.runtime.CompiledFunction getBest(java.lang.invoke.MethodType, jdk.nashorn.internal.runtime.ScriptObject, java.util.Collection<jdk.nashorn.internal.runtime.CompiledFunction>, boolean);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;Z)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0400) ACC_ABSTRACT
Signature: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;Z)Ljdk/nashorn/internal/runtime/CompiledFunction;
MethodParameters:
Name Flags
callSiteType final
runtimeScope final
forbidden final
linkLogicOkay final
final jdk.nashorn.internal.runtime.CompiledFunction getBest(java.lang.invoke.MethodType, jdk.nashorn.internal.runtime.ScriptObject, java.util.Collection<jdk.nashorn.internal.runtime.CompiledFunction>);
descriptor: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0010) ACC_FINAL
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
iconst_1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getBest:(Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;Z)Ljdk/nashorn/internal/runtime/CompiledFunction;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 callSiteType Ljava/lang/invoke/MethodType;
0 1 2 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
0 1 3 forbidden Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;
Signature: (Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection<Ljdk/nashorn/internal/runtime/CompiledFunction;>;)Ljdk/nashorn/internal/runtime/CompiledFunction;
MethodParameters:
Name Flags
callSiteType final
runtimeScope final
forbidden final
boolean isValidCallSite(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_2
if_icmplt 3
1: aload 1
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 4 1 callSiteType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
callSiteType final
jdk.nashorn.internal.runtime.CompiledFunction getGeneric(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/CompiledFunction;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGenericType:()Ljava/lang/invoke/MethodType;
aload 1
getstatic jdk.nashorn.internal.runtime.CompiledFunction.NO_FUNCTIONS:Ljava/util/Collection;
iconst_0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getBest:(Ljava/lang/invoke/MethodType;Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/util/Collection;Z)Ljdk/nashorn/internal/runtime/CompiledFunction;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
runtimeScope final
abstract java.lang.invoke.MethodType getGenericType();
descriptor: ()Ljava/lang/invoke/MethodType;
flags: (0x0400) ACC_ABSTRACT
jdk.nashorn.internal.runtime.ScriptObject allocate(jdk.nashorn.internal.runtime.PropertyMap);
descriptor: (Ljdk/nashorn/internal/runtime/PropertyMap;)Ljdk/nashorn/internal/runtime/ScriptObject;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 map Ljdk/nashorn/internal/runtime/PropertyMap;
MethodParameters:
Name Flags
map final
jdk.nashorn.internal.runtime.PropertyMap getAllocatorMap(jdk.nashorn.internal.runtime.ScriptObject);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;)Ljdk/nashorn/internal/runtime/PropertyMap;
flags: (0x0000)
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 1 1 prototype Ljdk/nashorn/internal/runtime/ScriptObject;
MethodParameters:
Name Flags
prototype final
jdk.nashorn.internal.runtime.ScriptFunctionData makeBoundFunctionData(jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/ScriptFunctionData;
flags: (0x0000)
Code:
stack=6, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.EMPTY_ARRAY:[Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 3
StackMap locals:
StackMap stack: java.lang.Object[]
2: astore 4
start local 4 3: aload 3
ifnonnull 4
iconst_0
goto 5
StackMap locals: java.lang.Object[]
StackMap stack:
4: aload 3
arraylength
StackMap locals:
StackMap stack: int
5: istore 5
start local 5 6: aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.flags:I
bipush -9
iand
bipush -17
iand
istore 6
start local 6 7: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 7
start local 7 8: aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.getScope:()Ljdk/nashorn/internal/runtime/ScriptObject;
astore 8
start local 8 9: new jdk.nashorn.internal.runtime.CompiledFunction
dup
aload 0
aload 8
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGenericInvoker:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
aload 0
aload 8
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGenericConstructor:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
aconst_null
invokespecial jdk.nashorn.internal.runtime.CompiledFunction.<init>:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/Specialization;)V
astore 9
start local 9 10: aload 7
aload 0
aload 9
aload 1
aload 2
aload 4
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.bind:(Ljdk/nashorn/internal/runtime/CompiledFunction;Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/CompiledFunction;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: new jdk.nashorn.internal.runtime.FinalScriptFunctionData
dup
aload 0
getfield jdk.nashorn.internal.runtime.ScriptFunctionData.name:Ljava/lang/String;
iconst_0
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getArity:()I
iload 5
isub
invokestatic java.lang.Math.max:(II)I
aload 7
iload 6
invokespecial jdk.nashorn.internal.runtime.FinalScriptFunctionData.<init>:(Ljava/lang/String;ILjava/util/List;I)V
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 12 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 12 1 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 12 2 self Ljava/lang/Object;
0 12 3 args [Ljava/lang/Object;
3 12 4 allArgs [Ljava/lang/Object;
6 12 5 length I
7 12 6 boundFlags I
8 12 7 boundList Ljava/util/List<Ljdk/nashorn/internal/runtime/CompiledFunction;>;
9 12 8 runtimeScope Ljdk/nashorn/internal/runtime/ScriptObject;
10 12 9 bindTarget Ljdk/nashorn/internal/runtime/CompiledFunction;
MethodParameters:
Name Flags
fn final
self final
args final
private java.lang.Object convertThisObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.needsWrappedThis:()Z
ifeq 1
aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.wrapThis:(Ljava/lang/Object;)Ljava/lang/Object;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
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/runtime/ScriptFunctionData;
0 3 1 thiz Ljava/lang/Object;
MethodParameters:
Name Flags
thiz final
static java.lang.Object wrapThis(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifne 5
1: aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.nullOrUndefined:(Ljava/lang/Object;)Z
ifeq 3
2: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isPrimitiveThis:(Ljava/lang/Object;)Z
ifeq 5
4: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
aload 0
invokevirtual jdk.nashorn.internal.objects.Global.wrapAsObject:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 thiz Ljava/lang/Object;
MethodParameters:
Name Flags
thiz final
static boolean isPrimitiveThis(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.isString:(Ljava/lang/Object;)Z
ifne 1
aload 0
instanceof java.lang.Number
ifne 1
aload 0
instanceof java.lang.Boolean
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
private java.lang.invoke.MethodHandle bindInvokeHandle(java.lang.invoke.MethodHandle, jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.isBoundFunction:()Z
istore 5
start local 5 1: aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodHandle;)Z
istore 6
start local 6 2: getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.$assertionsDisabled:Z
ifne 3
iload 6
aload 0
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:()Z
if_icmpeq 3
new java.lang.AssertionError
dup
ldc "callee contract violation 2"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: int int
StackMap stack:
getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.$assertionsDisabled:Z
ifne 4
iload 5
ifeq 4
iload 6
ifeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 5
ifeq 5
aconst_null
goto 6
StackMap locals:
StackMap stack:
5: aload 0
aload 3
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.convertThisObject:(Ljava/lang/Object;)Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
6: astore 7
start local 7 7: aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isVarArg:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 20
8: iload 5
ifeq 11
9: aload 1
astore 9
start local 9 10: goto 15
end local 9 StackMap locals: java.lang.Object
StackMap stack:
11: iload 6
ifeq 14
12: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
iconst_0
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 7
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 9
start local 9 13: goto 15
end local 9 14: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
aload 7
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 9
start local 9 15: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object java.lang.Object[] int int java.lang.Object top java.lang.invoke.MethodHandle
StackMap stack:
aload 4
arraylength
ifle 18
16: aload 9
aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.varArgBinder:(Ljava/lang/invoke/MethodHandle;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 8
start local 8 17: goto 34
end local 8 18: StackMap locals:
StackMap stack:
aload 9
astore 8
end local 9 start local 8 19: goto 34
end local 8 20: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object java.lang.Object[] int int java.lang.Object
StackMap stack:
iload 5
ifeq 21
iconst_1
goto 22
StackMap locals:
StackMap stack:
21: iconst_0
StackMap locals:
StackMap stack: int
22: istore 9
start local 9 23: aload 1
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iload 9
isub
aload 4
arraylength
iload 5
ifeq 24
iconst_0
goto 26
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object java.lang.Object[] int int java.lang.Object top int
StackMap stack: int int
24: iload 6
ifeq 25
iconst_2
goto 26
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object java.lang.Object[] int int java.lang.Object top int
StackMap stack: int int
25: iconst_1
StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object java.lang.Object[] int int java.lang.Object top int
StackMap stack: int int int
26: iadd
invokestatic java.lang.Math.min:(II)I
anewarray java.lang.Object
astore 10
start local 10 27: iconst_0
istore 11
start local 11 28: iload 5
ifne 32
29: iload 6
ifeq 31
30: aload 10
iload 11
iinc 11 1
aload 2
aastore
31: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 10
iload 11
iinc 11 1
aload 7
aastore
32: StackMap locals:
StackMap stack:
aload 4
iconst_0
aload 10
iload 11
aload 10
arraylength
iload 11
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
33: getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 1
iload 9
aload 10
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 8
end local 11 end local 10 end local 9 start local 8 34: StackMap locals: jdk.nashorn.internal.runtime.ScriptFunctionData java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object java.lang.Object[] int int java.lang.Object java.lang.invoke.MethodHandle
StackMap stack:
iload 5
ifeq 36
35: aload 8
areturn
36: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 8
iconst_0
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.dropArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
areturn
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 37 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 37 1 originalInvoker Ljava/lang/invoke/MethodHandle;
0 37 2 targetFn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 37 3 self Ljava/lang/Object;
0 37 4 args [Ljava/lang/Object;
1 37 5 isTargetBound Z
2 37 6 needsCallee Z
7 37 7 boundSelf Ljava/lang/Object;
17 18 8 boundInvoker Ljava/lang/invoke/MethodHandle;
19 20 8 boundInvoker Ljava/lang/invoke/MethodHandle;
34 37 8 boundInvoker Ljava/lang/invoke/MethodHandle;
10 11 9 noArgBoundInvoker Ljava/lang/invoke/MethodHandle;
13 14 9 noArgBoundInvoker Ljava/lang/invoke/MethodHandle;
15 19 9 noArgBoundInvoker Ljava/lang/invoke/MethodHandle;
23 34 9 argInsertPos I
27 34 10 boundArgs [Ljava/lang/Object;
28 34 11 next I
MethodParameters:
Name Flags
originalInvoker final
targetFn final
self final
args final
private static java.lang.invoke.MethodHandle bindConstructHandle(java.lang.invoke.MethodHandle, jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object[]);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljdk/nashorn/internal/runtime/ScriptFunction;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.isBoundFunction:()Z
ifeq 2
aload 0
goto 3
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 0
aload 1
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.dropArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle;
3: StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
astore 3
start local 3 4: aload 2
arraylength
ifne 6
5: aload 3
areturn
6: StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
aload 3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isVarArg:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 8
7: aload 3
aload 2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.varArgBinder:(Ljava/lang/invoke/MethodHandle;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
istore 5
start local 5 9: aload 2
arraylength
iload 5
if_icmpgt 12
10: aload 2
astore 4
start local 4 11: goto 14
end local 4 12: StackMap locals: java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object[] java.lang.invoke.MethodHandle top int
StackMap stack:
iload 5
anewarray java.lang.Object
astore 4
start local 4 13: aload 2
iconst_0
aload 4
iconst_0
iload 5
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
14: StackMap locals: java.lang.invoke.MethodHandle jdk.nashorn.internal.runtime.ScriptFunction java.lang.Object[] java.lang.invoke.MethodHandle java.lang.Object[] int
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 3
iconst_1
aload 4
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
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 15 0 originalConstructor Ljava/lang/invoke/MethodHandle;
0 15 1 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 15 2 args [Ljava/lang/Object;
4 15 3 calleeBoundConstructor Ljava/lang/invoke/MethodHandle;
11 12 4 boundArgs [Ljava/lang/Object;
13 15 4 boundArgs [Ljava/lang/Object;
9 15 5 maxArgCount I
MethodParameters:
Name Flags
originalConstructor final
fn final
args final
private static java.lang.invoke.MethodHandle makeGenericMethod(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 1
start local 1 1: aload 1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.makeGenericType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodType;
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.lang.invoke.MethodType.equals:(Ljava/lang/Object;)Z
ifeq 3
aload 0
goto 4
StackMap locals: java.lang.invoke.MethodType java.lang.invoke.MethodType
StackMap stack:
3: aload 0
aload 2
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
StackMap locals:
StackMap stack: java.lang.invoke.MethodHandle
4: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 mh Ljava/lang/invoke/MethodHandle;
1 5 1 type Ljava/lang/invoke/MethodType;
2 5 2 newType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
mh final
private static java.lang.invoke.MethodType makeGenericType(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.generic:()Ljava/lang/invoke/MethodType;
astore 1
start local 1 1: aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isVarArg:(Ljava/lang/invoke/MethodType;)Z
ifeq 3
2: aload 1
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
ldc [Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodType.changeParameterType:(ILjava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 1
3: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodType;)Z
ifeq 5
4: aload 1
iconst_0
ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
invokevirtual java.lang.invoke.MethodType.changeParameterType:(ILjava/lang/Class;)Ljava/lang/invoke/MethodType;
astore 1
5: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/invoke/MethodType;
1 6 1 newType Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type final
java.lang.Object invoke(jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0080) ACC_VARARGS
Code:
stack=10, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.getScope:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGenericInvoker:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
astore 4
start local 4 1: aload 0
aload 2
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.convertThisObject:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 2: aload 3
ifnonnull 3
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.EMPTY_ARRAY:[Ljava/lang/Object;
goto 4
StackMap locals: java.lang.invoke.MethodHandle java.lang.Object
StackMap stack:
3: aload 3
StackMap locals:
StackMap stack: java.lang.Object[]
4: astore 6
start local 6 5: aload 4
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.notifyInvoke:(Ljava/lang/invoke/MethodHandle;)V
6: aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isVarArg:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 10
7: aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 9
8: aload 4
aload 1
aload 5
aload 6
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
9: StackMap locals: java.lang.Object[]
StackMap stack:
aload 4
aload 5
aload 6
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
10: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 7
start local 7 11: aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 21
12: iload 7
tableswitch { // 2 - 8
2: 13
3: 14
4: 15
5: 16
6: 17
7: 18
8: 19
default: 20
}
13: StackMap locals: int
StackMap stack:
aload 4
aload 1
aload 5
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lang/Object;
areturn
14: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
15: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
16: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
17: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
18: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
19: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_5
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
20: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 5
iload 7
aload 6
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.withArguments:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;I[Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeWithArguments:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
21: StackMap locals:
StackMap stack:
iload 7
tableswitch { // 1 - 7
1: 22
2: 23
3: 24
4: 25
5: 26
6: 27
7: 28
default: 29
}
22: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
23: StackMap locals:
StackMap stack:
aload 4
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
24: StackMap locals:
StackMap stack:
aload 4
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
25: StackMap locals:
StackMap stack:
aload 4
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
26: StackMap locals:
StackMap stack:
aload 4
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
27: StackMap locals:
StackMap stack:
aload 4
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
28: StackMap locals:
StackMap stack:
aload 4
aload 5
aload 6
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 6
iconst_5
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
29: StackMap locals:
StackMap stack:
aload 4
aconst_null
aload 5
iload 7
aload 6
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.withArguments:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;I[Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeWithArguments:([Ljava/lang/Object;)Ljava/lang/Object;
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 30 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 30 1 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 30 2 self Ljava/lang/Object;
0 30 3 arguments [Ljava/lang/Object;
1 30 4 mh Ljava/lang/invoke/MethodHandle;
2 30 5 selfObj Ljava/lang/Object;
5 30 6 args [Ljava/lang/Object;
11 30 7 paramCount I
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
fn final
self final
arguments final
java.lang.Object construct(jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptFunction;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0080) ACC_VARARGS
Code:
stack=9, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.getScope:()Ljdk/nashorn/internal/runtime/ScriptObject;
invokevirtual jdk.nashorn.internal.runtime.ScriptFunctionData.getGenericConstructor:(Ljdk/nashorn/internal/runtime/ScriptObject;)Ljava/lang/invoke/MethodHandle;
astore 3
start local 3 1: aload 2
ifnonnull 2
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.EMPTY_ARRAY:[Ljava/lang/Object;
goto 3
StackMap locals: java.lang.invoke.MethodHandle
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.Object[]
3: astore 4
start local 4 4: aload 3
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.notifyInvoke:(Ljava/lang/invoke/MethodHandle;)V
5: aload 3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isVarArg:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 9
6: aload 3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 8
7: aload 3
aload 1
aload 4
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
8: StackMap locals: java.lang.Object[]
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.invoke.MethodHandle.invokeExact:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 5
start local 5 10: aload 3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodHandle;)Z
ifeq 20
11: iload 5
tableswitch { // 1 - 7
1: 12
2: 13
3: 14
4: 15
5: 16
6: 17
7: 18
default: 19
}
12: StackMap locals: int
StackMap stack:
aload 3
aload 1
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;)Ljava/lang/Object;
areturn
13: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lang/Object;
areturn
14: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
15: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
16: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
17: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
18: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_5
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
19: StackMap locals:
StackMap stack:
aload 3
aload 1
iload 5
aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.withArguments:(Ljdk/nashorn/internal/runtime/ScriptFunction;I[Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeWithArguments:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
20: StackMap locals:
StackMap stack:
iload 5
tableswitch { // 0 - 6
0: 21
1: 22
2: 23
3: 24
4: 25
5: 26
6: 27
default: 28
}
21: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.invoke.MethodHandle.invokeExact:()Ljava/lang/Object;
areturn
22: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
23: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
24: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
25: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
26: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
27: StackMap locals:
StackMap stack:
aload 3
aload 4
iconst_0
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_1
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_2
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_3
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
aload 4
iconst_5
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.getArg:([Ljava/lang/Object;I)Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeExact:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
28: StackMap locals:
StackMap stack:
aload 3
aconst_null
iload 5
aload 4
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.withArguments:(Ljdk/nashorn/internal/runtime/ScriptFunction;I[Ljava/lang/Object;)[Ljava/lang/Object;
invokevirtual java.lang.invoke.MethodHandle.invokeWithArguments:([Ljava/lang/Object;)Ljava/lang/Object;
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 29 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 29 1 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 29 2 arguments [Ljava/lang/Object;
1 29 3 mh Ljava/lang/invoke/MethodHandle;
4 29 4 args [Ljava/lang/Object;
10 29 5 paramCount I
Exceptions:
throws java.lang.Throwable
MethodParameters:
Name Flags
fn final
arguments final
private static java.lang.Object getArg(java.lang.Object[], int);
descriptor: ([Ljava/lang/Object;I)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
arraylength
if_icmpge 1
aload 0
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 args [Ljava/lang/Object;
0 3 1 i I
MethodParameters:
Name Flags
args final
i final
private static java.lang.Object[] withArguments(jdk.nashorn.internal.runtime.ScriptFunction, int, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptFunction;I[Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 1
anewarray java.lang.Object
astore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 0
ifnull 4
3: aload 3
iload 4
iinc 4 1
aload 0
aastore
4: StackMap locals: java.lang.Object[] int
StackMap stack:
iconst_0
istore 5
start local 5 5: goto 7
6: StackMap locals: int
StackMap stack:
aload 3
iload 4
iinc 4 1
aload 2
iload 5
iinc 5 1
aaload
aastore
7: StackMap locals:
StackMap stack:
iload 5
aload 2
arraylength
if_icmpge 10
iload 4
iload 1
if_icmplt 6
end local 5 8: goto 10
9: StackMap locals:
StackMap stack:
aload 3
iload 4
iinc 4 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
aastore
10: StackMap locals:
StackMap stack:
iload 4
iload 1
if_icmplt 9
11: 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 12 0 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 12 1 argCount I
0 12 2 args [Ljava/lang/Object;
1 12 3 finalArgs [Ljava/lang/Object;
2 12 4 nextArg I
5 8 5 i I
MethodParameters:
Name Flags
fn final
argCount final
args final
private static java.lang.Object[] withArguments(jdk.nashorn.internal.runtime.ScriptFunction, java.lang.Object, int, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;I[Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
anewarray java.lang.Object
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: aload 0
ifnull 4
3: aload 4
iload 5
iinc 5 1
aload 0
aastore
4: StackMap locals: java.lang.Object[] int
StackMap stack:
aload 4
iload 5
iinc 5 1
aload 1
aastore
5: iconst_0
istore 6
start local 6 6: goto 8
7: StackMap locals: int
StackMap stack:
aload 4
iload 5
iinc 5 1
aload 3
iload 6
iinc 6 1
aaload
aastore
8: StackMap locals:
StackMap stack:
iload 6
aload 3
arraylength
if_icmpge 11
iload 5
iload 2
if_icmplt 7
end local 6 9: goto 11
10: StackMap locals:
StackMap stack:
aload 4
iload 5
iinc 5 1
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
aastore
11: StackMap locals:
StackMap stack:
iload 5
iload 2
if_icmplt 10
12: aload 4
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 13 0 fn Ljdk/nashorn/internal/runtime/ScriptFunction;
0 13 1 self Ljava/lang/Object;
0 13 2 argCount I
0 13 3 args [Ljava/lang/Object;
1 13 4 finalArgs [Ljava/lang/Object;
2 13 5 nextArg I
6 9 6 i I
MethodParameters:
Name Flags
fn final
self final
argCount final
args final
private static java.lang.invoke.MethodHandle varArgBinder(java.lang.invoke.MethodHandle, java.lang.Object[]);
descriptor: (Ljava/lang/invoke/MethodHandle;[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.$assertionsDisabled:Z
ifne 2
aload 1
arraylength
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 0
aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
iconst_1
anewarray java.lang.invoke.MethodHandle
dup
iconst_0
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.runtime.ScriptFunctionData.BIND_VAR_ARGS:Ljava/lang/invoke/MethodHandle;
aload 1
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.bindTo:(Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
aastore
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.filterArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 mh Ljava/lang/invoke/MethodHandle;
0 3 1 args [Ljava/lang/Object;
MethodParameters:
Name Flags
mh final
args final
protected static boolean needsCallee(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.needsCallee:(Ljava/lang/invoke/MethodType;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mh Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
mh final
static boolean needsCallee(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
istore 1
start local 1 1: iload 1
ifne 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
astore 2
start local 2 4: aload 2
ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
if_acmpeq 6
aload 2
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
if_acmpne 5
iload 1
iconst_1
if_icmple 5
aload 0
iconst_1
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
if_acmpeq 6
StackMap locals: java.lang.Class
StackMap stack:
5: iconst_0
ireturn
StackMap locals:
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/invoke/MethodType;
1 7 1 length I
4 7 2 param0 Ljava/lang/Class<*>;
MethodParameters:
Name Flags
type final
protected static boolean isVarArg(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
invokestatic jdk.nashorn.internal.runtime.ScriptFunctionData.isVarArg:(Ljava/lang/invoke/MethodType;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mh Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
mh final
static boolean isVarArg(java.lang.invoke.MethodType);
descriptor: (Ljava/lang/invoke/MethodType;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/invoke/MethodType;
MethodParameters:
Name Flags
type final
public boolean inDynamicContext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
private static java.lang.Object[] bindVarArgs(java.lang.Object[], java.lang.Object[]);
descriptor: ([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
areturn
2: StackMap locals:
StackMap stack:
aload 1
arraylength
istore 2
start local 2 3: iload 2
ifne 5
4: aload 0
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
areturn
5: StackMap locals: int
StackMap stack:
aload 0
arraylength
istore 3
start local 3 6: iload 3
iload 2
iadd
anewarray java.lang.Object
astore 4
start local 4 7: aload 0
iconst_0
aload 4
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 1
iconst_0
aload 4
iload 3
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: 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 10 0 array1 [Ljava/lang/Object;
0 10 1 array2 [Ljava/lang/Object;
3 10 2 l2 I
6 10 3 l1 I
7 10 4 concat [Ljava/lang/Object;
MethodParameters:
Name Flags
array1 final
array2 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/runtime/ScriptFunctionData;
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
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield jdk.nashorn.internal.runtime.ScriptFunctionData.code:Ljava/util/LinkedList;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/ScriptFunctionData;
0 3 1 in Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
in final
}
SourceFile: "ScriptFunctionData.java"
NestMembers:
jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final GenericInvokers = jdk.nashorn.internal.runtime.ScriptFunctionData$GenericInvokers of jdk.nashorn.internal.runtime.ScriptFunctionData