public abstract class org.jruby.ir.instructions.OneOperandInstr extends org.jruby.ir.instructions.Instr
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.ir.instructions.OneOperandInstr
super_class: org.jruby.ir.instructions.Instr
{
private transient org.jruby.ir.operands.Operand operand1;
descriptor: Lorg/jruby/ir/operands/Operand;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>(org.jruby.ir.Operation, org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial org.jruby.ir.instructions.Instr.<init>:(Lorg/jruby/ir/Operation;)V
1: aload 0
aload 2
putfield org.jruby.ir.instructions.OneOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/ir/instructions/OneOperandInstr;
0 3 1 operation Lorg/jruby/ir/Operation;
0 3 2 operand1 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operation
operand1
public org.jruby.ir.operands.Operand[] getOperands();
descriptor: ()[Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_1
anewarray org.jruby.ir.operands.Operand
dup
iconst_0
aload 0
getfield org.jruby.ir.instructions.OneOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/OneOperandInstr;
public org.jruby.ir.operands.Operand getOperand1();
descriptor: ()Lorg/jruby/ir/operands/Operand;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.instructions.OneOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/OneOperandInstr;
public void setOperand1(org.jruby.ir.operands.Operand);
descriptor: (Lorg/jruby/ir/operands/Operand;)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.ir.instructions.OneOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/OneOperandInstr;
0 2 1 operand1 Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
operand1
public void setOperand(int, org.jruby.ir.operands.Operand);
descriptor: (ILorg/jruby/ir/operands/Operand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
tableswitch { // 0 - 0
0: 1
default: 3
}
1: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield org.jruby.ir.instructions.OneOperandInstr.operand1:Lorg/jruby/ir/operands/Operand;
2: goto 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "No such operand to set at index: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/instructions/OneOperandInstr;
0 5 1 i I
0 5 2 operand Lorg/jruby/ir/operands/Operand;
MethodParameters:
Name Flags
i
operand
}
SourceFile: "OneOperandInstr.java"