public final class jdk.nashorn.internal.codegen.FunctionSignature
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.codegen.FunctionSignature
super_class: java.lang.Object
{
private final jdk.nashorn.internal.codegen.types.Type[] paramTypes;
descriptor: [Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.internal.codegen.types.Type returnType;
descriptor: Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String descriptor;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.invoke.MethodType methodType;
descriptor: Ljava/lang/invoke/MethodType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/codegen/FunctionSignature;
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.codegen.FunctionSignature.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(boolean, boolean, jdk.nashorn.internal.codegen.types.Type, java.util.List<? extends jdk.nashorn.internal.ir.Expression>);
descriptor: (ZZLjdk/nashorn/internal/codegen/types/Type;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
aload 3
aload 4
invokestatic jdk.nashorn.internal.codegen.FunctionSignature.typeArray:(Ljava/util/List;)[Ljdk/nashorn/internal/codegen/types/Type;
invokespecial jdk.nashorn.internal.codegen.FunctionSignature.<init>:(ZZLjdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
0 2 1 hasSelf Z
0 2 2 hasCallee Z
0 2 3 retType Ljdk/nashorn/internal/codegen/types/Type;
0 2 4 args Ljava/util/List<+Ljdk/nashorn/internal/ir/Expression;>;
Signature: (ZZLjdk/nashorn/internal/codegen/types/Type;Ljava/util/List<+Ljdk/nashorn/internal/ir/Expression;>;)V
MethodParameters:
Name Flags
hasSelf final
hasCallee final
retType final
args final
public void <init>(boolean, boolean, jdk.nashorn.internal.codegen.types.Type, int);
descriptor: (ZZLjdk/nashorn/internal/codegen/types/Type;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 1
iload 2
aload 3
iload 4
invokestatic jdk.nashorn.internal.codegen.FunctionSignature.objectArgs:(I)[Ljdk/nashorn/internal/codegen/types/Type;
invokespecial jdk.nashorn.internal.codegen.FunctionSignature.<init>:(ZZLjdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
0 2 1 hasSelf Z
0 2 2 hasCallee Z
0 2 3 retType Ljdk/nashorn/internal/codegen/types/Type;
0 2 4 nArgs I
MethodParameters:
Name Flags
hasSelf final
hasCallee final
retType final
nArgs final
private void <init>(boolean, boolean, jdk.nashorn.internal.codegen.types.Type, jdk.nashorn.internal.codegen.types.Type[]);
descriptor: (ZZLjdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
Code:
stack=5, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iconst_1
istore 6
start local 6 2: aload 4
ifnonnull 5
3: iconst_1
istore 5
start local 5 4: goto 11
end local 5 5: StackMap locals: jdk.nashorn.internal.codegen.FunctionSignature int int jdk.nashorn.internal.codegen.types.Type jdk.nashorn.internal.codegen.types.Type[] top int
StackMap stack:
aload 4
arraylength
sipush 250
if_icmple 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: istore 5
start local 5 8: iload 5
ifeq 9
iconst_1
goto 10
StackMap locals: jdk.nashorn.internal.codegen.FunctionSignature int int jdk.nashorn.internal.codegen.types.Type jdk.nashorn.internal.codegen.types.Type[] int int
StackMap stack:
9: aload 4
arraylength
StackMap locals:
StackMap stack: int
10: istore 6
11: StackMap locals:
StackMap stack:
iload 2
ifeq 13
12: iinc 6 1
13: StackMap locals:
StackMap stack:
iload 1
ifeq 15
14: iinc 6 1
15: StackMap locals:
StackMap stack:
aload 0
iload 6
anewarray jdk.nashorn.internal.codegen.types.Type
putfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
16: iconst_0
istore 7
start local 7 17: iload 2
ifeq 19
18: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
iload 7
iinc 7 1
ldc Ljdk/nashorn/internal/runtime/ScriptFunction;
invokestatic jdk.nashorn.internal.codegen.types.Type.typeFor:(Ljava/lang/Class;)Ljdk/nashorn/internal/codegen/types/Type;
aastore
19: StackMap locals: int
StackMap stack:
iload 1
ifeq 21
20: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
iload 7
iinc 7 1
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT:Ljdk/nashorn/internal/codegen/types/Type;
aastore
21: StackMap locals:
StackMap stack:
iload 5
ifeq 24
22: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
iload 7
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT_ARRAY:Ljdk/nashorn/internal/codegen/types/ArrayType;
aastore
23: goto 34
StackMap locals:
StackMap stack:
24: aload 4
ifnull 33
25: iconst_0
istore 8
start local 8 26: goto 31
27: StackMap locals: int
StackMap stack:
aload 4
iload 8
iinc 8 1
aaload
astore 9
start local 9 28: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
iload 7
iinc 7 1
aload 9
invokevirtual jdk.nashorn.internal.codegen.types.Type.isObject:()Z
ifeq 29
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT:Ljdk/nashorn/internal/codegen/types/Type;
goto 30
StackMap locals: jdk.nashorn.internal.codegen.FunctionSignature int int jdk.nashorn.internal.codegen.types.Type jdk.nashorn.internal.codegen.types.Type[] int int int int jdk.nashorn.internal.codegen.types.Type
StackMap stack: jdk.nashorn.internal.codegen.types.Type[] int
29: aload 9
StackMap locals: jdk.nashorn.internal.codegen.FunctionSignature int int jdk.nashorn.internal.codegen.types.Type jdk.nashorn.internal.codegen.types.Type[] int int int int jdk.nashorn.internal.codegen.types.Type
StackMap stack: jdk.nashorn.internal.codegen.types.Type[] int jdk.nashorn.internal.codegen.types.Type
30: aastore
end local 9 31: StackMap locals:
StackMap stack:
iload 7
iload 6
if_icmplt 27
end local 8 32: goto 34
33: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.codegen.FunctionSignature.$assertionsDisabled:Z
ifne 34
new java.lang.AssertionError
dup
ldc "isVarArgs cannot be false when argTypes are null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
34: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield jdk.nashorn.internal.codegen.FunctionSignature.returnType:Ljdk/nashorn/internal/codegen/types/Type;
35: aload 0
aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.returnType:Ljdk/nashorn/internal/codegen/types/Type;
aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
invokestatic jdk.nashorn.internal.codegen.types.Type.getMethodDescriptor:(Ljdk/nashorn/internal/codegen/types/Type;[Ljdk/nashorn/internal/codegen/types/Type;)Ljava/lang/String;
putfield jdk.nashorn.internal.codegen.FunctionSignature.descriptor:Ljava/lang/String;
36: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 8
start local 8 37: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 41
StackMap locals: jdk.nashorn.internal.codegen.FunctionSignature int int jdk.nashorn.internal.codegen.types.Type jdk.nashorn.internal.codegen.types.Type[] int int int java.util.List top int int jdk.nashorn.internal.codegen.types.Type[]
StackMap stack:
38: aload 12
iload 10
aaload
astore 9
start local 9 39: aload 8
aload 9
invokevirtual jdk.nashorn.internal.codegen.types.Type.getTypeClass:()Ljava/lang/Class;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 9 40: iinc 10 1
StackMap locals:
StackMap stack:
41: iload 10
iload 11
if_icmplt 38
42: aload 0
getstatic jdk.nashorn.internal.lookup.Lookup.MH:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.returnType:Ljdk/nashorn/internal/codegen/types/Type;
invokevirtual jdk.nashorn.internal.codegen.types.Type.getTypeClass:()Ljava/lang/Class;
aload 8
iconst_0
anewarray java.lang.Class
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
invokeinterface jdk.nashorn.internal.lookup.MethodHandleFunctionality.type:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
putfield jdk.nashorn.internal.codegen.FunctionSignature.methodType:Ljava/lang/invoke/MethodType;
43: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
0 44 1 hasSelf Z
0 44 2 hasCallee Z
0 44 3 retType Ljdk/nashorn/internal/codegen/types/Type;
0 44 4 argTypes [Ljdk/nashorn/internal/codegen/types/Type;
4 5 5 isVarArg Z
8 44 5 isVarArg Z
2 44 6 count I
17 44 7 next I
26 32 8 j I
28 31 9 type Ljdk/nashorn/internal/codegen/types/Type;
37 44 8 paramTypeList Ljava/util/List<Ljava/lang/Class<*>;>;
39 40 9 paramType Ljdk/nashorn/internal/codegen/types/Type;
MethodParameters:
Name Flags
hasSelf final
hasCallee final
retType final
argTypes final
public void <init>(jdk.nashorn.internal.ir.FunctionNode);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: iconst_1
2: aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.needsCallee:()Z
3: aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getReturnType:()Ljdk/nashorn/internal/codegen/types/Type;
4: aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isVarArg:()Z
ifeq 6
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isProgram:()Z
ifne 6
5: aconst_null
goto 7
6: StackMap locals: uninitialized-this jdk.nashorn.internal.ir.FunctionNode
StackMap stack: uninitialized-this int int jdk.nashorn.internal.codegen.types.Type
aload 1
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getParameters:()Ljava/util/List;
StackMap locals: uninitialized-this jdk.nashorn.internal.ir.FunctionNode
StackMap stack: uninitialized-this int int jdk.nashorn.internal.codegen.types.Type java.util.List
7: invokespecial jdk.nashorn.internal.codegen.FunctionSignature.<init>:(ZZLjdk/nashorn/internal/codegen/types/Type;Ljava/util/List;)V
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
0 9 1 functionNode Ljdk/nashorn/internal/ir/FunctionNode;
MethodParameters:
Name Flags
functionNode final
private static jdk.nashorn.internal.codegen.types.Type[] typeArray(java.util.List<? extends jdk.nashorn.internal.ir.Expression>);
descriptor: (Ljava/util/List;)[Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.size:()I
anewarray jdk.nashorn.internal.codegen.types.Type
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: java.util.List jdk.nashorn.internal.codegen.types.Type[] int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Expression
astore 3
start local 3 6: aload 1
iload 2
iinc 2 1
aload 3
invokevirtual jdk.nashorn.internal.ir.Expression.getType:()Ljdk/nashorn/internal/codegen/types/Type;
aastore
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 args Ljava/util/List<+Ljdk/nashorn/internal/ir/Expression;>;
3 9 1 typeArray [Ljdk/nashorn/internal/codegen/types/Type;
4 9 2 pos I
6 7 3 arg Ljdk/nashorn/internal/ir/Expression;
Signature: (Ljava/util/List<+Ljdk/nashorn/internal/ir/Expression;>;)[Ljdk/nashorn/internal/codegen/types/Type;
MethodParameters:
Name Flags
args final
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.codegen.FunctionSignature.descriptor:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
public jdk.nashorn.internal.codegen.types.Type[] getParamTypes();
descriptor: ()[Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.paramTypes:[Ljdk/nashorn/internal/codegen/types/Type;
invokevirtual jdk.nashorn.internal.codegen.types.Type[].clone:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.codegen.types.Type[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
public java.lang.invoke.MethodType getMethodType();
descriptor: ()Ljava/lang/invoke/MethodType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.methodType:Ljava/lang/invoke/MethodType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
public jdk.nashorn.internal.codegen.types.Type getReturnType();
descriptor: ()Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.codegen.FunctionSignature.returnType:Ljdk/nashorn/internal/codegen/types/Type;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/codegen/FunctionSignature;
private static jdk.nashorn.internal.codegen.types.Type[] objectArgs(int);
descriptor: (I)[Ljdk/nashorn/internal/codegen/types/Type;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iload 0
anewarray jdk.nashorn.internal.codegen.types.Type
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: jdk.nashorn.internal.codegen.types.Type[] int
StackMap stack:
aload 1
iload 2
getstatic jdk.nashorn.internal.codegen.types.Type.OBJECT:Ljdk/nashorn/internal/codegen/types/Type;
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 0
if_icmplt 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 nArgs I
1 7 1 array [Ljdk/nashorn/internal/codegen/types/Type;
2 6 2 i I
MethodParameters:
Name Flags
nArgs final
}
SourceFile: "FunctionSignature.java"