public class org.jruby.ir.operands.ScopeModule extends org.jruby.ir.operands.Operand
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.ScopeModule
super_class: org.jruby.ir.operands.Operand
{
public static final org.jruby.ir.operands.ScopeModule[] SCOPE_MODULE;
descriptor: [Lorg/jruby/ir/operands/ScopeModule;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final int scopeModuleDepth;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: iconst_5
anewarray org.jruby.ir.operands.ScopeModule
dup
iconst_0
1: new org.jruby.ir.operands.ScopeModule
dup
iconst_0
invokespecial org.jruby.ir.operands.ScopeModule.<init>:(I)V
aastore
dup
iconst_1
new org.jruby.ir.operands.ScopeModule
dup
iconst_1
invokespecial org.jruby.ir.operands.ScopeModule.<init>:(I)V
aastore
dup
iconst_2
new org.jruby.ir.operands.ScopeModule
dup
iconst_2
invokespecial org.jruby.ir.operands.ScopeModule.<init>:(I)V
aastore
dup
iconst_3
new org.jruby.ir.operands.ScopeModule
dup
iconst_3
invokespecial org.jruby.ir.operands.ScopeModule.<init>:(I)V
aastore
dup
iconst_4
new org.jruby.ir.operands.ScopeModule
dup
iconst_4
invokespecial org.jruby.ir.operands.ScopeModule.<init>:(I)V
aastore
2: putstatic org.jruby.ir.operands.ScopeModule.SCOPE_MODULE:[Lorg/jruby/ir/operands/ScopeModule;
3: return
LocalVariableTable:
Start End Slot Name Signature
public static org.jruby.ir.operands.ScopeModule ModuleFor(int);
descriptor: (I)Lorg/jruby/ir/operands/ScopeModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
getstatic org.jruby.ir.operands.ScopeModule.SCOPE_MODULE:[Lorg/jruby/ir/operands/ScopeModule;
arraylength
if_icmpge 1
getstatic org.jruby.ir.operands.ScopeModule.SCOPE_MODULE:[Lorg/jruby/ir/operands/ScopeModule;
iload 0
aaload
goto 2
StackMap locals:
StackMap stack:
1: new org.jruby.ir.operands.ScopeModule
dup
iload 0
invokespecial org.jruby.ir.operands.ScopeModule.<init>:(I)V
StackMap locals:
StackMap stack: org.jruby.ir.operands.ScopeModule
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 depth I
MethodParameters:
Name Flags
depth
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.jruby.ir.operands.Operand.<init>:()V
1: aload 0
iload 1
putfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/ScopeModule;
0 3 1 scopeModuleDepth I
MethodParameters:
Name Flags
scopeModuleDepth
public org.jruby.ir.operands.OperandType getOperandType();
descriptor: ()Lorg/jruby/ir/operands/OperandType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.operands.OperandType.SCOPE_MODULE:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/ScopeModule;
public void addUsedVariables(java.util.List<org.jruby.ir.operands.Variable>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/ScopeModule;
0 1 1 l Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;
Signature: (Ljava/util/List<Lorg/jruby/ir/operands/Variable;>;)V
MethodParameters:
Name Flags
l
public org.jruby.ir.operands.Operand cloneForInlining(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/ScopeModule;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/ScopeModule;
public int getScopeModuleDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/ScopeModule;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.operands.ScopeModule
ifeq 1
aload 0
getfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
aload 1
checkcast org.jruby.ir.operands.ScopeModule
getfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/ScopeModule;
0 2 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public boolean canCopyPropagate();
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/ir/operands/ScopeModule;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "module<"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/ScopeModule;
public java.lang.Object retrieve(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.parser.StaticScope, org.jruby.runtime.DynamicScope, java.lang.Object[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/parser/StaticScope;Lorg/jruby/runtime/DynamicScope;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 3
aload 0
getfield org.jruby.ir.operands.ScopeModule.scopeModuleDepth:I
invokestatic org.jruby.runtime.Helpers.getNthScopeModule:(Lorg/jruby/parser/StaticScope;I)Lorg/jruby/RubyModule;
areturn
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 1 0 this Lorg/jruby/ir/operands/ScopeModule;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 currScope Lorg/jruby/parser/StaticScope;
0 1 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 1 5 temp [Ljava/lang/Object;
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
public void encode(org.jruby.ir.persistence.IRWriterEncoder);
descriptor: (Lorg/jruby/ir/persistence/IRWriterEncoder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jruby.ir.operands.Operand.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.operands.ScopeModule.getScopeModuleDepth:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/ScopeModule;
0 3 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.ScopeModule decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/ScopeModule;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokestatic org.jruby.ir.operands.ScopeModule.ModuleFor:(I)Lorg/jruby/ir/operands/ScopeModule;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public void visit(org.jruby.ir.IRVisitor);
descriptor: (Lorg/jruby/ir/IRVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.jruby.ir.IRVisitor.ScopeModule:(Lorg/jruby/ir/operands/ScopeModule;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/ScopeModule;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "ScopeModule.java"