public class org.jruby.ast.CaseNode extends org.jruby.ast.Node
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.CaseNode
super_class: org.jruby.ast.Node
{
private final org.jruby.ast.Node caseNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.ast.ListNode cases;
descriptor: Lorg/jruby/ast/ListNode;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.jruby.ast.Node elseNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0002) ACC_PRIVATE
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 Lorg/jruby/ast/CaseNode;
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 org.jruby.ast.CaseNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.Node, org.jruby.ast.ListNode);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/Node;Lorg/jruby/ast/ListNode;)V
flags: (0x0001) ACC_PUBLIC
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
aload 2
ifnull 1
aload 2
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
ifne 2
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node org.jruby.ast.ListNode
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition
1: aload 3
invokevirtual org.jruby.ast.ListNode.containsVariableAssignment:()Z
ifne 2
iconst_0
goto 3
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node org.jruby.ast.ListNode
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition
2: iconst_1
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node org.jruby.ast.ListNode
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition int
3: invokespecial org.jruby.ast.Node.<init>:(Lorg/jruby/lexer/yacc/ISourcePosition;Z)V
4: aload 0
aconst_null
putfield org.jruby.ast.CaseNode.elseNode:Lorg/jruby/ast/Node;
5: getstatic org.jruby.ast.CaseNode.$assertionsDisabled:Z
ifne 6
aload 3
ifnonnull 6
new java.lang.AssertionError
dup
ldc "caseBody is not null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals: org.jruby.ast.CaseNode org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Node org.jruby.ast.ListNode
StackMap stack:
aload 0
aload 2
putfield org.jruby.ast.CaseNode.caseNode:Lorg/jruby/ast/Node;
7: aload 0
aload 3
putfield org.jruby.ast.CaseNode.cases:Lorg/jruby/ast/ListNode;
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/ast/CaseNode;
0 9 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 9 2 caseNode Lorg/jruby/ast/Node;
0 9 3 cases Lorg/jruby/ast/ListNode;
MethodParameters:
Name Flags
position
caseNode
cases
public void setElseNode(org.jruby.ast.Node);
descriptor: (Lorg/jruby/ast/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.ast.CaseNode.elseNode:Lorg/jruby/ast/Node;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ast/CaseNode;
0 2 1 elseNode Lorg/jruby/ast/Node;
MethodParameters:
Name Flags
elseNode
public org.jruby.ast.NodeType getNodeType();
descriptor: ()Lorg/jruby/ast/NodeType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ast.NodeType.CASENODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/CaseNode;
public <T> T accept(org.jruby.ast.visitor.NodeVisitor<T>);
descriptor: (Lorg/jruby/ast/visitor/NodeVisitor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface org.jruby.ast.visitor.NodeVisitor.visitCaseNode:(Lorg/jruby/ast/CaseNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/CaseNode;
0 1 1 iVisitor Lorg/jruby/ast/visitor/NodeVisitor<TT;>;
Signature: <T:Ljava/lang/Object;>(Lorg/jruby/ast/visitor/NodeVisitor<TT;>;)TT;
MethodParameters:
Name Flags
iVisitor
public org.jruby.ast.Node getCaseNode();
descriptor: ()Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.CaseNode.caseNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/CaseNode;
public org.jruby.ast.ListNode getCases();
descriptor: ()Lorg/jruby/ast/ListNode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.CaseNode.cases:Lorg/jruby/ast/ListNode;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/CaseNode;
public org.jruby.ast.Node getElseNode();
descriptor: ()Lorg/jruby/ast/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.CaseNode.elseNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/CaseNode;
public java.util.List<org.jruby.ast.Node> childNodes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.CaseNode.caseNode:Lorg/jruby/ast/Node;
aload 0
getfield org.jruby.ast.CaseNode.cases:Lorg/jruby/ast/ListNode;
invokestatic org.jruby.ast.Node.createList:(Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/CaseNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
}
SourceFile: "CaseNode.java"