public final class jdk.nashorn.internal.runtime.linker.BoundCallable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.linker.BoundCallable
super_class: java.lang.Object
{
private final java.lang.Object callable;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object boundThis;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Object[] boundArgs;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.Object, java.lang.Object, java.lang.Object[]);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=2, 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
aload 1
putfield jdk.nashorn.internal.runtime.linker.BoundCallable.callable:Ljava/lang/Object;
2: aload 0
aload 2
putfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundThis:Ljava/lang/Object;
3: aload 0
aload 3
invokestatic jdk.nashorn.internal.runtime.linker.BoundCallable.isEmptyArray:([Ljava/lang/Object;)Z
ifeq 4
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.EMPTY_ARRAY:[Ljava/lang/Object;
goto 5
StackMap locals: jdk.nashorn.internal.runtime.linker.BoundCallable java.lang.Object java.lang.Object java.lang.Object[]
StackMap stack: jdk.nashorn.internal.runtime.linker.BoundCallable
4: aload 3
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
StackMap locals: jdk.nashorn.internal.runtime.linker.BoundCallable java.lang.Object java.lang.Object java.lang.Object[]
StackMap stack: jdk.nashorn.internal.runtime.linker.BoundCallable java.lang.Object[]
5: putfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
0 7 1 callable Ljava/lang/Object;
0 7 2 boundThis Ljava/lang/Object;
0 7 3 boundArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
callable final
boundThis final
boundArgs final
private void <init>(jdk.nashorn.internal.runtime.linker.BoundCallable, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/linker/BoundCallable;[Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.callable:Ljava/lang/Object;
putfield jdk.nashorn.internal.runtime.linker.BoundCallable.callable:Ljava/lang/Object;
2: aload 0
aload 1
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundThis:Ljava/lang/Object;
putfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundThis:Ljava/lang/Object;
3: aload 0
aload 1
aload 2
invokevirtual jdk.nashorn.internal.runtime.linker.BoundCallable.concatenateBoundArgs:([Ljava/lang/Object;)[Ljava/lang/Object;
putfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
0 5 1 original Ljdk/nashorn/internal/runtime/linker/BoundCallable;
0 5 2 extraBoundArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
original final
extraBoundArgs final
java.lang.Object getCallable();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.callable:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
java.lang.Object getBoundThis();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundThis:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
java.lang.Object[] getBoundArgs();
descriptor: ()[Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
jdk.nashorn.internal.runtime.linker.BoundCallable bind(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/linker/BoundCallable;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic jdk.nashorn.internal.runtime.linker.BoundCallable.isEmptyArray:([Ljava/lang/Object;)Z
ifeq 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.linker.BoundCallable
dup
aload 0
aload 1
invokespecial jdk.nashorn.internal.runtime.linker.BoundCallable.<init>:(Ljdk/nashorn/internal/runtime/linker/BoundCallable;[Ljava/lang/Object;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
0 3 1 extraBoundArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
extraBoundArgs final
private java.lang.Object[] concatenateBoundArgs(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
arraylength
ifne 2
1: aload 1
invokevirtual java.lang.Object[].clone:()Ljava/lang/Object;
checkcast java.lang.Object[]
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
arraylength
istore 2
start local 2 3: aload 1
arraylength
istore 3
start local 3 4: iload 2
iload 3
iadd
anewarray java.lang.Object
astore 4
start local 4 5: aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 1
iconst_0
aload 4
iload 2
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
0 8 1 extraBoundArgs [Ljava/lang/Object;
3 8 2 origBoundArgsLen I
4 8 3 extraBoundArgsLen I
5 8 4 newBoundArgs [Ljava/lang/Object;
MethodParameters:
Name Flags
extraBoundArgs final
private static boolean isEmptyArray(java.lang.Object[]);
descriptor: ([Ljava/lang/Object;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [Ljava/lang/Object;
MethodParameters:
Name Flags
a final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.callable:Ljava/lang/Object;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " on "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundThis:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
astore 1
start local 1 1: aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
arraylength
ifeq 3
2: aload 1
ldc " with "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.nashorn.internal.runtime.linker.BoundCallable.boundArgs:[Ljava/lang/Object;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/internal/runtime/linker/BoundCallable;
1 4 1 b Ljava/lang/StringBuilder;
}
SourceFile: "BoundCallable.java"