public class org.jruby.ir.instructions.ReceiveKeywordArgInstr extends org.jruby.ir.instructions.ReceiveArgBase implements org.jruby.ir.instructions.FixedArityInstr
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.instructions.ReceiveKeywordArgInstr
super_class: org.jruby.ir.instructions.ReceiveArgBase
{
public final org.jruby.RubySymbol key;
descriptor: Lorg/jruby/RubySymbol;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int required;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public void <init>(org.jruby.ir.operands.Variable, org.jruby.RubySymbol, int);
descriptor: (Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic org.jruby.ir.Operation.RECV_KW_ARG:Lorg/jruby/ir/Operation;
aload 1
iconst_m1
invokespecial org.jruby.ir.instructions.ReceiveArgBase.<init>:(Lorg/jruby/ir/Operation;Lorg/jruby/ir/operands/Variable;I)V
1: aload 0
aload 2
putfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.key:Lorg/jruby/RubySymbol;
2: aload 0
iload 3
putfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.required:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
0 4 1 result Lorg/jruby/ir/operands/Variable;
0 4 2 key Lorg/jruby/RubySymbol;
0 4 3 required I
MethodParameters:
Name Flags
result
key
required
public java.lang.String[] toStringNonOperandArgs();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: iconst_2
anewarray java.lang.String
dup
iconst_0
new java.lang.StringBuilder
dup
ldc "name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ir.instructions.ReceiveKeywordArgInstr.getKey:()Lorg/jruby/RubySymbol;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
dup
iconst_1
new java.lang.StringBuilder
dup
ldc "req: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.required:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
public boolean computeScopeFlags(org.jruby.ir.IRScope);
descriptor: (Lorg/jruby/ir/IRScope;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.ir.IRScope.getFlags:()Ljava/util/EnumSet;
getstatic org.jruby.ir.IRFlags.RECEIVES_KEYWORD_ARGS:Lorg/jruby/ir/IRFlags;
invokevirtual java.util.EnumSet.add:(Ljava/lang/Object;)Z
pop
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
0 2 1 scope Lorg/jruby/ir/IRScope;
MethodParameters:
Name Flags
scope
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.instructions.ReceiveKeywordArgInstr.key: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/instructions/ReceiveKeywordArgInstr;
public org.jruby.RubySymbol getKey();
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.instructions.ReceiveKeywordArgInstr.key:Lorg/jruby/RubySymbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
public org.jruby.ir.instructions.Instr clone(org.jruby.ir.transformations.inlining.CloneInfo);
descriptor: (Lorg/jruby/ir/transformations/inlining/CloneInfo;)Lorg/jruby/ir/instructions/Instr;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.ir.instructions.ReceiveKeywordArgInstr
dup
aload 1
aload 0
getfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.result:Lorg/jruby/ir/operands/Variable;
invokevirtual org.jruby.ir.transformations.inlining.CloneInfo.getRenamedVariable:(Lorg/jruby/ir/operands/Variable;)Lorg/jruby/ir/operands/Variable;
aload 0
invokevirtual org.jruby.ir.instructions.ReceiveKeywordArgInstr.getKey:()Lorg/jruby/RubySymbol;
aload 0
getfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.required:I
invokespecial org.jruby.ir.instructions.ReceiveKeywordArgInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
0 1 1 ii Lorg/jruby/ir/transformations/inlining/CloneInfo;
MethodParameters:
Name Flags
ii
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.instructions.ReceiveArgBase.encode:(Lorg/jruby/ir/persistence/IRWriterEncoder;)V
1: aload 1
aload 0
invokevirtual org.jruby.ir.instructions.ReceiveKeywordArgInstr.getKey:()Lorg/jruby/RubySymbol;
invokeinterface org.jruby.ir.persistence.IRWriterEncoder.encode:(Lorg/jruby/RubySymbol;)V
2: aload 1
aload 0
getfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.required: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/instructions/ReceiveKeywordArgInstr;
0 4 1 e Lorg/jruby/ir/persistence/IRWriterEncoder;
MethodParameters:
Name Flags
e
public static org.jruby.ir.instructions.ReceiveKeywordArgInstr decode(org.jruby.ir.persistence.IRReaderDecoder);
descriptor: (Lorg/jruby/ir/persistence/IRReaderDecoder;)Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.ir.instructions.ReceiveKeywordArgInstr
dup
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeVariable:()Lorg/jruby/ir/operands/Variable;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeSymbol:()Lorg/jruby/RubySymbol;
aload 0
invokeinterface org.jruby.ir.persistence.IRReaderDecoder.decodeInt:()I
invokespecial org.jruby.ir.instructions.ReceiveKeywordArgInstr.<init>:(Lorg/jruby/ir/operands/Variable;Lorg/jruby/RubySymbol;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 d Lorg/jruby/ir/persistence/IRReaderDecoder;
MethodParameters:
Name Flags
d
public org.jruby.runtime.builtin.IRubyObject receiveArg(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
aload 0
getfield org.jruby.ir.instructions.ReceiveKeywordArgInstr.required:I
aload 0
invokevirtual org.jruby.ir.instructions.ReceiveKeywordArgInstr.getKey:()Lorg/jruby/RubySymbol;
iload 3
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.receiveKeywordArg:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/RubySymbol;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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/instructions/ReceiveKeywordArgInstr;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 acceptsKeywordArgument Z
MethodParameters:
Name Flags
context
args
acceptsKeywordArgument
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.ReceiveKeywordArgInstr:(Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/instructions/ReceiveKeywordArgInstr;
0 2 1 visitor Lorg/jruby/ir/IRVisitor;
MethodParameters:
Name Flags
visitor
}
SourceFile: "ReceiveKeywordArgInstr.java"