public class org.jruby.RubyProc extends org.jruby.RubyObject implements org.jruby.runtime.marshal.DataType
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyProc
super_class: org.jruby.RubyObject
{
private org.jruby.runtime.Block block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.Block$Type type;
descriptor: Lorg/jruby/runtime/Block$Type;
flags: (0x0002) ACC_PRIVATE
private java.lang.String file;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int line;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/RubyProc;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.RubyProc.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.Block$Type);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
putfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
2: aload 0
aconst_null
putfield org.jruby.RubyProc.file:Ljava/lang/String;
3: aload 0
iconst_m1
putfield org.jruby.RubyProc.line:I
4: aload 0
aload 3
putfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/RubyProc;
0 6 1 runtime Lorg/jruby/Ruby;
0 6 2 rubyClass Lorg/jruby/RubyClass;
0 6 3 type Lorg/jruby/runtime/Block$Type;
MethodParameters:
Name Flags
runtime
rubyClass
type
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.Block$Type, org.jruby.lexer.yacc.ISourcePosition);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;Lorg/jruby/lexer/yacc/ISourcePosition;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, 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
aload 3
aload 4
invokeinterface org.jruby.lexer.yacc.ISourcePosition.getFile:()Ljava/lang/String;
aload 4
invokeinterface org.jruby.lexer.yacc.ISourcePosition.getLine:()I
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyProc;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
0 2 3 type Lorg/jruby/runtime/Block$Type;
0 2 4 sourcePosition Lorg/jruby/lexer/yacc/ISourcePosition;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
rubyClass
type
sourcePosition
protected void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.Block$Type, java.lang.String, int);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, 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 0
aload 1
aload 2
aload 3
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;)V
1: aload 0
aload 4
putfield org.jruby.RubyProc.file:Ljava/lang/String;
2: aload 0
iload 5
putfield org.jruby.RubyProc.line:I
3: return
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 4 0 this Lorg/jruby/RubyProc;
0 4 1 runtime Lorg/jruby/Ruby;
0 4 2 rubyClass Lorg/jruby/RubyClass;
0 4 3 type Lorg/jruby/runtime/Block$Type;
0 4 4 file Ljava/lang/String;
0 4 5 line I
MethodParameters:
Name Flags
runtime
rubyClass
type
file
line
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.Block, java.lang.String, int);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, 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 0
aload 1
aload 2
aload 3
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
aload 4
iload 5
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)V
1: aload 0
aload 3
putfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
2: return
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/RubyProc;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 rubyClass Lorg/jruby/RubyClass;
0 3 3 block Lorg/jruby/runtime/Block;
0 3 4 file Ljava/lang/String;
0 3 5 line I
MethodParameters:
Name Flags
runtime
rubyClass
block
file
line
public static org.jruby.RubyClass createProcClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Proc"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
getstatic org.jruby.runtime.ClassIndex.PROC:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
2: aload 1
ldc Lorg/jruby/RubyProc;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
3: aload 1
ldc Lorg/jruby/RubyProc;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 runtime Lorg/jruby/Ruby;
1 5 1 procClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public org.jruby.runtime.Block getBlock();
descriptor: ()Lorg/jruby/runtime/Block;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
public static org.jruby.RubyProc newProc(org.jruby.Ruby, org.jruby.runtime.Block$Type);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Block$Type;)Lorg/jruby/RubyProc;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "deprecated RubyProc.newProc with no block; do not use"
invokevirtual org.jruby.Ruby.newRuntimeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 type Lorg/jruby/runtime/Block$Type;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
type
public static org.jruby.RubyProc newProc(org.jruby.Ruby, org.jruby.runtime.Block, org.jruby.runtime.Block$Type);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;)Lorg/jruby/RubyProc;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.RubyProc
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getProc:()Lorg/jruby/RubyClass;
aload 2
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;)V
astore 3
start local 3 1: aload 3
aload 1
invokevirtual org.jruby.RubyProc.setup:(Lorg/jruby/runtime/Block;)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 block Lorg/jruby/runtime/Block;
0 3 2 type Lorg/jruby/runtime/Block$Type;
1 3 3 proc Lorg/jruby/RubyProc;
MethodParameters:
Name Flags
runtime
block
type
public static org.jruby.RubyProc newProc(org.jruby.Ruby, org.jruby.runtime.Block, org.jruby.runtime.Block$Type, org.jruby.lexer.yacc.ISourcePosition);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;Lorg/jruby/lexer/yacc/ISourcePosition;)Lorg/jruby/RubyProc;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.RubyProc
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getProc:()Lorg/jruby/RubyClass;
aload 2
aload 3
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;Lorg/jruby/lexer/yacc/ISourcePosition;)V
astore 4
start local 4 1: aload 4
aload 1
invokevirtual org.jruby.RubyProc.setup:(Lorg/jruby/runtime/Block;)V
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 runtime Lorg/jruby/Ruby;
0 3 1 block Lorg/jruby/runtime/Block;
0 3 2 type Lorg/jruby/runtime/Block$Type;
0 3 3 sourcePosition Lorg/jruby/lexer/yacc/ISourcePosition;
1 3 4 proc Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
block
type
sourcePosition
public static org.jruby.RubyProc newProc(org.jruby.Ruby, org.jruby.runtime.Block, org.jruby.runtime.Block$Type, java.lang.String, int);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)Lorg/jruby/RubyProc;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.RubyProc
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getProc:()Lorg/jruby/RubyClass;
aload 2
aload 3
iload 4
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)V
astore 5
start local 5 1: aload 5
aload 1
invokevirtual org.jruby.RubyProc.setup:(Lorg/jruby/runtime/Block;)V
2: aload 5
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 runtime Lorg/jruby/Ruby;
0 3 1 block Lorg/jruby/runtime/Block;
0 3 2 type Lorg/jruby/runtime/Block$Type;
0 3 3 file Ljava/lang/String;
0 3 4 line I
1 3 5 proc Lorg/jruby/RubyProc;
MethodParameters:
Name Flags
runtime
block
type
file
line
public static org.jruby.runtime.builtin.IRubyObject newInstance(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 0
invokevirtual org.jruby.runtime.ThreadContext.getCurrentFrame:()Lorg/jruby/runtime/Frame;
invokevirtual org.jruby.runtime.Frame.getBlock:()Lorg/jruby/runtime/Block;
astore 3
1: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 3
aload 3
invokevirtual org.jruby.runtime.Block.getProcObject:()Lorg/jruby/RubyProc;
ifnull 3
aload 3
invokevirtual org.jruby.runtime.Block.getProcObject:()Lorg/jruby/RubyProc;
getfield org.jruby.RubyProc.metaClass:Lorg/jruby/RubyClass;
aload 1
if_acmpne 3
2: aload 3
invokevirtual org.jruby.runtime.Block.getProcObject:()Lorg/jruby/RubyProc;
areturn
3: StackMap locals:
StackMap stack:
new org.jruby.RubyProc
dup
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 1
checkcast org.jruby.RubyClass
getstatic org.jruby.runtime.Block$Type.PROC:Lorg/jruby/runtime/Block$Type;
invokespecial org.jruby.RubyProc.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Block$Type;)V
astore 4
start local 4 4: aload 4
aload 3
invokevirtual org.jruby.RubyProc.setup:(Lorg/jruby/runtime/Block;)V
5: aload 4
aload 0
ldc "initialize"
aload 2
aload 3
invokevirtual org.jruby.RubyProc.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 recv Lorg/jruby/runtime/builtin/IRubyObject;
0 7 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 block Lorg/jruby/runtime/Block;
4 7 4 obj Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"new"}, rest = true, meta = true)
MethodParameters:
Name Flags
context
recv
args
block
private void setup(org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/Block;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 2
1: aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
ldc "tried to create Proc object without a block"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.jruby.RubyProc.isLambda:()Z
pop
3: aload 0
invokevirtual org.jruby.RubyProc.isThread:()Z
ifeq 20
4: aload 1
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
astore 2
start local 2 5: new org.jruby.runtime.Binding
dup
6: aload 2
invokevirtual org.jruby.runtime.Binding.getSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
7: aload 2
invokevirtual org.jruby.runtime.Binding.getFrame:()Lorg/jruby/runtime/Frame;
invokevirtual org.jruby.runtime.Frame.duplicate:()Lorg/jruby/runtime/Frame;
8: aload 2
invokevirtual org.jruby.runtime.Binding.getVisibility:()Lorg/jruby/runtime/Visibility;
9: aload 2
invokevirtual org.jruby.runtime.Binding.getDynamicScope:()Lorg/jruby/runtime/DynamicScope;
10: aload 2
invokevirtual org.jruby.runtime.Binding.getMethod:()Ljava/lang/String;
11: aload 2
invokevirtual org.jruby.runtime.Binding.getFile:()Ljava/lang/String;
12: aload 2
invokevirtual org.jruby.runtime.Binding.getLine:()I
13: invokespecial org.jruby.runtime.Binding.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Frame;Lorg/jruby/runtime/Visibility;Lorg/jruby/runtime/DynamicScope;Ljava/lang/String;Ljava/lang/String;I)V
astore 3
start local 3 14: aload 0
new org.jruby.runtime.Block
dup
aload 1
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
aload 3
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
invokespecial org.jruby.runtime.Block.<init>:(Lorg/jruby/runtime/BlockBody;Lorg/jruby/runtime/Binding;Lorg/jruby/runtime/Block$Type;)V
putfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
15: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.escape:()V
16: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
invokevirtual org.jruby.runtime.BlockBody.getStaticScope:()Lorg/jruby/parser/StaticScope;
astore 4
start local 4 17: aload 4
invokevirtual org.jruby.parser.StaticScope.duplicate:()Lorg/jruby/parser/StaticScope;
astore 5
start local 5 18: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
aload 5
invokevirtual org.jruby.runtime.BlockBody.setStaticScope:(Lorg/jruby/parser/StaticScope;)V
end local 5 end local 4 end local 3 end local 2 19: goto 24
20: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 1
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
if_acmpeq 23
21: aload 0
aload 1
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
invokevirtual org.jruby.runtime.Block.cloneBlockAsType:(Lorg/jruby/runtime/Block$Type;)Lorg/jruby/runtime/Block;
putfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
22: goto 24
23: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
24: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
invokevirtual org.jruby.runtime.BlockBody.getFile:()Ljava/lang/String;
invokevirtual org.jruby.runtime.Binding.setFile:(Ljava/lang/String;)V
25: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
invokevirtual org.jruby.runtime.BlockBody.getLine:()I
invokevirtual org.jruby.runtime.Binding.setLine:(I)V
26: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
aload 0
invokevirtual org.jruby.runtime.Block.setProcObject:(Lorg/jruby/RubyProc;)V
27: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
invokevirtual org.jruby.runtime.BlockBody.getStaticScope:()Lorg/jruby/parser/StaticScope;
invokevirtual org.jruby.runtime.Binding.getDummyScope:(Lorg/jruby/parser/StaticScope;)Lorg/jruby/runtime/DynamicScope;
pop
28: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/jruby/RubyProc;
0 29 1 procBlock Lorg/jruby/runtime/Block;
5 19 2 oldBinding Lorg/jruby/runtime/Binding;
14 19 3 newBinding Lorg/jruby/runtime/Binding;
17 19 4 oldScope Lorg/jruby/parser/StaticScope;
18 19 5 newScope Lorg/jruby/parser/StaticScope;
MethodParameters:
Name Flags
procBlock
public org.jruby.runtime.builtin.IRubyObject rbClone();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.file:Ljava/lang/String;
aload 0
getfield org.jruby.RubyProc.line:I
invokestatic org.jruby.RubyProc.newProc:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)Lorg/jruby/RubyProc;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyProc;
1 2 1 newProc Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"clone"})
public org.jruby.runtime.builtin.IRubyObject dup();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.file:Ljava/lang/String;
aload 0
getfield org.jruby.RubyProc.line:I
invokestatic org.jruby.RubyProc.newProc:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;Ljava/lang/String;I)Lorg/jruby/RubyProc;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dup"})
public org.jruby.runtime.builtin.IRubyObject to_s();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
astore 1
start local 1 1: aload 1
ldc "#<"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 2
start local 2 2: aload 2
aload 1
aload 0
invokevirtual org.jruby.RubyProc.type:()Lorg/jruby/RubyClass;
invokestatic org.jruby.util.RubyStringBuilder.types:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.append:(Lorg/jruby/RubyString;)Lorg/jruby/RubyString;
pop
3: aload 2
new java.lang.StringBuilder
dup
ldc ":0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
bipush 16
invokestatic java.lang.Integer.toString:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.RubyString.catString:(Ljava/lang/String;)Lorg/jruby/RubyString;
pop
4: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
invokevirtual org.jruby.runtime.BlockBody.getFile:()Ljava/lang/String;
astore 3
start local 3 5: aload 3
ifnull 6
aload 2
new java.lang.StringBuilder
dup
ldc "@"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
invokevirtual org.jruby.runtime.BlockBody.getLine:()I
iconst_1
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.RubyString.catString:(Ljava/lang/String;)Lorg/jruby/RubyString;
pop
6: StackMap locals: org.jruby.Ruby org.jruby.RubyString java.lang.String
StackMap stack:
aload 0
invokevirtual org.jruby.RubyProc.isLambda:()Z
ifeq 7
aload 2
ldc " (lambda)"
invokevirtual org.jruby.RubyString.catString:(Ljava/lang/String;)Lorg/jruby/RubyString;
pop
7: StackMap locals:
StackMap stack:
aload 2
ldc ">"
invokevirtual org.jruby.RubyString.catString:(Ljava/lang/String;)Lorg/jruby/RubyString;
pop
8: aload 0
invokevirtual org.jruby.RubyProc.isTaint:()Z
ifeq 9
aload 2
iconst_1
invokevirtual org.jruby.RubyString.setTaint:(Z)V
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/jruby/RubyProc;
1 10 1 runtime Lorg/jruby/Ruby;
2 10 2 string Lorg/jruby/RubyString;
5 10 3 file Ljava/lang/String;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_s"}, alias = {"inspect"})
public org.jruby.runtime.builtin.IRubyObject binding();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
invokevirtual org.jruby.Ruby.newBinding:(Lorg/jruby/runtime/Binding;)Lorg/jruby/RubyBinding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"binding"})
public static org.jruby.runtime.builtin.IRubyObject[] prepareArgs(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block$Type, org.jruby.runtime.BlockBody, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 3
1: aload 2
invokevirtual org.jruby.runtime.BlockBody.getSignature:()Lorg/jruby/runtime/Signature;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.runtime.Signature.checkArity:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)V
2: aload 3
areturn
3: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.jruby.runtime.BlockBody.getSignature:()Lorg/jruby/runtime/Signature;
invokevirtual org.jruby.runtime.Signature.arityValue:()I
istore 4
start local 4 4: aload 3
arraylength
iconst_1
if_icmpne 6
iload 4
iconst_m1
if_icmplt 5
iload 4
iconst_1
if_icmple 6
StackMap locals: int
StackMap stack:
5: aload 0
aload 3
invokestatic org.jruby.ir.runtime.IRRuntimeHelpers.toAry:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 3
6: StackMap locals:
StackMap stack:
aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 context Lorg/jruby/runtime/ThreadContext;
0 7 1 type Lorg/jruby/runtime/Block$Type;
0 7 2 blockBody Lorg/jruby/runtime/BlockBody;
0 7 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
4 7 4 arityValue I
MethodParameters:
Name Flags
context
type
blockBody
args
private static org.jruby.runtime.builtin.IRubyObject[] checkArityForLambda(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block$Type, org.jruby.runtime.BlockBody, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 2
1: aload 2
invokevirtual org.jruby.runtime.BlockBody.getSignature:()Lorg/jruby/runtime/Signature;
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
invokevirtual org.jruby.runtime.Signature.checkArity:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)V
2: StackMap locals:
StackMap stack:
aload 3
areturn
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 type Lorg/jruby/runtime/Block$Type;
0 3 2 blockBody Lorg/jruby/runtime/BlockBody;
0 3 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
type
blockBody
args
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
1: aload 1
2: aload 1
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
aload 2
invokestatic org.jruby.RubyProc.prepareArgs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 3
4: invokevirtual org.jruby.runtime.Block.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 5 0 this Lorg/jruby/RubyProc;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 blockCallArg Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"call", "[]", "yield", "==="}, rest = true, omit = true)
MethodParameters:
Name Flags
context
args
blockCallArg
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
1: aload 1
2: aload 1
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
getstatic org.jruby.RubyProc.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyProc.checkArityForLambda:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 2
4: invokevirtual org.jruby.runtime.Block.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 5 0 this Lorg/jruby/RubyProc;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 blockCallArg Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"call", "[]", "yield", "==="}, omit = true)
MethodParameters:
Name Flags
context
blockCallArg
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
1: aload 1
2: aload 1
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
aload 2
iconst_0
anewarray org.jruby.runtime.builtin.IRubyObject
invokestatic org.jruby.runtime.Helpers.arrayOf:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyProc.prepareArgs:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 3
4: invokevirtual org.jruby.runtime.Block.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 5 0 this Lorg/jruby/RubyProc;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 blockCallArg Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"call", "[]", "yield", "==="}, omit = true)
MethodParameters:
Name Flags
context
arg0
blockCallArg
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, 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.RubyProc.block:Lorg/jruby/runtime/Block;
1: aload 1
2: aload 1
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
iconst_2
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokestatic org.jruby.RubyProc.checkArityForLambda:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 4
4: invokevirtual org.jruby.runtime.Block.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 5 0 this Lorg/jruby/RubyProc;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 5 4 blockCallArg Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"call", "[]", "yield", "==="}, omit = true)
MethodParameters:
Name Flags
context
arg0
arg1
blockCallArg
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=9, 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 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
1: aload 1
2: aload 1
aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
iconst_3
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
aload 4
aastore
invokestatic org.jruby.RubyProc.checkArityForLambda:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block$Type;Lorg/jruby/runtime/BlockBody;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 5
4: invokevirtual org.jruby.runtime.Block.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
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 5 0 this Lorg/jruby/RubyProc;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 arg0 Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 5 4 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
0 5 5 blockCallArg Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"call", "[]", "yield", "==="}, omit = true)
MethodParameters:
Name Flags
context
arg0
arg1
arg2
blockCallArg
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
aload 1
aload 2
invokevirtual org.jruby.runtime.Block.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)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/RubyProc;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
arg
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
aload 1
aload 2
invokevirtual org.jruby.runtime.Block.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)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/RubyProc;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: getstatic org.jruby.RubyProc.$assertionsDisabled:Z
ifne 1
aload 2
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 3
ifnull 2
aload 4
ifnonnull 4
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
astore 6
start local 6 3: goto 9
end local 6 4: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.cloneBlockAndFrame:()Lorg/jruby/runtime/Block;
astore 6
start local 6 5: aload 3
ifnull 7
6: aload 6
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
aload 3
invokevirtual org.jruby.runtime.Binding.setSelf:(Lorg/jruby/runtime/builtin/IRubyObject;)V
7: StackMap locals: org.jruby.runtime.Block
StackMap stack:
aload 4
ifnull 9
8: aload 6
invokevirtual org.jruby.runtime.Block.getFrame:()Lorg/jruby/runtime/Frame;
aload 4
invokevirtual org.jruby.runtime.Frame.setKlazz:(Lorg/jruby/RubyModule;)V
9: StackMap locals:
StackMap stack:
aload 6
aload 1
aload 2
aload 5
invokevirtual org.jruby.runtime.Block.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
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 10 0 this Lorg/jruby/RubyProc;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 10 3 self Lorg/jruby/runtime/builtin/IRubyObject;
0 10 4 sourceModule Lorg/jruby/RubyModule;
0 10 5 passedBlock Lorg/jruby/runtime/Block;
3 4 6 newBlock Lorg/jruby/runtime/Block;
5 10 6 newBlock Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
args
self
sourceModule
passedBlock
public org.jruby.RubyFixnum arity();
descriptor: ()Lorg/jruby/RubyFixnum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getSignature:()Lorg/jruby/runtime/Signature;
astore 1
start local 1 1: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
getfield org.jruby.runtime.Block.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
if_acmpne 2
aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.runtime.Signature.arityValue:()I
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
2: StackMap locals: org.jruby.runtime.Signature
StackMap stack:
aload 0
invokevirtual org.jruby.RubyProc.getRuntime:()Lorg/jruby/Ruby;
aload 1
invokevirtual org.jruby.runtime.Signature.hasRest:()Z
ifeq 3
aload 1
invokevirtual org.jruby.runtime.Signature.arityValue:()I
goto 4
StackMap locals:
StackMap stack: org.jruby.Ruby
3: aload 1
invokevirtual org.jruby.runtime.Signature.required:()I
aload 1
invokevirtual org.jruby.runtime.Signature.getRequiredKeywordForArityCount:()I
iadd
StackMap locals: org.jruby.RubyProc org.jruby.runtime.Signature
StackMap stack: org.jruby.Ruby int
4: invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyProc;
1 5 1 signature Lorg/jruby/runtime/Signature;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"arity"})
public org.jruby.RubyProc to_proc();
descriptor: ()Lorg/jruby/RubyProc;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"to_proc"})
public org.jruby.runtime.builtin.IRubyObject source_location(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyProc.file:Ljava/lang/String;
ifnull 3
2: aload 2
aload 2
aload 0
getfield org.jruby.RubyProc.file:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
aload 2
aload 0
getfield org.jruby.RubyProc.line:I
iconst_1
iadd
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
3: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
ifnull 10
4: aload 0
getfield org.jruby.RubyProc.block:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBinding:()Lorg/jruby/runtime/Binding;
astore 3
start local 3 5: aload 3
invokevirtual org.jruby.runtime.Binding.getFile:()Ljava/lang/String;
ifnull 10
6: aload 2
7: aload 2
aload 3
invokevirtual org.jruby.runtime.Binding.getFile:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
8: aload 2
aload 3
invokevirtual org.jruby.runtime.Binding.getLine:()I
iconst_1
iadd
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
9: invokevirtual org.jruby.Ruby.newArray:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
areturn
end local 3 10: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/RubyProc;
0 11 1 context Lorg/jruby/runtime/ThreadContext;
1 11 2 runtime Lorg/jruby/Ruby;
5 10 3 binding Lorg/jruby/runtime/Binding;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject parameters(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyProc.getBlock:()Lorg/jruby/runtime/Block;
invokevirtual org.jruby.runtime.Block.getBody:()Lorg/jruby/runtime/BlockBody;
astore 2
start local 2 1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
2: aload 2
invokevirtual org.jruby.runtime.BlockBody.getArgumentDescriptors:()[Lorg/jruby/runtime/ArgumentDescriptor;
aload 0
invokevirtual org.jruby.RubyProc.isLambda:()Z
3: invokestatic org.jruby.runtime.Helpers.argumentDescriptorsToParameters:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/ArgumentDescriptor;Z)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyProc;
0 4 1 context Lorg/jruby/runtime/ThreadContext;
1 4 2 body Lorg/jruby/runtime/BlockBody;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject lambda_p(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
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.RubyProc.isLambda:()Z
invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"lambda?"})
MethodParameters:
Name Flags
context
private boolean isLambda();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.LAMBDA:Lorg/jruby/runtime/Block$Type;
invokevirtual org.jruby.runtime.Block$Type.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
private boolean isThread();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyProc.type:Lorg/jruby/runtime/Block$Type;
getstatic org.jruby.runtime.Block$Type.THREAD:Lorg/jruby/runtime/Block$Type;
invokevirtual org.jruby.runtime.Block$Type.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
public final org.jruby.runtime.builtin.IRubyObject call19(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyProc.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/RubyProc;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject to_s19();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyProc.to_s:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyProc;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public final org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
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.RubyProc.block:Lorg/jruby/runtime/Block;
aload 1
aload 2
aload 4
invokevirtual org.jruby.runtime.Block.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/RubyProc;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 passedBlock Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
args
self
passedBlock
}
SourceFile: "RubyProc.java"
InnerClasses:
public final Type = org.jruby.runtime.Block$Type of org.jruby.runtime.Block
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Proc"})