final class jdk.nashorn.api.tree.CompilationUnitTreeImpl extends jdk.nashorn.api.tree.TreeImpl implements jdk.nashorn.api.tree.CompilationUnitTree
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.api.tree.CompilationUnitTreeImpl
super_class: jdk.nashorn.api.tree.TreeImpl
{
private final jdk.nashorn.internal.ir.FunctionNode funcNode;
descriptor: Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<? extends jdk.nashorn.api.tree.Tree> elements;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Ljdk/nashorn/api/tree/Tree;>;
private final jdk.nashorn.api.tree.ModuleTree module;
descriptor: Ljdk/nashorn/api/tree/ModuleTree;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
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.api.tree.CompilationUnitTreeImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.nashorn.internal.ir.FunctionNode, java.util.List<? extends jdk.nashorn.api.tree.Tree>, jdk.nashorn.api.tree.ModuleTree);
descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List;Ljdk/nashorn/api/tree/ModuleTree;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial jdk.nashorn.api.tree.TreeImpl.<init>:(Ljdk/nashorn/internal/ir/Node;)V
1: aload 0
aload 1
putfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
2: getstatic jdk.nashorn.api.tree.CompilationUnitTreeImpl.$assertionsDisabled:Z
ifne 5
aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getKind:()Ljdk/nashorn/internal/ir/FunctionNode$Kind;
getstatic jdk.nashorn.internal.ir.FunctionNode$Kind.SCRIPT:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpeq 5
3: aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getKind:()Ljdk/nashorn/internal/ir/FunctionNode$Kind;
getstatic jdk.nashorn.internal.ir.FunctionNode$Kind.MODULE:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpeq 5
new java.lang.AssertionError
dup
4: ldc "script or module function expected"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: jdk.nashorn.api.tree.CompilationUnitTreeImpl jdk.nashorn.internal.ir.FunctionNode java.util.List jdk.nashorn.api.tree.ModuleTree
StackMap stack:
aload 0
aload 2
putfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.elements:Ljava/util/List;
6: aload 0
aload 3
putfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.module:Ljdk/nashorn/api/tree/ModuleTree;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
0 8 1 node Ljdk/nashorn/internal/ir/FunctionNode;
0 8 2 elements Ljava/util/List<+Ljdk/nashorn/api/tree/Tree;>;
0 8 3 module Ljdk/nashorn/api/tree/ModuleTree;
Signature: (Ljdk/nashorn/internal/ir/FunctionNode;Ljava/util/List<+Ljdk/nashorn/api/tree/Tree;>;Ljdk/nashorn/api/tree/ModuleTree;)V
MethodParameters:
Name Flags
node final
elements final
module final
public jdk.nashorn.api.tree.Tree$Kind getKind();
descriptor: ()Ljdk/nashorn/api/tree/Tree$Kind;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.nashorn.api.tree.Tree$Kind.COMPILATION_UNIT:Ljdk/nashorn/api/tree/Tree$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
public java.util.List<? extends jdk.nashorn.api.tree.Tree> getSourceElements();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.elements:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
Signature: ()Ljava/util/List<+Ljdk/nashorn/api/tree/Tree;>;
public java.lang.String getSourceName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getSourceName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
public boolean isStrict();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isStrict:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
public jdk.nashorn.api.tree.LineMap getLineMap();
descriptor: ()Ljdk/nashorn/api/tree/LineMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jdk.nashorn.api.tree.LineMapImpl
dup
aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.getSource:()Ljdk/nashorn/internal/runtime/Source;
invokespecial jdk.nashorn.api.tree.LineMapImpl.<init>:(Ljdk/nashorn/internal/runtime/Source;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
public jdk.nashorn.api.tree.ModuleTree getModule();
descriptor: ()Ljdk/nashorn/api/tree/ModuleTree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.CompilationUnitTreeImpl.module:Ljdk/nashorn/api/tree/ModuleTree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
public <R, D> R accept(jdk.nashorn.api.tree.TreeVisitor<R, D>, );
descriptor: (Ljdk/nashorn/api/tree/TreeVisitor;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 2
invokeinterface jdk.nashorn.api.tree.TreeVisitor.visitCompilationUnit:(Ljdk/nashorn/api/tree/CompilationUnitTree;Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/CompilationUnitTreeImpl;
0 1 1 visitor Ljdk/nashorn/api/tree/TreeVisitor<TR;TD;>;
0 1 2 data TD;
Signature: <R:Ljava/lang/Object;D:Ljava/lang/Object;>(Ljdk/nashorn/api/tree/TreeVisitor<TR;TD;>;TD;)TR;
MethodParameters:
Name Flags
visitor final
data final
}
SourceFile: "CompilationUnitTreeImpl.java"
InnerClasses:
public final Kind = jdk.nashorn.api.tree.Tree$Kind of jdk.nashorn.api.tree.Tree
public final Kind = jdk.nashorn.internal.ir.FunctionNode$Kind of jdk.nashorn.internal.ir.FunctionNode