public class org.jruby.ir.operands.LocalVariable extends org.jruby.ir.operands.Variable implements org.jruby.ir.operands.DepthCloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.operands.LocalVariable
super_class: org.jruby.ir.operands.Variable
{
protected final org.jruby.RubySymbol name;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int scopeDepth;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int offset;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final int hcode;
descriptor: I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
protected final boolean isOuterScopeVar;
descriptor: Z
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(org.jruby.RubySymbol, int, int);
descriptor: (Lorg/jruby/RubySymbol;II)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
invokespecial org.jruby.ir.operands.Variable.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
2: aload 0
iload 2
putfield org.jruby.ir.operands.LocalVariable.scopeDepth:I
3: aload 0
iload 2
ifle 4
iconst_1
goto 5
StackMap locals: org.jruby.ir.operands.LocalVariable org.jruby.RubySymbol int int
StackMap stack: org.jruby.ir.operands.LocalVariable
4: iconst_0
StackMap locals: org.jruby.ir.operands.LocalVariable org.jruby.RubySymbol int int
StackMap stack: org.jruby.ir.operands.LocalVariable int
5: putfield org.jruby.ir.operands.LocalVariable.isOuterScopeVar:Z
6: aload 0
iload 3
putfield org.jruby.ir.operands.LocalVariable.offset:I
7: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.LocalVariable.offset:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
putfield org.jruby.ir.operands.LocalVariable.hcode:I
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/ir/operands/LocalVariable;
0 9 1 name Lorg/jruby/RubySymbol;
0 9 2 scopeDepth I
0 9 3 location I
MethodParameters:
Name Flags
name
scopeDepth
location
public void <init>(org.jruby.RubySymbol, int, int, boolean);
descriptor: (Lorg/jruby/RubySymbol;IIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial org.jruby.ir.operands.Variable.<init>:()V
1: aload 0
aload 1
putfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
2: aload 0
iload 2
putfield org.jruby.ir.operands.LocalVariable.scopeDepth:I
3: aload 0
iload 4
putfield org.jruby.ir.operands.LocalVariable.isOuterScopeVar:Z
4: aload 0
iload 3
putfield org.jruby.ir.operands.LocalVariable.offset:I
5: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.LocalVariable.offset:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
putfield org.jruby.ir.operands.LocalVariable.hcode:I
6: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/operands/LocalVariable;
0 7 1 name Lorg/jruby/RubySymbol;
0 7 2 scopeDepth I
0 7 3 location I
0 7 4 isOuterScopeVar Z
MethodParameters:
Name Flags
name
scopeDepth
location
isOuterScopeVar
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.LOCAL_VARIABLE:Lorg/jruby/ir/operands/OperandType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
public boolean isSameDepth(org.jruby.ir.operands.LocalVariable);
descriptor: (Lorg/jruby/ir/operands/LocalVariable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()I
aload 1
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()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/LocalVariable;
0 2 1 other Lorg/jruby/ir/operands/LocalVariable;
MethodParameters:
Name Flags
other
public int getScopeDepth();
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.LocalVariable.scopeDepth:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
public int getOffset();
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.LocalVariable.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
public int getLocation();
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.LocalVariable.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.idString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
public org.jruby.RubySymbol getName();
descriptor: ()Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.operands.LocalVariable.isSelf:()Z
ifeq 1
aload 0
getfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
invokevirtual org.jruby.RubySymbol.toString:()Ljava/lang/String;
goto 4
StackMap locals:
StackMap stack:
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.LocalVariable.scopeDepth:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.LocalVariable.offset:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.ir.operands.LocalVariable.isOuterScopeVar:Z
ifeq 2
ldc ":outer=true"
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: ldc ""
StackMap locals: org.jruby.ir.operands.LocalVariable
StackMap stack: java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
4: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/operands/LocalVariable;
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.LocalVariable.hcode:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
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
ifnull 1
aload 1
instanceof org.jruby.ir.operands.LocalVariable
ifne 2
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ir.operands.LocalVariable.hashCode:()I
aload 1
invokevirtual java.lang.Object.hashCode:()I
if_icmpne 3
iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/LocalVariable;
0 4 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.jruby.ir.operands.LocalVariable
ifne 1
iconst_0
ireturn
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.ir.operands.LocalVariable.hashCode:()I
istore 2
start local 2 2: aload 1
invokevirtual java.lang.Object.hashCode:()I
istore 3
start local 3 3: iload 2
iload 3
if_icmpge 4
iconst_m1
goto 6
StackMap locals: int int
StackMap stack:
4: iload 2
iload 3
if_icmpne 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
StackMap locals:
StackMap stack: int
6: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/ir/operands/LocalVariable;
0 7 1 arg0 Ljava/lang/Object;
2 7 2 a I
3 7 3 b I
MethodParameters:
Name Flags
arg0
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=3, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 4
aload 0
getfield org.jruby.ir.operands.LocalVariable.offset:I
aload 0
getfield org.jruby.ir.operands.LocalVariable.scopeDepth:I
invokevirtual org.jruby.runtime.DynamicScope.getValue:(II)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
start local 6 1: aload 6
ifnonnull 2
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
2: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6
areturn
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 3 0 this Lorg/jruby/ir/operands/LocalVariable;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 currScope Lorg/jruby/parser/StaticScope;
0 3 4 currDynScope Lorg/jruby/runtime/DynamicScope;
0 3 5 temp [Ljava/lang/Object;
1 3 6 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
currScope
currDynScope
temp
public org.jruby.ir.operands.Variable clone(org.jruby.ir.transformations.inlining.SimpleCloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/SimpleCloneInfo;)Lorg/jruby/ir/operands/Variable;
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/LocalVariable;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/SimpleCloneInfo;
MethodParameters:
Name Flags
ii
public org.jruby.ir.operands.LocalVariable cloneForDepth(int);
descriptor: (I)Lorg/jruby/ir/operands/LocalVariable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield org.jruby.ir.operands.LocalVariable.scopeDepth:I
if_icmple 1
new org.jruby.ir.operands.LocalVariable
dup
aload 0
getfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
iload 1
aload 0
getfield org.jruby.ir.operands.LocalVariable.offset:I
invokespecial org.jruby.ir.operands.LocalVariable.<init>:(Lorg/jruby/RubySymbol;II)V
goto 2
StackMap locals:
StackMap stack:
1: new org.jruby.ir.operands.LocalVariable
dup
aload 0
getfield org.jruby.ir.operands.LocalVariable.name:Lorg/jruby/RubySymbol;
iload 1
aload 0
getfield org.jruby.ir.operands.LocalVariable.offset:I
aload 0
getfield org.jruby.ir.operands.LocalVariable.isOuterScopeVar:Z
invokespecial org.jruby.ir.operands.LocalVariable.<init>:(Lorg/jruby/RubySymbol;IIZ)V
StackMap locals:
StackMap stack: org.jruby.ir.operands.LocalVariable
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/operands/LocalVariable;
0 3 1 n I
MethodParameters:
Name Flags
n
public boolean isOuterScopeVar();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.operands.LocalVariable.isOuterScopeVar:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/operands/LocalVariable;
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.Variable.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.operands.LocalVariable.getName:()Lorg/jruby/RubySymbol;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/RubySymbol;)V
2: aload 1
aload 0
invokevirtual org.jruby.ir.operands.LocalVariable.getScopeDepth:()I
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/operands/LocalVariable;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.operands.LocalVariable decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/operands/LocalVariable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.getCurrentScope:()Lorg/jruby/ir/IRScope;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokevirtual org.jruby.ir.IRScope.getLocalVariable:(Lorg/jruby/RubySymbol;I)Lorg/jruby/ir/operands/LocalVariable;
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.LocalVariable:(Lorg/jruby/ir/operands/LocalVariable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/operands/LocalVariable;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
public org.jruby.ir.operands.Operand cloneForDepth(int);
descriptor: (I)Lorg/jruby/ir/operands/Operand;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual org.jruby.ir.operands.LocalVariable.cloneForDepth:(I)Lorg/jruby/ir/operands/LocalVariable;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "LocalVariable.java"