class jdk.nashorn.api.tree.UnaryTreeImpl extends jdk.nashorn.api.tree.ExpressionTreeImpl implements jdk.nashorn.api.tree.UnaryTree
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nashorn.api.tree.UnaryTreeImpl
super_class: jdk.nashorn.api.tree.ExpressionTreeImpl
{
private final jdk.nashorn.api.tree.ExpressionTree expr;
descriptor: Ljdk/nashorn/api/tree/ExpressionTree;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nashorn.api.tree.Tree$Kind kind;
descriptor: Ljdk/nashorn/api/tree/Tree$Kind;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(jdk.nashorn.internal.ir.UnaryNode, jdk.nashorn.api.tree.ExpressionTree);
descriptor: (Ljdk/nashorn/internal/ir/UnaryNode;Ljdk/nashorn/api/tree/ExpressionTree;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial jdk.nashorn.api.tree.ExpressionTreeImpl.<init>:(Ljdk/nashorn/internal/ir/Expression;)V
1: aload 0
aload 2
putfield jdk.nashorn.api.tree.UnaryTreeImpl.expr:Ljdk/nashorn/api/tree/ExpressionTree;
2: aload 0
aload 1
invokevirtual jdk.nashorn.internal.ir.UnaryNode.tokenType:()Ljdk/nashorn/internal/parser/TokenType;
invokestatic jdk.nashorn.api.tree.UnaryTreeImpl.getOperator:(Ljdk/nashorn/internal/parser/TokenType;)Ljdk/nashorn/api/tree/Tree$Kind;
putfield jdk.nashorn.api.tree.UnaryTreeImpl.kind:Ljdk/nashorn/api/tree/Tree$Kind;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/nashorn/api/tree/UnaryTreeImpl;
0 4 1 node Ljdk/nashorn/internal/ir/UnaryNode;
0 4 2 expr Ljdk/nashorn/api/tree/ExpressionTree;
MethodParameters:
Name Flags
node final
expr 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: aload 0
getfield jdk.nashorn.api.tree.UnaryTreeImpl.kind:Ljdk/nashorn/api/tree/Tree$Kind;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/UnaryTreeImpl;
public jdk.nashorn.api.tree.ExpressionTree getExpression();
descriptor: ()Ljdk/nashorn/api/tree/ExpressionTree;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.api.tree.UnaryTreeImpl.expr:Ljdk/nashorn/api/tree/ExpressionTree;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/api/tree/UnaryTreeImpl;
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.visitUnary:(Ljdk/nashorn/api/tree/UnaryTree;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/UnaryTreeImpl;
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: "UnaryTreeImpl.java"
InnerClasses:
public final Kind = jdk.nashorn.api.tree.Tree$Kind of jdk.nashorn.api.tree.Tree