public final class jdk.nashorn.internal.lookup.MethodHandleFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.lookup.MethodHandleFactory
super_class: java.lang.Object
{
private static final java.lang.invoke.MethodHandles$Lookup PUBLIC_LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandles$Lookup LOOKUP;
descriptor: Ljava/lang/invoke/MethodHandles$Lookup;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.logging.Level TRACE_LEVEL;
descriptor: Ljava/util/logging/Level;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final jdk.nashorn.internal.lookup.MethodHandleFunctionality FUNC;
descriptor: Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean PRINT_STACKTRACE;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle TRACE;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle TRACE_RETURN;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.invoke.MethodHandle TRACE_RETURN_VOID;
descriptor: Ljava/lang/invoke/MethodHandle;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String VOID_TAG;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "[VOID]"
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=10, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/lookup/MethodHandleFactory;
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.lookup.MethodHandleFactory.$assertionsDisabled:Z
3: invokestatic java.lang.invoke.MethodHandles.publicLookup:()Ljava/lang/invoke/MethodHandles$Lookup;
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.PUBLIC_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
4: invokestatic java.lang.invoke.MethodHandles.lookup:()Ljava/lang/invoke/MethodHandles$Lookup;
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
5: getstatic java.util.logging.Level.INFO:Ljava/util/logging/Level;
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_LEVEL:Ljava/util/logging/Level;
6: new jdk.nashorn.internal.lookup.MethodHandleFactory$StandardMethodHandleFunctionality
dup
invokespecial jdk.nashorn.internal.lookup.MethodHandleFactory$StandardMethodHandleFunctionality.<init>:()V
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.FUNC:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
7: ldc "nashorn.methodhandles.debug.stacktrace"
invokestatic jdk.nashorn.internal.runtime.options.Options.getBooleanProperty:(Ljava/lang/String;)Z
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.PRINT_STACKTRACE:Z
8: getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.FUNC:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/lookup/MethodHandleFactory;
ldc "traceArgs"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_3
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/String;
aastore
dup
iconst_1
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
aastore
dup
iconst_2
ldc [Ljava/lang/Object;
aastore
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;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;
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE:Ljava/lang/invoke/MethodHandle;
9: getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.FUNC:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/lookup/MethodHandleFactory;
ldc "traceReturn"
ldc Ljava/lang/Object;
ldc Ljdk/nashorn/internal/runtime/logging/DebugLogger;
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;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;
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_RETURN:Ljava/lang/invoke/MethodHandle;
10: getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.FUNC:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
ldc Ljdk/nashorn/internal/lookup/MethodHandleFactory;
ldc "traceReturnVoid"
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc Ljdk/nashorn/internal/runtime/logging/DebugLogger;
invokestatic java.lang.invoke.MethodType.methodType:(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;
putstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_RETURN_VOID:Ljava/lang/invoke/MethodHandle;
11: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/internal/lookup/MethodHandleFactory;
public static java.lang.String stripName(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.Class
ifeq 4
3: aload 0
checkcast java.lang.Class
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj final
public static jdk.nashorn.internal.lookup.MethodHandleFunctionality getFunctionality();
descriptor: ()Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.FUNC:Ljdk/nashorn/internal/lookup/MethodHandleFunctionality;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static void err(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic jdk.nashorn.internal.runtime.Context.getContext:()Ljdk/nashorn/internal/runtime/Context;
invokevirtual jdk.nashorn.internal.runtime.Context.getErr:()Ljava/io/PrintWriter;
aload 0
invokevirtual java.io.PrintWriter.println:(Ljava/lang/String;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str final
static java.lang.Object traceReturn(jdk.nashorn.internal.runtime.logging.DebugLogger, java.lang.Object);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
ldc " return"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: ldc "[VOID]"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
2: ldc ";"
goto 6
3: StackMap locals:
StackMap stack: java.lang.StringBuilder
new java.lang.StringBuilder
dup
ldc " "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.stripName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; // [type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
ifnonnull 4
ldc "null]"
goto 5
StackMap locals: jdk.nashorn.internal.runtime.logging.DebugLogger java.lang.Object
StackMap stack: java.lang.StringBuilder java.lang.StringBuilder
4: new java.lang.StringBuilder
dup
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.stripName:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals: jdk.nashorn.internal.runtime.logging.DebugLogger java.lang.Object
StackMap stack: java.lang.StringBuilder java.lang.StringBuilder java.lang.String
5: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: StackMap locals: jdk.nashorn.internal.runtime.logging.DebugLogger java.lang.Object
StackMap stack: java.lang.StringBuilder java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 8: aload 0
ifnonnull 11
9: aload 2
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.err:(Ljava/lang/String;)V
10: goto 13
StackMap locals: java.lang.String
StackMap stack:
11: aload 0
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isEnabled:()Z
ifeq 13
12: aload 0
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_LEVEL:Ljava/util/logging/Level;
aload 2
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
0 14 1 value Ljava/lang/Object;
8 14 2 str Ljava/lang/String;
MethodParameters:
Name Flags
logger final
value final
static void traceReturnVoid(jdk.nashorn.internal.runtime.logging.DebugLogger);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "[VOID]"
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.traceReturn:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
MethodParameters:
Name Flags
logger final
static void traceArgs(jdk.nashorn.internal.runtime.logging.DebugLogger, java.lang.String, int, java.lang.Object[]);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/lang/String;I[Ljava/lang/Object;)V
flags: (0x0088) ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 1: aload 4
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iload 2
istore 5
start local 5 3: goto 19
4: StackMap locals: java.lang.StringBuilder int
StackMap stack:
iload 5
iload 2
if_icmpne 6
5: aload 4
ldc " => args: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 4
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
7: aload 3
iload 5
aaload
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.argString:(Ljava/lang/Object;)Ljava/lang/String;
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.stripName:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
9: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
10: bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
11: ldc "type="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: aload 3
iload 5
aaload
ifnonnull 13
ldc "null"
goto 14
StackMap locals:
StackMap stack: java.lang.StringBuilder
13: aload 3
iload 5
aaload
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.stripName:(Ljava/lang/Object;)Ljava/lang/String;
StackMap locals: jdk.nashorn.internal.runtime.logging.DebugLogger java.lang.String int java.lang.Object[] java.lang.StringBuilder int
StackMap stack: java.lang.StringBuilder java.lang.String
14: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
16: iload 5
iconst_1
iadd
aload 3
arraylength
if_icmpge 18
17: aload 4
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
19: iload 5
aload 3
arraylength
if_icmplt 4
end local 5 20: aload 0
ifnonnull 23
21: aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.err:(Ljava/lang/String;)V
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_LEVEL:Ljava/util/logging/Level;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.log:(Ljava/util/logging/Level;[Ljava/lang/Object;)V
24: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.stacktrace:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;)V
25: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
0 26 1 tag Ljava/lang/String;
0 26 2 paramStart I
0 26 3 args [Ljava/lang/Object;
1 26 4 sb Ljava/lang/StringBuilder;
3 20 5 i I
MethodParameters:
Name Flags
logger final
tag final
paramStart final
args final
private static void stacktrace(jdk.nashorn.internal.runtime.logging.DebugLogger);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.PRINT_STACKTRACE:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 1
start local 1 3: new java.io.PrintStream
dup
aload 1
invokespecial java.io.PrintStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 4: new java.lang.Throwable
dup
invokespecial java.lang.Throwable.<init>:()V
aload 2
invokevirtual java.lang.Throwable.printStackTrace:(Ljava/io/PrintStream;)V
5: aload 1
invokevirtual java.io.ByteArrayOutputStream.toString:()Ljava/lang/String;
astore 3
start local 3 6: aload 0
ifnonnull 9
7: aload 3
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.err:(Ljava/lang/String;)V
8: goto 10
9: StackMap locals: java.io.ByteArrayOutputStream java.io.PrintStream java.lang.String
StackMap stack:
aload 0
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_LEVEL:Ljava/util/logging/Level;
aload 3
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
10: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
3 11 1 baos Ljava/io/ByteArrayOutputStream;
4 11 2 ps Ljava/io/PrintStream;
6 11 3 st Ljava/lang/String;
MethodParameters:
Name Flags
logger final
private static java.lang.String argString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "null"
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isArray:()Z
ifeq 10
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 4: aload 0
checkcast java.lang.Object[]
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: java.lang.Object java.util.List top int int java.lang.Object[]
StackMap stack:
5: aload 5
iload 3
aaload
astore 2
start local 2 6: aload 1
new java.lang.StringBuilder
dup
bipush 39
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.argString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 5
9: aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 10: StackMap locals: java.lang.Object
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 15
11: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: ldc " (map="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
checkcast jdk.nashorn.internal.runtime.ScriptObject
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getMap:()Ljdk/nashorn/internal/runtime/PropertyMap;
invokestatic jdk.nashorn.internal.runtime.Debug.id:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 arg Ljava/lang/Object;
4 10 1 list Ljava/util/List<Ljava/lang/Object;>;
6 7 2 elem Ljava/lang/Object;
MethodParameters:
Name Flags
arg final
public static java.lang.invoke.MethodHandle addDebugPrintout(java.lang.invoke.MethodHandle, java.lang.Object);
descriptor: (Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aconst_null
getstatic java.util.logging.Level.OFF:Ljava/util/logging/Level;
aload 0
iconst_0
iconst_1
aload 1
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.addDebugPrintout:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mh Ljava/lang/invoke/MethodHandle;
0 1 1 tag Ljava/lang/Object;
MethodParameters:
Name Flags
mh final
tag final
public static java.lang.invoke.MethodHandle addDebugPrintout(jdk.nashorn.internal.runtime.logging.DebugLogger, java.util.logging.Level, java.lang.invoke.MethodHandle, java.lang.Object);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
iconst_0
iconst_1
aload 3
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.addDebugPrintout:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
0 1 1 level Ljava/util/logging/Level;
0 1 2 mh Ljava/lang/invoke/MethodHandle;
0 1 3 tag Ljava/lang/Object;
MethodParameters:
Name Flags
logger final
level final
mh final
tag final
public static java.lang.invoke.MethodHandle addDebugPrintout(java.lang.invoke.MethodHandle, int, boolean, java.lang.Object);
descriptor: (Ljava/lang/invoke/MethodHandle;IZLjava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
getstatic java.util.logging.Level.OFF:Ljava/util/logging/Level;
aload 0
iload 1
iload 2
aload 3
invokestatic jdk.nashorn.internal.lookup.MethodHandleFactory.addDebugPrintout:(Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/lang/Object;)Ljava/lang/invoke/MethodHandle;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 mh Ljava/lang/invoke/MethodHandle;
0 1 1 paramStart I
0 1 2 printReturnValue Z
0 1 3 tag Ljava/lang/Object;
MethodParameters:
Name Flags
mh final
paramStart final
printReturnValue final
tag final
public static java.lang.invoke.MethodHandle addDebugPrintout(jdk.nashorn.internal.runtime.logging.DebugLogger, java.util.logging.Level, java.lang.invoke.MethodHandle, int, boolean, java.lang.Object);
descriptor: (Ljdk/nashorn/internal/runtime/logging/DebugLogger;Ljava/util/logging/Level;Ljava/lang/invoke/MethodHandle;IZLjava/lang/Object;)Ljava/lang/invoke/MethodHandle;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 2
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
astore 6
start local 6 1: aload 0
ifnull 2
aload 0
aload 1
invokevirtual jdk.nashorn.internal.runtime.logging.DebugLogger.isLoggable:(Ljava/util/logging/Level;)Z
ifne 3
2: StackMap locals: java.lang.invoke.MethodType
StackMap stack:
aload 2
areturn
3: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.$assertionsDisabled:Z
ifne 4
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE:Ljava/lang/invoke/MethodHandle;
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
dup
iconst_1
aload 5
aastore
dup
iconst_2
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 7
start local 7 5: aload 2
6: aload 7
7: ldc [Ljava/lang/Object;
8: aload 6
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
9: invokevirtual java.lang.invoke.MethodHandle.asCollector:(Ljava/lang/Class;I)Ljava/lang/invoke/MethodHandle;
10: aload 6
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
invokevirtual java.lang.invoke.MethodType.changeReturnType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
11: invokestatic java.lang.invoke.MethodHandles.foldArguments:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 7
12: aload 6
invokevirtual java.lang.invoke.MethodType.returnType:()Ljava/lang/Class;
astore 8
start local 8 13: iload 4
ifeq 23
14: aload 8
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
if_acmpeq 22
15: getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_RETURN:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
astore 9
start local 9 16: aload 7
17: aload 9
18: aload 9
invokevirtual java.lang.invoke.MethodHandle.type:()Ljava/lang/invoke/MethodType;
iconst_0
aload 8
invokevirtual java.lang.invoke.MethodType.changeParameterType:(ILjava/lang/Class;)Ljava/lang/invoke/MethodType;
aload 8
invokevirtual java.lang.invoke.MethodType.changeReturnType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
19: invokevirtual java.lang.invoke.MethodHandle.asType:(Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/MethodHandle;
20: invokestatic java.lang.invoke.MethodHandles.filterReturnValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 7
end local 9 21: goto 23
22: StackMap locals: java.lang.invoke.MethodHandle java.lang.Class
StackMap stack:
aload 7
getstatic jdk.nashorn.internal.lookup.MethodHandleFactory.TRACE_RETURN_VOID:Ljava/lang/invoke/MethodHandle;
iconst_0
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
aastore
invokestatic java.lang.invoke.MethodHandles.insertArguments:(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;
invokestatic java.lang.invoke.MethodHandles.filterReturnValue:(Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodHandle;)Ljava/lang/invoke/MethodHandle;
astore 7
23: StackMap locals:
StackMap stack:
aload 7
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 24 0 logger Ljdk/nashorn/internal/runtime/logging/DebugLogger;
0 24 1 level Ljava/util/logging/Level;
0 24 2 mh Ljava/lang/invoke/MethodHandle;
0 24 3 paramStart I
0 24 4 printReturnValue Z
0 24 5 tag Ljava/lang/Object;
1 24 6 type Ljava/lang/invoke/MethodType;
5 24 7 trace Ljava/lang/invoke/MethodHandle;
13 24 8 retType Ljava/lang/Class<*>;
16 21 9 traceReturn Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
logger final
level final
mh final
paramStart final
printReturnValue final
tag final
}
SourceFile: "MethodHandleFactory.java"
NestMembers:
jdk.nashorn.internal.lookup.MethodHandleFactory$LookupException jdk.nashorn.internal.lookup.MethodHandleFactory$StandardMethodHandleFunctionality
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public LookupException = jdk.nashorn.internal.lookup.MethodHandleFactory$LookupException of jdk.nashorn.internal.lookup.MethodHandleFactory
private StandardMethodHandleFunctionality = jdk.nashorn.internal.lookup.MethodHandleFactory$StandardMethodHandleFunctionality of jdk.nashorn.internal.lookup.MethodHandleFactory