final class jdk.nashorn.internal.runtime.DebuggerSupport
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.runtime.DebuggerSupport
super_class: java.lang.Object
{
static boolean FORCELOAD;
descriptor: Z
flags: (0x0008) ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
private static volatile int[] $SWITCH_TABLE$jdk$nashorn$internal$runtime$JSType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Ljdk/nashorn/internal/runtime/DebuggerSupport;
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.DebuggerSupport.$assertionsDisabled:Z
3: iconst_1
putstatic jdk.nashorn.internal.runtime.DebuggerSupport.FORCELOAD:Z
4: new jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc
aconst_null
iconst_0
aconst_null
aconst_null
invokespecial jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc.<init>:(Ljava/lang/String;ZLjava/lang/Object;Ljava/lang/String;)V
5: new jdk.nashorn.internal.runtime.DebuggerSupport$SourceInfo
aconst_null
iconst_0
aconst_null
aconst_null
invokespecial jdk.nashorn.internal.runtime.DebuggerSupport$SourceInfo.<init>:(Ljava/lang/String;ILjava/net/URL;[C)V
6: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/runtime/DebuggerSupport;
static void notifyInvoke(java.lang.invoke.MethodHandle);
descriptor: (Ljava/lang/invoke/MethodHandle;)V
flags: (0x0008) ACC_STATIC
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 mh Ljava/lang/invoke/MethodHandle;
MethodParameters:
Name Flags
mh final
static jdk.nashorn.internal.runtime.DebuggerSupport$SourceInfo getSourceInfo(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Ljdk/nashorn/internal/runtime/DebuggerSupport$SourceInfo;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc Ljdk/nashorn/internal/scripts/JS;
aload 0
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 8
1: aload 0
getstatic jdk.nashorn.internal.codegen.CompilerConstants.SOURCE:Ljdk/nashorn/internal/codegen/CompilerConstants;
invokevirtual jdk.nashorn.internal.codegen.CompilerConstants.symbolName:()Ljava/lang/String;
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 1
start local 1 2: aload 1
iconst_1
invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
3: aload 1
aconst_null
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast jdk.nashorn.internal.runtime.Source
astore 2
start local 2 4: aload 2
invokevirtual jdk.nashorn.internal.runtime.Source.getSourceInfo:()Ljdk/nashorn/internal/runtime/DebuggerSupport$SourceInfo;
5: areturn
end local 2 end local 1 6: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
pop
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 clazz Ljava/lang/Class<*>;
2 6 1 sourceField Ljava/lang/reflect/Field;
4 6 2 src Ljdk/nashorn/internal/runtime/Source;
Exception table:
from to target type
1 5 6 Class java.lang.IllegalAccessException
1 5 6 Class java.lang.NoSuchFieldException
Signature: (Ljava/lang/Class<*>;)Ljdk/nashorn/internal/runtime/DebuggerSupport$SourceInfo;
MethodParameters:
Name Flags
clazz final
static java.lang.Object getGlobal();
descriptor: ()Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.lang.Object eval(jdk.nashorn.internal.runtime.ScriptObject, java.lang.Object, java.lang.String, boolean);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic jdk.nashorn.internal.runtime.Context.getGlobal:()Ljdk/nashorn/internal/objects/Global;
astore 4
start local 4 1: aload 0
ifnull 2
aload 0
goto 3
StackMap locals: jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
2: aload 4
StackMap locals:
StackMap stack: jdk.nashorn.internal.runtime.ScriptObject
3: astore 5
start local 5 4: aload 1
ifnull 5
aload 1
goto 6
StackMap locals: jdk.nashorn.internal.runtime.ScriptObject
StackMap stack:
5: aload 4
StackMap locals:
StackMap stack: java.lang.Object
6: astore 6
start local 6 7: aload 4
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getContext:()Ljdk/nashorn/internal/runtime/Context;
astore 7
start local 7 8: aload 7
aload 5
aload 2
aload 6
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
invokevirtual jdk.nashorn.internal.runtime.Context.eval:(Ljdk/nashorn/internal/runtime/ScriptObject;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
9: areturn
10: StackMap locals: jdk.nashorn.internal.runtime.ScriptObject java.lang.Object java.lang.String int jdk.nashorn.internal.runtime.ScriptObject jdk.nashorn.internal.runtime.ScriptObject java.lang.Object jdk.nashorn.internal.runtime.Context
StackMap stack: java.lang.Throwable
astore 8
start local 8 11: iload 3
ifeq 12
aload 8
goto 13
StackMap locals: java.lang.Throwable
StackMap stack:
12: aconst_null
StackMap locals:
StackMap stack: java.lang.Throwable
13: 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 14 0 scope Ljdk/nashorn/internal/runtime/ScriptObject;
0 14 1 self Ljava/lang/Object;
0 14 2 string Ljava/lang/String;
0 14 3 returnException Z
1 14 4 global Ljdk/nashorn/internal/runtime/ScriptObject;
4 14 5 initialScope Ljdk/nashorn/internal/runtime/ScriptObject;
7 14 6 callThis Ljava/lang/Object;
8 14 7 context Ljdk/nashorn/internal/runtime/Context;
11 14 8 ex Ljava/lang/Throwable;
Exception table:
from to target type
8 9 10 Class java.lang.Throwable
MethodParameters:
Name Flags
scope final
self final
string final
returnException final
static jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc[] valueInfos(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)[Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic jdk.nashorn.internal.runtime.DebuggerSupport.$assertionsDisabled:Z
ifne 1
aload 0
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
checkcast jdk.nashorn.internal.runtime.ScriptObject
iload 1
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.getDebuggerValueDescs:(Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set;)[Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 object Ljava/lang/Object;
0 2 1 all Z
MethodParameters:
Name Flags
object final
all final
static jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc valueInfo(java.lang.String, java.lang.Object, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/Object;Z)Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.valueInfo:(Ljava/lang/String;Ljava/lang/Object;ZLjava/util/Set;)Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
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 value Ljava/lang/Object;
0 1 2 all Z
MethodParameters:
Name Flags
name final
value final
all final
private static jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc valueInfo(java.lang.String, , boolean, java.util.Set<java.lang.Object>);
descriptor: (Ljava/lang/String;Ljava/lang/Object;ZLjava/util/Set;)Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=8, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 5
aload 1
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifne 5
1: aload 1
checkcast jdk.nashorn.internal.runtime.ScriptObject
astore 4
start local 4 2: new jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc
dup
aload 0
aload 4
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.isEmpty:()Z
ifeq 3
iconst_0
goto 4
StackMap locals: java.lang.String java.lang.Object int java.util.Set jdk.nashorn.internal.runtime.ScriptObject
StackMap stack: new 2 new 2 java.lang.String
3: iconst_1
StackMap locals: java.lang.String java.lang.Object int java.util.Set jdk.nashorn.internal.runtime.ScriptObject
StackMap stack: new 2 new 2 java.lang.String int
4: aload 1
aload 4
iload 2
aload 3
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.objectAsString:(Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set;)Ljava/lang/String;
invokespecial jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc.<init>:(Ljava/lang/String;ZLjava/lang/Object;Ljava/lang/String;)V
areturn
end local 4 5: StackMap locals:
StackMap stack:
new jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc
dup
aload 0
iconst_0
aload 1
aload 1
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.valueAsString:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc.<init>:(Ljava/lang/String;ZLjava/lang/Object;Ljava/lang/String;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 name Ljava/lang/String;
0 6 1 value Ljava/lang/Object;
0 6 2 all Z
0 6 3 duplicates Ljava/util/Set<Ljava/lang/Object;>;
2 5 4 object Ljdk/nashorn/internal/runtime/ScriptObject;
Signature: (Ljava/lang/String;Ljava/lang/Object;ZLjava/util/Set<Ljava/lang/Object;>;)Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
MethodParameters:
Name Flags
name final
value final
all final
duplicates final
private static jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc[] getDebuggerValueDescs(jdk.nashorn.internal.runtime.ScriptObject, boolean, java.util.Set<java.lang.Object>);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set;)[Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 2
aload 0
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: aload 0
iload 1
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getOwnKeys:(Z)[Ljava/lang/String;
astore 3
start local 3 4: aload 3
arraylength
anewarray jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: goto 10
7: StackMap locals: java.lang.String[] jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc[] int
StackMap stack:
aload 3
iload 5
aaload
astore 6
start local 6 8: aload 4
iload 5
aload 6
aload 0
aload 6
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(Ljava/lang/Object;)Ljava/lang/Object;
iload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.valueInfo:(Ljava/lang/String;Ljava/lang/Object;ZLjava/util/Set;)Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
aastore
end local 6 9: iinc 5 1
StackMap locals:
StackMap stack:
10: iload 5
aload 3
arraylength
if_icmplt 7
end local 5 11: aload 2
aload 0
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
pop
12: 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 13 0 object Ljdk/nashorn/internal/runtime/ScriptObject;
0 13 1 all Z
0 13 2 duplicates Ljava/util/Set<Ljava/lang/Object;>;
4 13 3 keys [Ljava/lang/String;
5 13 4 descs [Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
6 11 5 i I
8 9 6 key Ljava/lang/String;
Signature: (Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set<Ljava/lang/Object;>;)[Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
MethodParameters:
Name Flags
object final
all final
duplicates final
private static java.lang.String objectAsString(jdk.nashorn.internal.runtime.ScriptObject, boolean, java.util.Set<java.lang.Object>);
descriptor: (Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 1: aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptObject.isArray:(Ljava/lang/Object;)Z
ifeq 31
2: aload 3
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 0
ldc "length"
iconst_m1
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.getDouble:(Ljava/lang/Object;I)D
d2l
lstore 4
start local 4 4: lconst_0
lstore 6
start local 6 5: goto 28
6: StackMap locals: java.lang.StringBuilder long long
StackMap stack:
aload 0
lload 6
l2d
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.has:(D)Z
ifeq 25
7: aload 0
lload 6
l2d
invokevirtual jdk.nashorn.internal.runtime.ScriptObject.get:(D)Ljava/lang/Object;
astore 8
start local 8 8: aload 8
getstatic jdk.nashorn.internal.runtime.ScriptRuntime.UNDEFINED:Ljdk/nashorn/internal/runtime/Undefined;
if_acmpne 9
iconst_1
goto 10
StackMap locals: java.lang.Object
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 9
start local 9 11: iload 9
ifeq 15
12: lload 6
lconst_0
lcmp
ifeq 27
13: aload 3
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 27
15: StackMap locals: int
StackMap stack:
lload 6
lconst_0
lcmp
ifeq 17
16: aload 3
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 8
instanceof jdk.nashorn.internal.runtime.ScriptObject
ifeq 23
aload 8
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifne 23
18: aload 8
checkcast jdk.nashorn.internal.runtime.ScriptObject
iload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.objectAsString:(Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set;)Ljava/lang/String;
astore 10
start local 10 19: aload 3
aload 10
ifnull 20
aload 10
goto 21
StackMap locals: jdk.nashorn.internal.runtime.ScriptObject int java.util.Set java.lang.StringBuilder long long java.lang.Object int java.lang.String
StackMap stack: java.lang.StringBuilder
20: ldc "{...}"
StackMap locals: jdk.nashorn.internal.runtime.ScriptObject int java.util.Set java.lang.StringBuilder long long java.lang.Object int java.lang.String
StackMap stack: java.lang.StringBuilder java.lang.String
21: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 10 22: goto 27
23: StackMap locals:
StackMap stack:
aload 3
aload 8
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.valueAsString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 9 end local 8 24: goto 27
25: StackMap locals:
StackMap stack:
lload 6
lconst_0
lcmp
ifeq 27
26: aload 3
bipush 44
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
27: StackMap locals:
StackMap stack:
lload 6
lconst_1
ladd
lstore 6
StackMap locals:
StackMap stack:
28: lload 6
lload 4
lcmp
iflt 6
end local 6 29: aload 3
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 30: goto 45
31: StackMap locals:
StackMap stack:
aload 3
bipush 123
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
32: aload 0
iload 1
aload 2
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.getDebuggerValueDescs:(Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set;)[Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
astore 4
start local 4 33: aload 4
ifnull 44
34: iconst_0
istore 5
start local 5 35: goto 43
36: StackMap locals: jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc[] int
StackMap stack:
iload 5
ifeq 38
37: aload 3
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
38: StackMap locals:
StackMap stack:
aload 4
iload 5
aaload
getfield jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc.valueAsString:Ljava/lang/String;
astore 6
start local 6 39: aload 3
aload 4
iload 5
aaload
getfield jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc.key:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
40: aload 3
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
41: aload 3
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 42: iinc 5 1
StackMap locals:
StackMap stack:
43: iload 5
aload 4
arraylength
if_icmplt 36
end local 5 44: StackMap locals:
StackMap stack:
aload 3
bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 4 45: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 object Ljdk/nashorn/internal/runtime/ScriptObject;
0 46 1 all Z
0 46 2 duplicates Ljava/util/Set<Ljava/lang/Object;>;
1 46 3 sb Ljava/lang/StringBuilder;
4 30 4 length J
5 29 6 i J
8 24 8 valueAsObject Ljava/lang/Object;
11 24 9 isUndefined Z
19 22 10 objectString Ljava/lang/String;
33 45 4 descs [Ljdk/nashorn/internal/runtime/DebuggerSupport$DebuggerValueDesc;
35 44 5 i I
39 42 6 valueAsString Ljava/lang/String;
Signature: (Ljdk/nashorn/internal/runtime/ScriptObject;ZLjava/util/Set<Ljava/lang/Object;>;)Ljava/lang/String;
MethodParameters:
Name Flags
object final
all final
duplicates final
static java.lang.String valueAsString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic jdk.nashorn.internal.runtime.JSType.of:(Ljava/lang/Object;)Ljdk/nashorn/internal/runtime/JSType;
astore 1
start local 1 1: invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.$SWITCH_TABLE$jdk$nashorn$internal$runtime$JSType:()[I
aload 1
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
iaload
tableswitch { // 1 - 7
1: 6
2: 5
3: 2
4: 4
5: 3
6: 7
7: 8
default: 11
}
2: StackMap locals: jdk.nashorn.internal.runtime.JSType
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic jdk.nashorn.internal.runtime.DebuggerSupport.escape:(Ljava/lang/String;)Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
aload 0
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
invokestatic jdk.nashorn.internal.runtime.JSType.toString:(D)Ljava/lang/String;
areturn
5: StackMap locals:
StackMap stack:
ldc "null"
areturn
6: StackMap locals:
StackMap stack:
ldc "undefined"
areturn
7: StackMap locals:
StackMap stack:
aload 0
invokestatic jdk.nashorn.internal.runtime.ScriptRuntime.safeToString:(Ljava/lang/Object;)Ljava/lang/String;
areturn
8: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.runtime.ScriptFunction
ifeq 10
9: aload 0
checkcast jdk.nashorn.internal.runtime.ScriptFunction
invokevirtual jdk.nashorn.internal.runtime.ScriptFunction.toSource:()Ljava/lang/String;
areturn
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 value Ljava/lang/Object;
1 12 1 type Ljdk/nashorn/internal/runtime/JSType;
MethodParameters:
Name Flags
value final
private static java.lang.String escape(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=8, 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 "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 0
invokevirtual java.lang.String.toCharArray:()[C
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 33
StackMap locals: java.lang.String java.lang.StringBuilder top int int char[]
StackMap stack:
3: aload 5
iload 3
caload
istore 2
start local 2 4: iload 2
lookupswitch { // 8
8: 11
9: 19
10: 15
12: 13
13: 17
34: 7
39: 9
92: 5
default: 21
}
5: StackMap locals: java.lang.String java.lang.StringBuilder int int int char[]
StackMap stack:
aload 1
ldc "\\\\"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: goto 32
7: StackMap locals:
StackMap stack:
aload 1
ldc "\\\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: goto 32
9: StackMap locals:
StackMap stack:
aload 1
ldc "\\'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: goto 32
11: StackMap locals:
StackMap stack:
aload 1
ldc "\\b"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
12: goto 32
13: StackMap locals:
StackMap stack:
aload 1
ldc "\\f"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
14: goto 32
15: StackMap locals:
StackMap stack:
aload 1
ldc "\\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: goto 32
17: StackMap locals:
StackMap stack:
aload 1
ldc "\\r"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
18: goto 32
19: StackMap locals:
StackMap stack:
aload 1
ldc "\\t"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
20: goto 32
21: StackMap locals:
StackMap stack:
iload 2
bipush 32
if_icmplt 22
iload 2
sipush 255
if_icmplt 31
22: StackMap locals:
StackMap stack:
aload 1
ldc "\\u"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
23: iload 2
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 6
start local 6 24: aload 6
invokevirtual java.lang.String.length:()I
istore 7
start local 7 25: goto 28
26: StackMap locals: java.lang.String int
StackMap stack:
aload 1
bipush 48
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
27: iinc 7 1
StackMap locals:
StackMap stack:
28: iload 7
iconst_4
if_icmplt 26
end local 7 29: aload 1
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 6 30: goto 32
31: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
end local 2 32: StackMap locals: java.lang.String java.lang.StringBuilder top int int char[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
33: iload 3
iload 4
if_icmplt 3
34: aload 1
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
35: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 value Ljava/lang/String;
1 36 1 sb Ljava/lang/StringBuilder;
4 32 2 ch C
24 30 6 hex Ljava/lang/String;
25 29 7 i I
MethodParameters:
Name Flags
value final
static int[] $SWITCH_TABLE$jdk$nashorn$internal$runtime$JSType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic jdk.nashorn.internal.runtime.DebuggerSupport.$SWITCH_TABLE$jdk$nashorn$internal$runtime$JSType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic jdk.nashorn.internal.runtime.JSType.values:()[Ljdk/nashorn/internal/runtime/JSType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.BOOLEAN:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
iconst_3
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.FUNCTION:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
bipush 7
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.NULL:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.NUMBER:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
iconst_4
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.OBJECT:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
bipush 6
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.STRING:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
iconst_5
iastore
18: goto 20
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
19: pop
StackMap locals:
StackMap stack:
20: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.SYMBOL:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
bipush 8
iastore
21: goto 23
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
22: pop
StackMap locals:
StackMap stack:
23: aload 0
getstatic jdk.nashorn.internal.runtime.JSType.UNDEFINED:Ljdk/nashorn/internal/runtime/JSType;
invokevirtual jdk.nashorn.internal.runtime.JSType.ordinal:()I
iconst_1
iastore
24: goto 26
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
25: pop
StackMap locals:
StackMap stack:
26: aload 0
dup
putstatic jdk.nashorn.internal.runtime.DebuggerSupport.$SWITCH_TABLE$jdk$nashorn$internal$runtime$JSType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
17 18 19 Class java.lang.NoSuchFieldError
20 21 22 Class java.lang.NoSuchFieldError
23 24 25 Class java.lang.NoSuchFieldError
}
SourceFile: "DebuggerSupport.java"
NestMembers:
jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc jdk.nashorn.internal.runtime.DebuggerSupport$SourceInfo
InnerClasses:
DebuggerValueDesc = jdk.nashorn.internal.runtime.DebuggerSupport$DebuggerValueDesc of jdk.nashorn.internal.runtime.DebuggerSupport
SourceInfo = jdk.nashorn.internal.runtime.DebuggerSupport$SourceInfo of jdk.nashorn.internal.runtime.DebuggerSupport