public class org.jruby.runtime.CallBlock extends org.jruby.runtime.BlockBody
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.CallBlock
super_class: org.jruby.runtime.BlockBody
{
private final org.jruby.runtime.BlockCallback callback;
descriptor: Lorg/jruby/runtime/BlockCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.parser.StaticScope dummyScope;
descriptor: Lorg/jruby/parser/StaticScope;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.jruby.runtime.Block newCallClosure(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, org.jruby.runtime.Signature, org.jruby.runtime.BlockCallback, org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/BlockCallback;Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/Block;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 4
aload 0
aload 2
aload 3
invokestatic org.jruby.runtime.CallBlock.newCallClosure:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/BlockCallback;)Lorg/jruby/runtime/Block;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 imClass Lorg/jruby/RubyModule;
0 1 2 signature Lorg/jruby/runtime/Signature;
0 1 3 callback Lorg/jruby/runtime/BlockCallback;
0 1 4 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
self
imClass
signature
callback
context
public static org.jruby.runtime.Block newCallClosure(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Signature, org.jruby.runtime.BlockCallback);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/BlockCallback;)Lorg/jruby/runtime/Block;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
invokevirtual org.jruby.runtime.ThreadContext.currentBinding:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Visibility;)Lorg/jruby/runtime/Binding;
astore 4
start local 4 1: new org.jruby.runtime.CallBlock
dup
aload 0
aload 2
aload 3
invokespecial org.jruby.runtime.CallBlock.<init>:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/BlockCallback;)V
astore 5
start local 5 2: new org.jruby.runtime.Block
dup
aload 5
aload 4
invokespecial org.jruby.runtime.Block.<init>:(Lorg/jruby/runtime/BlockBody;Lorg/jruby/runtime/Binding;)V
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 3 0 context Lorg/jruby/runtime/ThreadContext;
0 3 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 signature Lorg/jruby/runtime/Signature;
0 3 3 callback Lorg/jruby/runtime/BlockCallback;
1 3 4 binding Lorg/jruby/runtime/Binding;
2 3 5 body Lorg/jruby/runtime/BlockBody;
MethodParameters:
Name Flags
context
self
signature
callback
public static org.jruby.runtime.Block newCallClosure(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, org.jruby.runtime.Arity, org.jruby.runtime.BlockCallback, org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Lorg/jruby/runtime/Arity;Lorg/jruby/runtime/BlockCallback;Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/Block;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
invokestatic org.jruby.runtime.Signature.from:(Lorg/jruby/runtime/Arity;)Lorg/jruby/runtime/Signature;
aload 3
aload 4
invokestatic org.jruby.runtime.CallBlock.newCallClosure:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/BlockCallback;Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/Block;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 1 imClass Lorg/jruby/RubyModule;
0 1 2 arity Lorg/jruby/runtime/Arity;
0 1 3 callback Lorg/jruby/runtime/BlockCallback;
0 1 4 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
self
imClass
arity
callback
context
private void <init>(org.jruby.runtime.ThreadContext, org.jruby.runtime.Signature, org.jruby.runtime.BlockCallback);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/BlockCallback;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 2
invokespecial org.jruby.runtime.BlockBody.<init>:(Lorg/jruby/runtime/Signature;)V
1: aload 0
aload 3
putfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
2: aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getStaticScopeFactory:()Lorg/jruby/parser/StaticScopeFactory;
invokevirtual org.jruby.parser.StaticScopeFactory.getDummyScope:()Lorg/jruby/parser/StaticScope;
putfield org.jruby.runtime.CallBlock.dummyScope:Lorg/jruby/parser/StaticScope;
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/runtime/CallBlock;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
0 4 2 signature Lorg/jruby/runtime/Signature;
0 4 3 callback Lorg/jruby/runtime/BlockCallback;
MethodParameters:
Name Flags
context
signature
callback
static org.jruby.runtime.builtin.IRubyObject[] adjustArgs(org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.runtime.Block.getSignature:()Lorg/jruby/runtime/Signature;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.runtime.Signature.required:()I
istore 3
start local 3 2: iload 3
ifle 3
iload 3
aload 1
arraylength
if_icmpge 3
aload 2
invokevirtual org.jruby.runtime.Signature.isFixed:()Z
ifeq 3
aload 1
iload 3
invokestatic org.jruby.util.ArraySupport.newCopy:([Lorg/jruby/runtime/builtin/IRubyObject;I)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
3: StackMap locals: org.jruby.runtime.Signature int
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 block Lorg/jruby/runtime/Block;
0 4 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 4 2 signature Lorg/jruby/runtime/Signature;
2 4 3 required I
MethodParameters:
Name Flags
block
args
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
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
getfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
aload 1
aload 2
aload 3
invokestatic org.jruby.runtime.CallBlock.adjustArgs:(Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokeinterface org.jruby.runtime.BlockCallback.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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/runtime/CallBlock;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
args
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
aload 1
aload 2
aload 3
invokestatic org.jruby.runtime.CallBlock.adjustArgs:(Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
aload 4
invokeinterface org.jruby.runtime.BlockCallback.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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/runtime/CallBlock;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 blockArg Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
block
args
blockArg
public org.jruby.runtime.builtin.IRubyObject yieldSpecific(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
aload 1
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokeinterface org.jruby.runtime.BlockCallback.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/CallBlock;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject yieldSpecific(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
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
getfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
aload 1
aload 3
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokeinterface org.jruby.runtime.BlockCallback.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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/runtime/CallBlock;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
arg0
protected org.jruby.runtime.builtin.IRubyObject doYield(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
aload 1
aload 3
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokeinterface org.jruby.runtime.BlockCallback.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)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/runtime/CallBlock;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
value
protected org.jruby.runtime.builtin.IRubyObject doYield(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield org.jruby.runtime.CallBlock.callback:Lorg/jruby/runtime/BlockCallback;
aload 1
aload 2
aload 3
invokestatic org.jruby.runtime.CallBlock.adjustArgs:(Lorg/jruby/runtime/Block;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokeinterface org.jruby.runtime.BlockCallback.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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/runtime/CallBlock;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 self Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
block
args
self
public org.jruby.parser.StaticScope getStaticScope();
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.runtime.CallBlock.dummyScope:Lorg/jruby/parser/StaticScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/CallBlock;
public void setStaticScope(org.jruby.parser.StaticScope);
descriptor: (Lorg/jruby/parser/StaticScope;)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/runtime/CallBlock;
0 1 1 newScope Lorg/jruby/parser/StaticScope;
MethodParameters:
Name Flags
newScope
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "(internal)"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/CallBlock;
public int getLine();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/CallBlock;
}
SourceFile: "CallBlock.java"