public final class jdk.nashorn.internal.ir.debug.ASTWriter
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.ir.debug.ASTWriter
super_class: java.lang.Object
{
private static final java.lang.ClassValue<java.lang.reflect.Field[]> accessibleFields;
descriptor: Ljava/lang/ClassValue;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/ClassValue<[Ljava/lang/reflect/Field;>;
private final jdk.nashorn.internal.ir.Node root;
descriptor: Ljdk/nashorn/internal/ir/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int TABWIDTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.nashorn.internal.ir.debug.ASTWriter$1
dup
invokespecial jdk.nashorn.internal.ir.debug.ASTWriter$1.<init>:()V
putstatic jdk.nashorn.internal.ir.debug.ASTWriter.accessibleFields:Ljava/lang/ClassValue;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(jdk.nashorn.internal.ir.Node);
descriptor: (Ljdk/nashorn/internal/ir/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.nashorn.internal.ir.debug.ASTWriter.root:Ljdk/nashorn/internal/ir/Node;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/debug/ASTWriter;
0 3 1 root Ljdk/nashorn/internal/ir/Node;
MethodParameters:
Name Flags
root final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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 0
aload 1
aconst_null
aconst_null
ldc "root"
aload 0
getfield jdk.nashorn.internal.ir.debug.ASTWriter.root:Ljdk/nashorn/internal/ir/Node;
iconst_0
invokevirtual jdk.nashorn.internal.ir.debug.ASTWriter.printAST:(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/reflect/Field;Ljava/lang/String;Ljdk/nashorn/internal/ir/Node;I)V
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/debug/ASTWriter;
1 3 1 sb Ljava/lang/StringBuilder;
public jdk.nashorn.internal.ir.Node[] toArray();
descriptor: ()[Ljdk/nashorn/internal/ir/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
aconst_null
ldc "root"
aload 0
getfield jdk.nashorn.internal.ir.debug.ASTWriter.root:Ljdk/nashorn/internal/ir/Node;
iconst_0
invokevirtual jdk.nashorn.internal.ir.debug.ASTWriter.printAST:(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/reflect/Field;Ljava/lang/String;Ljdk/nashorn/internal/ir/Node;I)V
2: aload 1
iconst_0
anewarray jdk.nashorn.internal.ir.Node
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Node[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/debug/ASTWriter;
1 3 1 preorder Ljava/util/List<Ljdk/nashorn/internal/ir/Node;>;
private void printAST(java.lang.StringBuilder, java.util.List<jdk.nashorn.internal.ir.Node>, java.lang.reflect.Field, java.lang.String, jdk.nashorn.internal.ir.Node, );
descriptor: (Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/reflect/Field;Ljava/lang/String;Ljdk/nashorn/internal/ir/Node;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=20, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
iload 6
invokestatic jdk.nashorn.internal.ir.debug.ASTWriter.indent:(Ljava/lang/StringBuilder;I)V
1: aload 5
ifnonnull 6
2: aload 1
ldc "[Object "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
ldc " null]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: return
6: StackMap locals:
StackMap stack:
aload 2
ifnull 8
7: aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
aload 3
ifnull 9
aload 3
ldc Ljdk/nashorn/internal/ir/annotations/Reference;
invokevirtual java.lang.reflect.Field.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 9
iconst_1
goto 10
StackMap locals:
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: istore 7
start local 7 11: aload 5
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 8
start local 8 12: aload 8
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 9
start local 9 13: aload 9
aload 9
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
aload 9
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
14: aload 9
ldc "Node"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 10
start local 10 15: iload 10
iconst_m1
if_icmpne 17
16: aload 9
ldc "Statement"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 10
17: StackMap locals: jdk.nashorn.internal.ir.debug.ASTWriter java.lang.StringBuilder java.util.List java.lang.reflect.Field java.lang.String jdk.nashorn.internal.ir.Node int int java.lang.Class java.lang.String int
StackMap stack:
iload 10
iconst_m1
if_icmpeq 19
18: aload 9
iconst_0
iload 10
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
19: StackMap locals:
StackMap stack:
aload 9
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 9
20: iload 7
ifeq 22
21: new java.lang.StringBuilder
dup
ldc "ref: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
22: StackMap locals:
StackMap stack:
aload 5
instanceof jdk.nashorn.internal.ir.IdentNode
ifeq 25
23: aload 5
checkcast jdk.nashorn.internal.ir.IdentNode
invokevirtual jdk.nashorn.internal.ir.IdentNode.getSymbol:()Ljdk/nashorn/internal/ir/Symbol;
astore 11
start local 11 24: goto 26
end local 11 25: StackMap locals:
StackMap stack:
aconst_null
astore 11
start local 11 26: StackMap locals: jdk.nashorn.internal.ir.Symbol
StackMap stack:
aload 11
ifnull 28
27: new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
28: StackMap locals:
StackMap stack:
aload 5
instanceof jdk.nashorn.internal.ir.Block
ifeq 30
aload 5
checkcast jdk.nashorn.internal.ir.Block
invokevirtual jdk.nashorn.internal.ir.Block.needsScope:()Z
ifeq 30
29: new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " <scope>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
30: StackMap locals:
StackMap stack:
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 12
start local 12 31: iload 7
ifne 33
32: aload 5
aload 8
aload 12
invokestatic jdk.nashorn.internal.ir.debug.ASTWriter.enqueueChildren:(Ljdk/nashorn/internal/ir/Node;Ljava/lang/Class;Ljava/util/List;)V
33: StackMap locals: java.util.List
StackMap stack:
ldc ""
astore 13
start local 13 34: aload 5
instanceof jdk.nashorn.internal.ir.Terminal
ifeq 36
aload 5
checkcast jdk.nashorn.internal.ir.Terminal
invokeinterface jdk.nashorn.internal.ir.Terminal.isTerminal:()Z
ifeq 36
35: new java.lang.StringBuilder
dup
aload 13
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Terminal"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
36: StackMap locals: java.lang.String
StackMap stack:
aload 5
instanceof jdk.nashorn.internal.ir.Statement
ifeq 38
aload 5
checkcast jdk.nashorn.internal.ir.Statement
invokevirtual jdk.nashorn.internal.ir.Statement.hasGoto:()Z
ifeq 38
37: new java.lang.StringBuilder
dup
aload 13
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Goto "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
38: StackMap locals:
StackMap stack:
aload 11
ifnull 40
39: new java.lang.StringBuilder
dup
aload 13
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
40: StackMap locals:
StackMap stack:
aload 13
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 13
41: ldc ""
aload 13
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 43
42: new java.lang.StringBuilder
dup
ldc " ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
43: StackMap locals:
StackMap stack:
aload 11
ifnull 48
44: aload 5
checkcast jdk.nashorn.internal.ir.Expression
invokevirtual jdk.nashorn.internal.ir.Expression.getType:()Ljdk/nashorn/internal/codegen/types/Type;
invokevirtual jdk.nashorn.internal.codegen.types.Type.toString:()Ljava/lang/String;
astore 14
start local 14 45: aload 14
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpeq 47
46: aload 14
aload 14
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
iconst_1
iadd
aload 14
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14
47: StackMap locals: java.lang.String
StackMap stack:
new java.lang.StringBuilder
dup
aload 13
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 14
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
end local 14 48: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
aload 13
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " @"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5
invokestatic jdk.nashorn.internal.runtime.Debug.id:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 13
49: aload 12
invokeinterface java.util.List.isEmpty:()Z
ifeq 61
50: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
51: aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
52: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
53: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
54: ldc " = '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
55: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
56: ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
57: aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
58: ldc "] "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
59: bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
60: goto 96
61: StackMap locals:
StackMap stack:
aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
62: aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
63: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
64: aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
65: bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
66: aload 5
invokevirtual jdk.nashorn.internal.ir.Node.getToken:()J
invokestatic jdk.nashorn.internal.parser.Token.toString:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
67: aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
68: ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
69: bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
70: aload 12
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 15
goto 95
StackMap locals: jdk.nashorn.internal.ir.debug.ASTWriter java.lang.StringBuilder java.util.List java.lang.reflect.Field java.lang.String jdk.nashorn.internal.ir.Node int int java.lang.Class java.lang.String int jdk.nashorn.internal.ir.Symbol java.util.List java.lang.String top java.util.Iterator
StackMap stack:
71: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.reflect.Field
astore 14
start local 14 72: aload 14
ldc Ljdk/nashorn/internal/ir/annotations/Ignore;
invokevirtual java.lang.reflect.Field.isAnnotationPresent:(Ljava/lang/Class;)Z
ifeq 74
73: goto 95
74: StackMap locals: jdk.nashorn.internal.ir.debug.ASTWriter java.lang.StringBuilder java.util.List java.lang.reflect.Field java.lang.String jdk.nashorn.internal.ir.Node int int java.lang.Class java.lang.String int jdk.nashorn.internal.ir.Symbol java.util.List java.lang.String java.lang.reflect.Field java.util.Iterator
StackMap stack:
aload 14
aload 5
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 16
start local 16 75: goto 79
end local 16 StackMap locals:
StackMap stack: java.lang.Exception
76: astore 17
start local 17 77: aload 17
invokestatic jdk.nashorn.internal.runtime.Context.printStackTrace:(Ljava/lang/Throwable;)V
78: return
end local 17 start local 16 79: StackMap locals: java.lang.Object
StackMap stack:
aload 16
instanceof jdk.nashorn.internal.ir.Node
ifeq 82
80: aload 0
aload 1
aload 2
aload 14
aload 14
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
aload 16
checkcast jdk.nashorn.internal.ir.Node
iload 6
iconst_1
iadd
invokevirtual jdk.nashorn.internal.ir.debug.ASTWriter.printAST:(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/reflect/Field;Ljava/lang/String;Ljdk/nashorn/internal/ir/Node;I)V
81: goto 95
StackMap locals:
StackMap stack:
82: aload 16
instanceof java.util.Collection
ifeq 95
83: iconst_0
istore 17
start local 17 84: aload 1
iload 6
iconst_1
iadd
invokestatic jdk.nashorn.internal.ir.debug.ASTWriter.indent:(Ljava/lang/StringBuilder;I)V
85: aload 1
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
86: aload 14
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
87: ldc "[0.."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
88: aload 16
checkcast java.util.Collection
invokeinterface java.util.Collection.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
89: ldc "]]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
90: bipush 10
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
91: aload 16
checkcast java.util.Collection
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 19
goto 94
StackMap locals: jdk.nashorn.internal.ir.debug.ASTWriter java.lang.StringBuilder java.util.List java.lang.reflect.Field java.lang.String jdk.nashorn.internal.ir.Node int int java.lang.Class java.lang.String int jdk.nashorn.internal.ir.Symbol java.util.List java.lang.String java.lang.reflect.Field java.util.Iterator java.lang.Object int top java.util.Iterator
StackMap stack:
92: aload 19
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.nashorn.internal.ir.Node
astore 18
start local 18 93: aload 0
aload 1
aload 2
aload 14
new java.lang.StringBuilder
dup
aload 14
invokevirtual java.lang.reflect.Field.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 17
iinc 17 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 18
iload 6
iconst_2
iadd
invokevirtual jdk.nashorn.internal.ir.debug.ASTWriter.printAST:(Ljava/lang/StringBuilder;Ljava/util/List;Ljava/lang/reflect/Field;Ljava/lang/String;Ljdk/nashorn/internal/ir/Node;I)V
end local 18 94: StackMap locals:
StackMap stack:
aload 19
invokeinterface java.util.Iterator.hasNext:()Z
ifne 92
end local 17 end local 16 end local 14 95: StackMap locals: jdk.nashorn.internal.ir.debug.ASTWriter java.lang.StringBuilder java.util.List java.lang.reflect.Field java.lang.String jdk.nashorn.internal.ir.Node int int java.lang.Class java.lang.String int jdk.nashorn.internal.ir.Symbol java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 71
96: StackMap locals: jdk.nashorn.internal.ir.debug.ASTWriter java.lang.StringBuilder java.util.List java.lang.reflect.Field java.lang.String jdk.nashorn.internal.ir.Node int int java.lang.Class java.lang.String int jdk.nashorn.internal.ir.Symbol java.util.List java.lang.String
StackMap stack:
return
end local 13 end local 12 end local 11 end local 10 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 97 0 this Ljdk/nashorn/internal/ir/debug/ASTWriter;
0 97 1 sb Ljava/lang/StringBuilder;
0 97 2 preorder Ljava/util/List<Ljdk/nashorn/internal/ir/Node;>;
0 97 3 field Ljava/lang/reflect/Field;
0 97 4 name Ljava/lang/String;
0 97 5 node Ljdk/nashorn/internal/ir/Node;
0 97 6 indent I
11 97 7 isReference Z
12 97 8 clazz Ljava/lang/Class<*>;
13 97 9 type Ljava/lang/String;
15 97 10 truncate I
24 25 11 symbol Ljdk/nashorn/internal/ir/Symbol;
26 97 11 symbol Ljdk/nashorn/internal/ir/Symbol;
31 97 12 children Ljava/util/List<Ljava/lang/reflect/Field;>;
34 97 13 status Ljava/lang/String;
45 48 14 tname Ljava/lang/String;
72 95 14 child Ljava/lang/reflect/Field;
75 76 16 value Ljava/lang/Object;
79 95 16 value Ljava/lang/Object;
77 79 17 e Ljava/lang/Exception;
84 95 17 pos I
93 94 18 member Ljdk/nashorn/internal/ir/Node;
Exception table:
from to target type
74 75 76 Class java.lang.IllegalArgumentException
74 75 76 Class java.lang.IllegalAccessException
Signature: (Ljava/lang/StringBuilder;Ljava/util/List<Ljdk/nashorn/internal/ir/Node;>;Ljava/lang/reflect/Field;Ljava/lang/String;Ljdk/nashorn/internal/ir/Node;I)V
MethodParameters:
Name Flags
sb final
preorder final
field final
name final
node final
indent final
private static void enqueueChildren(jdk.nashorn.internal.ir.Node, java.lang.Class<?>, java.util.List<java.lang.reflect.Field>);
descriptor: (Ljdk/nashorn/internal/ir/Node;Ljava/lang/Class;Ljava/util/List;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=12, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
astore 3
start local 3 1: aload 1
astore 4
start local 4 2: StackMap locals: java.util.Deque java.lang.Class
StackMap stack:
aload 3
aload 4
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
3: aload 4
invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
astore 4
4: aload 4
ifnonnull 2
5: aload 0
instanceof jdk.nashorn.internal.ir.TernaryNode
ifeq 7
6: aload 3
aload 3
invokeinterface java.util.Deque.removeLast:()Ljava/lang/Object;
checkcast java.lang.Class
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
7: StackMap locals:
StackMap stack:
aload 0
instanceof jdk.nashorn.internal.ir.BinaryNode
ifeq 8
aload 3
invokeinterface java.util.Deque.descendingIterator:()Ljava/util/Iterator;
goto 9
StackMap locals:
StackMap stack:
8: aload 3
invokeinterface java.util.Deque.iterator:()Ljava/util/Iterator;
StackMap locals:
StackMap stack: java.util.Iterator
9: astore 5
start local 5 10: goto 28
11: StackMap locals: java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 6
start local 6 12: getstatic jdk.nashorn.internal.ir.debug.ASTWriter.accessibleFields:Ljava/lang/ClassValue;
aload 6
invokevirtual java.lang.ClassValue.get:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.reflect.Field[]
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 27
StackMap locals: jdk.nashorn.internal.ir.Node java.lang.Class java.util.List java.util.Deque java.lang.Class java.util.Iterator java.lang.Class top int int java.lang.reflect.Field[]
StackMap stack:
13: aload 10
iload 8
aaload
astore 7
start local 7 14: aload 7
aload 0
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 11
start local 11 15: aload 11
ifnonnull 17
16: goto 26
17: StackMap locals: jdk.nashorn.internal.ir.Node java.lang.Class java.util.List java.util.Deque java.lang.Class java.util.Iterator java.lang.Class java.lang.reflect.Field int int java.lang.reflect.Field[] java.lang.Object
StackMap stack:
aload 11
instanceof jdk.nashorn.internal.ir.Node
ifeq 20
18: aload 2
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
19: goto 26
StackMap locals:
StackMap stack:
20: aload 11
instanceof java.util.Collection
ifeq 26
21: aload 11
checkcast java.util.Collection
invokeinterface java.util.Collection.isEmpty:()Z
ifne 26
22: aload 2
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 23: goto 26
StackMap locals: jdk.nashorn.internal.ir.Node java.lang.Class java.util.List java.util.Deque java.lang.Class java.util.Iterator java.lang.Class java.lang.reflect.Field int int java.lang.reflect.Field[]
StackMap stack: java.lang.Exception
24: pop
25: return
end local 7 26: StackMap locals: jdk.nashorn.internal.ir.Node java.lang.Class java.util.List java.util.Deque java.lang.Class java.util.Iterator java.lang.Class top int int java.lang.reflect.Field[]
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
27: iload 8
iload 9
if_icmplt 13
end local 6 28: StackMap locals: jdk.nashorn.internal.ir.Node java.lang.Class java.util.List java.util.Deque java.lang.Class java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
29: return
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 node Ljdk/nashorn/internal/ir/Node;
0 30 1 nodeClass Ljava/lang/Class<*>;
0 30 2 children Ljava/util/List<Ljava/lang/reflect/Field;>;
1 30 3 stack Ljava/util/Deque<Ljava/lang/Class<*>;>;
2 30 4 clazz Ljava/lang/Class<*>;
10 30 5 iter Ljava/util/Iterator<Ljava/lang/Class<*>;>;
12 28 6 c Ljava/lang/Class<*>;
14 26 7 f Ljava/lang/reflect/Field;
15 23 11 child Ljava/lang/Object;
Exception table:
from to target type
14 16 24 Class java.lang.IllegalArgumentException
17 23 24 Class java.lang.IllegalArgumentException
14 16 24 Class java.lang.IllegalAccessException
17 23 24 Class java.lang.IllegalAccessException
Signature: (Ljdk/nashorn/internal/ir/Node;Ljava/lang/Class<*>;Ljava/util/List<Ljava/lang/reflect/Field;>;)V
MethodParameters:
Name Flags
node final
nodeClass final
children final
private static void indent(java.lang.StringBuilder, int);
descriptor: (Ljava/lang/StringBuilder;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 8
2: StackMap locals: int
StackMap stack:
iconst_0
istore 3
start local 3 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
bipush 32
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iconst_4
if_icmplt 4
end local 3 7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
iload 1
if_icmplt 2
end local 2 9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 sb Ljava/lang/StringBuilder;
0 10 1 indent I
1 9 2 i I
3 7 3 j I
MethodParameters:
Name Flags
sb final
indent final
}
SourceFile: "ASTWriter.java"
NestMembers:
jdk.nashorn.internal.ir.debug.ASTWriter$1
InnerClasses:
jdk.nashorn.internal.ir.debug.ASTWriter$1