final class jdk.nashorn.api.tree.FunctionDeclarationTreeImpl extends jdk.nashorn.api.tree.StatementTreeImpl implements jdk.nashorn.api.tree.FunctionDeclarationTree
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.api.tree.FunctionDeclarationTreeImpl
super_class: jdk.nashorn.api.tree.StatementTreeImpl
{
private final jdk.nashorn.internal.ir.FunctionNode funcNode;
descriptor: Ljdk/nashorn/internal/ir/FunctionNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.api.tree.IdentifierTree funcName;
descriptor: Ljdk/nashorn/api/tree/IdentifierTree;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<? extends jdk.nashorn.api.tree.ExpressionTree> params;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;
private final jdk.nashorn.api.tree.BlockTree body;
descriptor: Ljdk/nashorn/api/tree/BlockTree;
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/FunctionDeclarationTreeImpl;
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.FunctionDeclarationTreeImpl.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(jdk.nashorn.internal.ir.VarNode, java.util.List<? extends jdk.nashorn.api.tree.ExpressionTree>, jdk.nashorn.api.tree.BlockTree);
descriptor: (Ljdk/nashorn/internal/ir/VarNode;Ljava/util/List;Ljdk/nashorn/api/tree/BlockTree;)V
flags: (0x0000)
Code:
stack=4, 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.StatementTreeImpl.<init>:(Ljdk/nashorn/internal/ir/Statement;)V
1: getstatic jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual jdk.nashorn.internal.ir.VarNode.getInit:()Ljdk/nashorn/internal/ir/Expression;
instanceof jdk.nashorn.internal.ir.FunctionNode
ifne 2
new java.lang.AssertionError
dup
ldc "function expected"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
2: StackMap locals: jdk.nashorn.api.tree.FunctionDeclarationTreeImpl jdk.nashorn.internal.ir.VarNode java.util.List jdk.nashorn.api.tree.BlockTree
StackMap stack:
aload 0
aload 1
invokevirtual jdk.nashorn.internal.ir.VarNode.getInit:()Ljdk/nashorn/internal/ir/Expression;
checkcast jdk.nashorn.internal.ir.FunctionNode
putfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
3: getstatic jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.$assertionsDisabled:Z
ifne 4
aload 0
getfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isDeclared:()Z
ifne 4
new java.lang.AssertionError
dup
ldc "function declaration expected"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.funcNode:Ljdk/nashorn/internal/ir/FunctionNode;
invokevirtual jdk.nashorn.internal.ir.FunctionNode.isAnonymous:()Z
ifeq 5
aconst_null
goto 6
StackMap locals:
StackMap stack: jdk.nashorn.api.tree.FunctionDeclarationTreeImpl
5: new jdk.nashorn.api.tree.IdentifierTreeImpl
dup
aload 1
invokevirtual jdk.nashorn.internal.ir.VarNode.getName:()Ljdk/nashorn/internal/ir/IdentNode;
invokespecial jdk.nashorn.api.tree.IdentifierTreeImpl.<init>:(Ljdk/nashorn/internal/ir/IdentNode;)V
StackMap locals: jdk.nashorn.api.tree.FunctionDeclarationTreeImpl jdk.nashorn.internal.ir.VarNode java.util.List jdk.nashorn.api.tree.BlockTree
StackMap stack: jdk.nashorn.api.tree.FunctionDeclarationTreeImpl jdk.nashorn.api.tree.IdentifierTreeImpl
6: putfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.funcName:Ljdk/nashorn/api/tree/IdentifierTree;
7: aload 0
aload 2
putfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.params:Ljava/util/List;
8: aload 0
aload 3
putfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.body:Ljdk/nashorn/api/tree/BlockTree;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/nashorn/api/tree/FunctionDeclarationTreeImpl;
0 10 1 node Ljdk/nashorn/internal/ir/VarNode;
0 10 2 params Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;
0 10 3 body Ljdk/nashorn/api/tree/BlockTree;
Signature: (Ljdk/nashorn/internal/ir/VarNode;Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;Ljdk/nashorn/api/tree/BlockTree;)V
MethodParameters:
Name Flags
node final
params final
body 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.FUNCTION:Ljdk/nashorn/api/tree/Tree$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionDeclarationTreeImpl;
public jdk.nashorn.api.tree.IdentifierTree getName();
descriptor: ()Ljdk/nashorn/api/tree/IdentifierTree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.funcName:Ljdk/nashorn/api/tree/IdentifierTree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionDeclarationTreeImpl;
public java.util.List<? extends jdk.nashorn.api.tree.ExpressionTree> getParameters();
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.FunctionDeclarationTreeImpl.params:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionDeclarationTreeImpl;
Signature: ()Ljava/util/List<+Ljdk/nashorn/api/tree/ExpressionTree;>;
public jdk.nashorn.api.tree.BlockTree getBody();
descriptor: ()Ljdk/nashorn/api/tree/BlockTree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.body:Ljdk/nashorn/api/tree/BlockTree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/FunctionDeclarationTreeImpl;
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.FunctionDeclarationTreeImpl.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/FunctionDeclarationTreeImpl;
public boolean isGenerator();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.FunctionDeclarationTreeImpl.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.GENERATOR:Ljdk/nashorn/internal/ir/FunctionNode$Kind;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nashorn/api/tree/FunctionDeclarationTreeImpl;
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.visitFunctionDeclaration:(Ljdk/nashorn/api/tree/FunctionDeclarationTree;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/FunctionDeclarationTreeImpl;
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: "FunctionDeclarationTreeImpl.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