public class org.jruby.ast.ClassNode extends org.jruby.ast.Node implements org.jruby.ast.IScopingNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ast.ClassNode
super_class: org.jruby.ast.Node
{
private final org.jruby.ast.Colon3Node cpath;
descriptor: Lorg/jruby/ast/Colon3Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.parser.StaticScope scope;
descriptor: Lorg/jruby/parser/StaticScope;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.ast.Node bodyNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.ast.Node superNode;
descriptor: Lorg/jruby/ast/Node;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int endLine;
descriptor: I
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 Lorg/jruby/ast/ClassNode;
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.ClassNode.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.lexer.yacc.ISourcePosition, org.jruby.ast.Colon3Node, org.jruby.parser.StaticScope, org.jruby.ast.Node, org.jruby.ast.Node, int);
descriptor: (Lorg/jruby/lexer/yacc/ISourcePosition;Lorg/jruby/ast/Colon3Node;Lorg/jruby/parser/StaticScope;Lorg/jruby/ast/Node;Lorg/jruby/ast/Node;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, 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 0
aload 1
aload 2
invokevirtual org.jruby.ast.Colon3Node.containsVariableAssignment:()Z
ifne 2
aload 4
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
ifne 2
aload 5
ifnull 1
aload 5
invokevirtual org.jruby.ast.Node.containsVariableAssignment:()Z
ifne 2
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Colon3Node org.jruby.parser.StaticScope org.jruby.ast.Node org.jruby.ast.Node int
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition
1: iconst_0
goto 3
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Colon3Node org.jruby.parser.StaticScope org.jruby.ast.Node org.jruby.ast.Node int
StackMap stack: uninitialized-this org.jruby.lexer.yacc.ISourcePosition
2: iconst_1
StackMap locals: uninitialized-this org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Colon3Node org.jruby.parser.StaticScope org.jruby.ast.Node org.jruby.ast.Node int
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: getstatic org.jruby.ast.ClassNode.$assertionsDisabled:Z
ifne 5
aload 3
ifnonnull 5
new java.lang.AssertionError
dup
ldc "scope is not null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: org.jruby.ast.ClassNode org.jruby.lexer.yacc.ISourcePosition org.jruby.ast.Colon3Node org.jruby.parser.StaticScope org.jruby.ast.Node org.jruby.ast.Node int
StackMap stack:
getstatic org.jruby.ast.ClassNode.$assertionsDisabled:Z
ifne 6
aload 4
ifnonnull 6
new java.lang.AssertionError
dup
ldc "bodyNode is not null"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ast.ClassNode.cpath:Lorg/jruby/ast/Colon3Node;
7: aload 0
aload 3
putfield org.jruby.ast.ClassNode.scope:Lorg/jruby/parser/StaticScope;
8: aload 0
aload 4
putfield org.jruby.ast.ClassNode.bodyNode:Lorg/jruby/ast/Node;
9: aload 0
aload 5
putfield org.jruby.ast.ClassNode.superNode:Lorg/jruby/ast/Node;
10: aload 0
iload 6
putfield org.jruby.ast.ClassNode.endLine:I
11: return
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 12 0 this Lorg/jruby/ast/ClassNode;
0 12 1 position Lorg/jruby/lexer/yacc/ISourcePosition;
0 12 2 cpath Lorg/jruby/ast/Colon3Node;
0 12 3 scope Lorg/jruby/parser/StaticScope;
0 12 4 bodyNode Lorg/jruby/ast/Node;
0 12 5 superNode Lorg/jruby/ast/Node;
0 12 6 endLine I
MethodParameters:
Name Flags
position
cpath
scope
bodyNode
superNode
endLine
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.CLASSNODE:Lorg/jruby/ast/NodeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
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.visitClassNode:(Lorg/jruby/ast/ClassNode;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
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 getBodyNode();
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.ClassNode.bodyNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
public int getEndLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ClassNode.endLine:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
public org.jruby.parser.StaticScope getScope();
descriptor: ()Lorg/jruby/parser/StaticScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ClassNode.scope:Lorg/jruby/parser/StaticScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
public org.jruby.ast.Colon3Node getCPath();
descriptor: ()Lorg/jruby/ast/Colon3Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ClassNode.cpath:Lorg/jruby/ast/Colon3Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
public org.jruby.ast.Node getSuperNode();
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.ClassNode.superNode:Lorg/jruby/ast/Node;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
public java.util.List<org.jruby.ast.Node> childNodes();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ast.ClassNode.cpath:Lorg/jruby/ast/Colon3Node;
aload 0
getfield org.jruby.ast.ClassNode.bodyNode:Lorg/jruby/ast/Node;
aload 0
getfield org.jruby.ast.ClassNode.superNode:Lorg/jruby/ast/Node;
invokestatic org.jruby.ast.Node.createList:(Lorg/jruby/ast/Node;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/ClassNode;
Signature: ()Ljava/util/List<Lorg/jruby/ast/Node;>;
public boolean executesOnce();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ast/ClassNode;
}
SourceFile: "ClassNode.java"