public class org.jruby.RubyEnumerator extends org.jruby.RubyObject implements java.util.Iterator<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyEnumerator
super_class: org.jruby.RubyObject
{
public static final java.lang.String GENERATOR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "@__generator__"
public static final java.lang.String LOOKAHEAD;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "@__lookahead__"
public static final java.lang.String FEEDVALUE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "@__feedvalue__"
public static final java.lang.String OBJECT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "@__object__"
public static final java.lang.String METHOD;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "@__method__"
public static final java.lang.String ARGS;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "@__args__"
private org.jruby.runtime.builtin.IRubyObject object;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private java.lang.String method;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject[] methodArgs;
descriptor: [Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.builtin.IRubyObject size;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
private org.jruby.RubyEnumerator$SizeFn sizeFn;
descriptor: Lorg/jruby/RubyEnumerator$SizeFn;
flags: (0x0002) ACC_PRIVATE
private org.jruby.RubyEnumerator$FeedValue feedValue;
descriptor: Lorg/jruby/RubyEnumerator$FeedValue;
flags: (0x0002) ACC_PRIVATE
private static final org.jruby.runtime.ObjectAllocator ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.RubyEnumerator$1
dup
invokespecial org.jruby.RubyEnumerator$1.<init>:()V
putstatic org.jruby.RubyEnumerator.ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static void defineEnumerator(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
ldc "Enumerable"
invokevirtual org.jruby.Ruby.getModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
astore 1
start local 1 1: aload 0
ldc "Enumerator"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyEnumerator.ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 2
start local 2 2: aload 2
aload 1
invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
3: aload 2
ldc Lorg/jruby/RubyEnumerator;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
4: aload 0
aload 2
invokevirtual org.jruby.Ruby.setEnumerator:(Lorg/jruby/RubyClass;)V
5: aload 0
invokestatic org.jruby.RubyGenerator.createGeneratorClass:(Lorg/jruby/Ruby;)V
6: aload 0
invokestatic org.jruby.RubyYielder.createYielderClass:(Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
pop
7: aload 0
ldc "FeedValue"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.runtime.ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
aload 2
invokevirtual org.jruby.Ruby.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
astore 3
start local 3 8: aload 3
ldc Lorg/jruby/RubyEnumerator$FeedValue;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
9: aload 2
aload 0
ldc "FeedValue"
iconst_1
invokevirtual org.jruby.RubyClass.setConstantVisibility:(Lorg/jruby/Ruby;Ljava/lang/String;Z)V
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 runtime Lorg/jruby/Ruby;
1 11 1 Enumerable Lorg/jruby/RubyModule;
2 11 2 Enumerator Lorg/jruby/RubyClass;
8 11 3 FeedValue Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
private void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aload 1
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
invokestatic org.jruby.RubyString.newEmptyString:(Lorg/jruby/Ruby;)Lorg/jruby/RubyString;
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 type Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
type
private void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubySymbol, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyEnumerator$SizeFn);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubySymbol;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aload 1
aload 3
aload 4
aload 5
aload 6
aload 7
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: return
end local 7 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/RubyEnumerator;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 type Lorg/jruby/RubyClass;
0 3 3 object Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 method Lorg/jruby/RubySymbol;
0 3 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 6 size Lorg/jruby/runtime/builtin/IRubyObject;
0 3 7 sizeFn Lorg/jruby/RubyEnumerator$SizeFn;
MethodParameters:
Name Flags
runtime
type
object
method
args
size
sizeFn
private void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, 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
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aload 1
aload 3
aload 4
aload 5
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
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/RubyEnumerator;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 type Lorg/jruby/RubyClass;
0 3 3 object Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 method Lorg/jruby/runtime/builtin/IRubyObject;
0 3 5 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
type
object
method
args
public static org.jruby.runtime.builtin.IRubyObject enumeratorizeWithSize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject[], org.jruby.RubyEnumerator$SizeFn);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=6, 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.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 1: new org.jruby.RubyEnumerator
dup
aload 5
aload 5
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 5
aload 2
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aload 3
aconst_null
aload 4
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubySymbol;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)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 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 object Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 method Ljava/lang/String;
0 2 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 4 sizeFn Lorg/jruby/RubyEnumerator$SizeFn;
1 2 5 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
object final
method
args
sizeFn
public static org.jruby.runtime.builtin.IRubyObject enumeratorizeWithSize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.RubyEnumerator$SizeFn);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
getstatic org.jruby.RubyEnumerator.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)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 context Lorg/jruby/runtime/ThreadContext;
0 1 1 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 method Ljava/lang/String;
0 1 3 sizeFn Lorg/jruby/RubyEnumerator$SizeFn;
MethodParameters:
Name Flags
context
object
method
sizeFn
public static org.jruby.runtime.builtin.IRubyObject enumeratorizeWithSize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=6, 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.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 1: new org.jruby.RubyEnumerator
dup
aload 5
aload 5
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 5
aload 2
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
aload 4
aconst_null
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubySymbol;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)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 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 object Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 method Ljava/lang/String;
0 2 3 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 2 4 size Lorg/jruby/runtime/builtin/IRubyObject;
1 2 5 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
object
method
arg
size
public static org.jruby.runtime.builtin.IRubyObject enumeratorize(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.jruby.RubyEnumerator
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 0
aload 2
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 method Ljava/lang/String;
MethodParameters:
Name Flags
runtime
object
method
public static org.jruby.runtime.builtin.IRubyObject enumeratorize(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.RubyEnumerator
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 0
aload 2
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 method Ljava/lang/String;
0 1 3 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
object
method
arg
public static org.jruby.runtime.builtin.IRubyObject enumeratorize(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.RubyEnumerator
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 0
aload 2
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aload 3
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 2 method Ljava/lang/String;
0 1 3 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
object
method
args
public static org.jruby.runtime.builtin.IRubyObject enumeratorize(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.jruby.RubyEnumerator
dup
aload 0
aload 1
aload 2
aload 0
aload 3
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 3 end local 2 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/RubyClass;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Ljava/lang/String;
MethodParameters:
Name Flags
runtime
type
object
method
public static org.jruby.runtime.builtin.IRubyObject enumeratorize(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=10, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.RubyEnumerator
dup
aload 0
aload 1
aload 2
aload 0
aload 3
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 4
aastore
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
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 runtime Lorg/jruby/Ruby;
0 1 1 type Lorg/jruby/RubyClass;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Ljava/lang/String;
0 1 4 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
type
object
method
arg
public static org.jruby.runtime.builtin.IRubyObject enumeratorize(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.builtin.IRubyObject, java.lang.String, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.jruby.RubyEnumerator
dup
aload 0
aload 1
aload 2
aload 0
aload 3
invokevirtual org.jruby.Ruby.fastNewSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aload 4
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
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 runtime Lorg/jruby/Ruby;
0 1 1 type Lorg/jruby/RubyClass;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Ljava/lang/String;
0 1 4 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
type
object
method
args
public static org.jruby.runtime.builtin.IRubyObject __from(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=9, args_size=3
start local 0 start local 1 start local 2 0: aload 2
iconst_0
aaload
astore 3
start local 3 1: aload 2
iconst_1
aaload
astore 4
start local 4 2: aconst_null
astore 6
start local 6 3: aconst_null
astore 7
start local 7 4: aload 2
arraylength
iconst_2
if_icmple 8
5: aload 2
iconst_2
aaload
checkcast org.jruby.RubyArray
invokevirtual org.jruby.RubyArray.toJavaArrayMaybeUnsafe:()[Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 6: aload 2
arraylength
iconst_3
if_icmple 9
aload 2
iconst_3
aaload
astore 6
7: goto 9
end local 5 8: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject top org.jruby.runtime.builtin.IRubyObject org.jruby.RubyEnumerator$SizeFn
StackMap stack:
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 9: StackMap locals: org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.builtin.IRubyObject org.jruby.RubyEnumerator$SizeFn
StackMap stack:
aload 1
checkcast org.jruby.RubyClass
invokevirtual org.jruby.RubyClass.allocate:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyEnumerator
astore 8
start local 8 10: aload 6
ifnonnull 17
11: aload 3
instanceof org.jruby.RubyEnumerator
ifeq 16
12: aload 3
checkcast org.jruby.RubyEnumerator
getfield org.jruby.RubyEnumerator.size:Lorg/jruby/runtime/builtin/IRubyObject;
astore 6
13: aload 6
ifnull 14
aload 6
ldc "call"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 14
aconst_null
astore 6
14: StackMap locals: org.jruby.RubyEnumerator
StackMap stack:
aload 3
checkcast org.jruby.RubyEnumerator
getfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
astore 7
15: goto 17
16: StackMap locals:
StackMap stack:
aload 0
aload 3
invokestatic org.jruby.RubyEnumerable.enumSizeFn:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
astore 7
17: StackMap locals:
StackMap stack:
aload 8
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 3
aload 4
aload 5
aload 6
aload 7
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
18: aload 8
ldc "@receiver"
aload 3
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
19: aload 8
ldc "@method"
aload 4
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
20: aload 8
ldc "@args"
aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 5
invokestatic org.jruby.RubyArray.newArrayNoCopyLight:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
21: aload 8
areturn
end local 8 end local 7 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 22 0 context Lorg/jruby/runtime/ThreadContext;
0 22 1 klass Lorg/jruby/runtime/builtin/IRubyObject;
0 22 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 22 3 object Lorg/jruby/runtime/builtin/IRubyObject;
2 22 4 method Lorg/jruby/runtime/builtin/IRubyObject;
6 8 5 methodArgs [Lorg/jruby/runtime/builtin/IRubyObject;
9 22 5 methodArgs [Lorg/jruby/runtime/builtin/IRubyObject;
3 22 6 size Lorg/jruby/runtime/builtin/IRubyObject;
4 22 7 sizeFn Lorg/jruby/RubyEnumerator$SizeFn;
10 22 8 instance Lorg/jruby/RubyEnumerator;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"__from"}, meta = true, required = 2, optional = 2, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
klass
args
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject initialize(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
aload 1
getstatic org.jruby.RubyEnumerator.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 2
invokevirtual org.jruby.RubyEnumerator.initialize:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject initialize(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: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
aload 3
invokevirtual org.jruby.RubyEnumerator.initialize:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
object
block
public org.jruby.runtime.builtin.IRubyObject initialize(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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: aload 4
ldc "each"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
astore 6
start local 6 2: aconst_null
astore 7
start local 7 3: aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 14
4: aload 4
aload 2
iconst_0
iconst_1
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
pop
5: aload 2
arraylength
ifle 12
6: aload 2
iconst_0
aaload
astore 7
7: aload 2
iconst_1
aload 2
arraylength
iconst_1
isub
invokestatic org.jruby.util.ArraySupport.newCopy:([Lorg/jruby/runtime/builtin/IRubyObject;II)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
8: aload 7
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 12
aload 7
ldc "call"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 12
9: aload 7
instanceof org.jruby.RubyFloat
ifeq 10
aload 7
checkcast org.jruby.RubyFloat
getfield org.jruby.RubyFloat.value:D
ldc Infinity
dcmpl
ifeq 12
10: StackMap locals: org.jruby.RubyEnumerator org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby top org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 7
instanceof org.jruby.RubyInteger
ifne 12
11: aload 4
aload 7
aload 4
invokevirtual org.jruby.Ruby.getInteger:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
athrow
12: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.jruby.Ruby.getGenerator:()Lorg/jruby/RubyClass;
aload 1
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 3
invokevirtual org.jruby.RubyClass.newInstance:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 5
start local 5 13: goto 21
end local 5 14: StackMap locals:
StackMap stack:
aload 4
aload 2
iconst_1
iconst_m1
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
pop
15: aload 4
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
ldc "Enumerator.new without a block is deprecated; use Object#to_enum"
invokevirtual org.jruby.common.RubyWarnings.warn:(Ljava/lang/String;)V
16: aload 2
iconst_0
aaload
astore 5
start local 5 17: aload 2
iconst_1
aload 2
arraylength
iconst_1
isub
invokestatic org.jruby.util.ArraySupport.newCopy:([Lorg/jruby/runtime/builtin/IRubyObject;II)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
18: aload 2
arraylength
ifle 21
19: aload 2
iconst_0
aaload
astore 6
20: aload 2
iconst_1
aload 2
arraylength
iconst_1
isub
invokestatic org.jruby.util.ArraySupport.newCopy:([Lorg/jruby/runtime/builtin/IRubyObject;II)[Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
21: StackMap locals: org.jruby.RubyEnumerator org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject[] org.jruby.runtime.Block org.jruby.Ruby org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0
aload 4
aload 5
aload 6
aload 2
aload 7
aconst_null
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 7 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 22 0 this Lorg/jruby/RubyEnumerator;
0 22 1 context Lorg/jruby/runtime/ThreadContext;
0 22 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 22 3 block Lorg/jruby/runtime/Block;
1 22 4 runtime Lorg/jruby/Ruby;
13 14 5 object Lorg/jruby/runtime/builtin/IRubyObject;
17 22 5 object Lorg/jruby/runtime/builtin/IRubyObject;
2 22 6 method Lorg/jruby/runtime/builtin/IRubyObject;
3 22 7 size Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;, rest = true)
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject initialize(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: (0x0001) ACC_PUBLIC
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 4
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_2
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
aload 3
getstatic org.jruby.RubyEnumerator.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)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 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
object
method
block
public org.jruby.runtime.builtin.IRubyObject initialize(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: (0x0001) ACC_PUBLIC
Code:
stack=8, 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 5
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 2
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
iconst_3
iconst_1
invokevirtual org.jruby.Ruby.newArgumentError:(II)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 2
aload 3
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 4
aastore
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)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 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 3 4 methodArg Lorg/jruby/runtime/builtin/IRubyObject;
0 3 5 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
object
method
methodArg
block
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
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
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyEnumerator.initialize:(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;
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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 methodArg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
object
method
methodArg
public org.jruby.runtime.builtin.IRubyObject initialize(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: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyEnumerator.initialize:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)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 0
aload 1
aload 2
aload 3
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
object
method
public org.jruby.runtime.builtin.IRubyObject initialize19(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/runtime/ThreadContext;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject initialize20(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/runtime/ThreadContext;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
block
public org.jruby.runtime.builtin.IRubyObject initialize20(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: (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
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyEnumerator.initialize:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
object
block
public org.jruby.runtime.builtin.IRubyObject initialize20(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: (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
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyEnumerator.initialize:(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/RubyEnumerator;
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 initialize19(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: (0x0001) ACC_PUBLIC
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
aload 3
aload 4
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
object
method
block
public org.jruby.runtime.builtin.IRubyObject initialize19(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: (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
aload 4
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokevirtual org.jruby.RubyEnumerator.initialize:(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;
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 1 0 this Lorg/jruby/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 methodArg Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
object
method
methodArg
block
public org.jruby.runtime.builtin.IRubyObject initialize20(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: (0x0001) ACC_PUBLIC
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
aload 3
aload 4
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
object
method
block
public org.jruby.runtime.builtin.IRubyObject initialize20(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: (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
aload 4
aload 5
invokevirtual org.jruby.RubyEnumerator.initialize:(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;
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 1 0 this Lorg/jruby/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 methodArg Lorg/jruby/runtime/builtin/IRubyObject;
0 1 5 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
object
method
methodArg
block
public org.jruby.runtime.builtin.IRubyObject initialize19(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: (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
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyEnumerator.initialize:(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/RubyEnumerator;
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
private org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, 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
aconst_null
aconst_null
invokevirtual org.jruby.RubyEnumerator.initialize:(Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)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/RubyEnumerator;
0 1 1 runtime Lorg/jruby/Ruby;
0 1 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 1 4 methodArgs [Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
object
method
methodArgs
private org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyEnumerator$SizeFn);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 2
putfield org.jruby.RubyEnumerator.object:Lorg/jruby/runtime/builtin/IRubyObject;
1: aload 0
aload 3
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
putfield org.jruby.RubyEnumerator.method:Ljava/lang/String;
2: aload 0
aload 4
putfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
3: aload 0
aload 5
putfield org.jruby.RubyEnumerator.size:Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 0
aload 6
putfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
5: aload 0
ldc "@__object__"
aload 2
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
6: aload 0
ldc "@__method__"
aload 3
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
7: aload 0
ldc "@__args__"
aload 1
aload 4
invokestatic org.jruby.RubyArray.newArrayMayCopy:(Lorg/jruby/Ruby;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
8: aload 0
ldc "@__generator__"
aload 1
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
9: aload 0
ldc "@__lookahead__"
aload 1
iconst_4
invokestatic org.jruby.RubyArray.newArray:(Lorg/jruby/Ruby;I)Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
10: aload 0
ldc "@__feedvalue__"
aload 0
new org.jruby.RubyEnumerator$FeedValue
dup
aload 1
invokespecial org.jruby.RubyEnumerator$FeedValue.<init>:(Lorg/jruby/Ruby;)V
dup_x1
putfield org.jruby.RubyEnumerator.feedValue:Lorg/jruby/RubyEnumerator$FeedValue;
invokevirtual org.jruby.RubyEnumerator.setInstanceVariable:(Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
11: aload 0
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 12 0 this Lorg/jruby/RubyEnumerator;
0 12 1 runtime Lorg/jruby/Ruby;
0 12 2 object Lorg/jruby/runtime/builtin/IRubyObject;
0 12 3 method Lorg/jruby/runtime/builtin/IRubyObject;
0 12 4 methodArgs [Lorg/jruby/runtime/builtin/IRubyObject;
0 12 5 size Lorg/jruby/runtime/builtin/IRubyObject;
0 12 6 sizeFn Lorg/jruby/RubyEnumerator$SizeFn;
MethodParameters:
Name Flags
runtime
object
method
methodArgs
size
sizeFn
public org.jruby.runtime.builtin.IRubyObject dup();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial org.jruby.RubyObject.dup:()Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyEnumerator
astore 1
start local 1 1: aload 1
aload 0
getfield org.jruby.RubyEnumerator.object:Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.RubyEnumerator.object:Lorg/jruby/runtime/builtin/IRubyObject;
2: aload 1
aload 0
getfield org.jruby.RubyEnumerator.method:Ljava/lang/String;
putfield org.jruby.RubyEnumerator.method:Ljava/lang/String;
3: aload 1
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
4: aload 1
aload 0
getfield org.jruby.RubyEnumerator.size:Lorg/jruby/runtime/builtin/IRubyObject;
putfield org.jruby.RubyEnumerator.size:Lorg/jruby/runtime/builtin/IRubyObject;
5: aload 1
aload 0
getfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
putfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
6: aload 1
new org.jruby.RubyEnumerator$FeedValue
dup
aload 0
invokevirtual org.jruby.RubyEnumerator.getRuntime:()Lorg/jruby/Ruby;
invokespecial org.jruby.RubyEnumerator$FeedValue.<init>:(Lorg/jruby/Ruby;)V
putfield org.jruby.RubyEnumerator.feedValue:Lorg/jruby/RubyEnumerator$FeedValue;
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/RubyEnumerator;
1 8 1 copy Lorg/jruby/RubyEnumerator;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"dup"})
public org.jruby.runtime.builtin.IRubyObject each(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 1
aload 0
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyEnumerator.__each__:(Lorg/jruby/runtime/ThreadContext;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 2 0 this Lorg/jruby/RubyEnumerator;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block
private org.jruby.runtime.builtin.IRubyObject __each__(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=11, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyEnumerator.object:Lorg/jruby/runtime/builtin/IRubyObject;
aload 1
aload 0
getfield org.jruby.RubyEnumerator.method:Ljava/lang/String;
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
1: aload 1
aload 0
getstatic org.jruby.runtime.Signature.OPTIONAL:Lorg/jruby/runtime/Signature;
new org.jruby.RubyEnumerator$2
dup
aload 0
aload 2
invokespecial org.jruby.RubyEnumerator$2.<init>:(Lorg/jruby/RubyEnumerator;Lorg/jruby/runtime/Block;)V
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;
2: invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;[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 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
block final
public org.jruby.runtime.builtin.IRubyObject each(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: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
arraylength
ifne 1
aload 0
aload 1
aload 3
invokevirtual org.jruby.RubyEnumerator.each:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
arraylength
istore 4
start local 4 2: iload 4
aload 2
arraylength
iadd
anewarray org.jruby.runtime.builtin.IRubyObject
astore 5
start local 5 3: aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
aload 5
iconst_0
iload 4
invokestatic org.jruby.util.ArraySupport.copy:([Ljava/lang/Object;[Ljava/lang/Object;II)V
4: aload 2
aload 5
iload 4
aload 2
arraylength
invokestatic org.jruby.util.ArraySupport.copy:([Ljava/lang/Object;[Ljava/lang/Object;II)V
5: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6
start local 6 6: new org.jruby.RubyEnumerator
dup
aload 6
aload 0
invokevirtual org.jruby.RubyEnumerator.getType:()Lorg/jruby/RubyClass;
aload 0
getfield org.jruby.RubyEnumerator.object:Lorg/jruby/runtime/builtin/IRubyObject;
aload 6
aload 0
getfield org.jruby.RubyEnumerator.method:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
aload 5
aload 0
getfield org.jruby.RubyEnumerator.size:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0
getfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubySymbol;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)V
aload 1
aload 3
invokevirtual org.jruby.RubyEnumerator.each:(Lorg/jruby/runtime/ThreadContext;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 7 0 this Lorg/jruby/RubyEnumerator;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 block Lorg/jruby/runtime/Block;
2 7 4 mlen I
3 7 5 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
6 7 6 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true)
MethodParameters:
Name Flags
context
args
block
public org.jruby.runtime.builtin.IRubyObject inspect19(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, 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 2
aload 0
invokevirtual org.jruby.Ruby.isInspecting:(Ljava/lang/Object;)Z
ifeq 2
aload 0
aload 1
iconst_1
invokevirtual org.jruby.RubyEnumerator.inspect:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals: org.jruby.Ruby
StackMap stack:
aload 2
aload 0
invokevirtual org.jruby.Ruby.registerInspecting:(Ljava/lang/Object;)V
3: aload 0
aload 1
iconst_0
invokevirtual org.jruby.RubyEnumerator.inspect:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/runtime/builtin/IRubyObject;
astore 4
4: aload 2
aload 0
invokevirtual org.jruby.Ruby.unregisterInspecting:(Ljava/lang/Object;)V
5: aload 4
areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
astore 3
7: aload 2
aload 0
invokevirtual org.jruby.Ruby.unregisterInspecting:(Ljava/lang/Object;)V
8: aload 3
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyEnumerator;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
1 9 2 runtime Lorg/jruby/Ruby;
Exception table:
from to target type
2 4 6 any
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"inspect"})
MethodParameters:
Name Flags
context
private org.jruby.runtime.builtin.IRubyObject inspect(org.jruby.runtime.ThreadContext, boolean);
descriptor: (Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: new org.jruby.util.ByteList
dup
invokespecial org.jruby.util.ByteList.<init>:()V
astore 4
start local 4 2: aload 4
bipush 35
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
bipush 60
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
3: aload 4
aload 0
invokevirtual org.jruby.RubyEnumerator.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.jruby.util.ByteList.append:([B)V
4: aload 4
bipush 58
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
bipush 32
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
5: iload 2
ifeq 8
6: aload 4
ldc "...>"
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.jruby.util.ByteList.append:([B)V
7: aload 3
aload 4
invokestatic org.jruby.RubyString.newStringNoCopy:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
aload 1
invokevirtual org.jruby.RubyString.taint:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
8: StackMap locals: org.jruby.Ruby org.jruby.util.ByteList
StackMap stack:
aload 0
invokevirtual org.jruby.RubyEnumerator.isTaint:()Z
istore 5
start local 5 9: aload 4
aload 1
aload 0
getfield org.jruby.RubyEnumerator.object:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyObject.inspect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.append:(Lorg/jruby/util/ByteList;)V
10: aload 4
bipush 58
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
11: aload 4
aload 0
getfield org.jruby.RubyEnumerator.method:Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
invokevirtual org.jruby.util.ByteList.append:([B)V
12: aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
arraylength
ifle 24
13: aload 4
bipush 40
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
14: iconst_0
istore 6
start local 6 15: goto 23
16: StackMap locals: int int
StackMap stack:
aload 4
aload 1
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
iload 6
aaload
invokestatic org.jruby.RubyObject.inspect:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.getByteList:()Lorg/jruby/util/ByteList;
invokevirtual org.jruby.util.ByteList.append:(Lorg/jruby/util/ByteList;)V
17: iload 6
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
arraylength
iconst_1
isub
if_icmpge 20
18: aload 4
bipush 44
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
bipush 32
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
19: goto 21
20: StackMap locals:
StackMap stack:
aload 4
bipush 41
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
21: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
iload 6
aaload
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTaint:()Z
ifeq 22
iconst_1
istore 5
22: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
23: iload 6
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
arraylength
if_icmplt 16
end local 6 24: StackMap locals:
StackMap stack:
aload 4
bipush 62
invokevirtual org.jruby.util.ByteList.append:(B)Lorg/jruby/util/ByteList;
pop
25: aload 3
aload 4
invokestatic org.jruby.RubyString.newStringNoCopy:(Lorg/jruby/Ruby;Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
astore 6
start local 6 26: iload 5
ifeq 27
aload 6
iconst_1
invokevirtual org.jruby.RubyString.setTaint:(Z)V
27: StackMap locals: org.jruby.RubyString
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 28 0 this Lorg/jruby/RubyEnumerator;
0 28 1 context Lorg/jruby/runtime/ThreadContext;
0 28 2 recurse Z
1 28 3 runtime Lorg/jruby/Ruby;
2 28 4 bytes Lorg/jruby/util/ByteList;
9 28 5 tainted Z
15 24 6 i I
26 28 6 result Lorg/jruby/RubyString;
MethodParameters:
Name Flags
context
recurse
protected static org.jruby.runtime.builtin.IRubyObject newEnumerator(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: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: new org.jruby.RubyEnumerator
dup
aload 2
aload 2
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 2
ldc "each"
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 2 2 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
arg
protected static org.jruby.runtime.builtin.IRubyObject newEnumerator(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 3
start local 3 1: new org.jruby.RubyEnumerator
dup
aload 3
aload 3
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 2
getstatic org.jruby.runtime.builtin.IRubyObject.NULL_ARRAY:[Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
1 2 3 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
arg1
arg2
protected static org.jruby.runtime.builtin.IRubyObject newEnumerator(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=10, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 4
start local 4 1: new org.jruby.RubyEnumerator
dup
aload 4
aload 4
invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
aload 1
aload 2
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 3
aastore
invokespecial org.jruby.RubyEnumerator.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 context Lorg/jruby/runtime/ThreadContext;
0 2 1 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
0 2 2 arg2 Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 arg3 Lorg/jruby/runtime/builtin/IRubyObject;
1 2 4 runtime Lorg/jruby/Ruby;
MethodParameters:
Name Flags
context
arg1
arg2
arg3
public org.jruby.runtime.builtin.IRubyObject each_with_object(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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, 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
ifeq 1
aload 1
aload 0
aload 3
aload 2
invokestatic org.jruby.RubyEnumerable.each_with_objectCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
1: StackMap locals:
StackMap stack:
aload 1
aload 0
ldc "each_with_object"
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
aload 0
aload 1
invokevirtual org.jruby.RubyEnumerator.enumSizeFn:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyEnumerator$SizeFn;
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
2: StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(required = 1)
MethodParameters:
Name Flags
context final
arg
block
public org.jruby.runtime.builtin.IRubyObject with_object(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: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, 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
ifeq 1
aload 1
aload 0
aload 3
aload 2
invokestatic org.jruby.RubyEnumerable.each_with_objectCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 0
ldc "with_object"
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 2
aastore
aload 0
aload 1
invokevirtual org.jruby.RubyEnumerator.enumSizeFn:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyEnumerator$SizeFn;
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
arg final
block final
public org.jruby.runtime.builtin.IRubyObject each_entry(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: (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 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 1
aload 1
aload 0
aload 2
aload 3
invokestatic org.jruby.RubyEnumerable.each_entryCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyEnumerator.getType:()Lorg/jruby/RubyClass;
aload 0
ldc "each_entry"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
2: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyEnumerator;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 3 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(rest = true)
MethodParameters:
Name Flags
context
args final
block final
public org.jruby.runtime.builtin.IRubyObject each_slice19(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: (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
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyEnumerator.each_slice:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
arg
block final
public org.jruby.runtime.builtin.IRubyObject each_slice(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: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
l2i
istore 4
start local 4 1: iload 4
ifgt 2
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "invalid size"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: int
StackMap stack:
aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 3
aload 1
aload 0
iload 4
aload 3
invokestatic org.jruby.RubyEnumerable.each_sliceCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 4
3: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyEnumerator.getType:()Lorg/jruby/RubyClass;
aload 0
ldc "each_slice"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: StackMap locals:
StackMap stack: org.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/RubyEnumerator;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 block Lorg/jruby/runtime/Block;
1 5 4 size I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"each_slice"})
MethodParameters:
Name Flags
context
arg
block final
public org.jruby.runtime.builtin.IRubyObject each_cons19(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: (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
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyEnumerator.each_cons:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
arg
block final
public org.jruby.runtime.builtin.IRubyObject each_cons(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: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokestatic org.jruby.RubyNumeric.num2long:(Lorg/jruby/runtime/builtin/IRubyObject;)J
l2i
istore 4
start local 4 1: iload 4
ifgt 2
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
ldc "invalid size"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: StackMap locals: int
StackMap stack:
aload 3
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifeq 3
aload 1
aload 0
iload 4
aload 3
invokestatic org.jruby.RubyEnumerable.each_consCommon:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;ILorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 4
3: StackMap locals:
StackMap stack:
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 0
invokevirtual org.jruby.RubyEnumerator.getType:()Lorg/jruby/RubyClass;
aload 0
ldc "each_cons"
aload 2
invokestatic org.jruby.RubyEnumerator.enumeratorize:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
4: StackMap locals:
StackMap stack: org.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/RubyEnumerator;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 5 3 block Lorg/jruby/runtime/Block;
1 5 4 size I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"each_cons"})
MethodParameters:
Name Flags
context
arg
block final
public final org.jruby.runtime.builtin.IRubyObject size(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
ifnull 2
1: aload 0
getfield org.jruby.RubyEnumerator.sizeFn:Lorg/jruby/RubyEnumerator$SizeFn;
aload 0
getfield org.jruby.RubyEnumerator.methodArgs:[Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.RubyEnumerator$SizeFn.size:([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerator.size:Lorg/jruby/runtime/builtin/IRubyObject;
astore 2
start local 2 3: aload 2
ifnull 8
4: aload 2
ldc "call"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifeq 7
5: aload 1
ifnonnull 6
aload 0
getfield org.jruby.RubyEnumerator.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 1
6: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2
aload 1
ldc "call"
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
7: StackMap locals:
StackMap stack:
aload 2
areturn
8: StackMap locals:
StackMap stack:
aload 1
ifnonnull 9
aload 0
getfield org.jruby.RubyEnumerator.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 1
9: 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 10 0 this Lorg/jruby/RubyEnumerator;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
3 10 2 size Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public long size();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.jruby.RubyEnumerator.size:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 1
start local 1 1: aload 1
instanceof org.jruby.RubyNumeric
ifeq 3
2: aload 1
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
lreturn
3: StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
ldc -1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyEnumerator;
1 4 1 size Lorg/jruby/runtime/builtin/IRubyObject;
private org.jruby.RubyEnumerator$SizeFn enumSizeFn(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyEnumerator$SizeFn;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
astore 2
start local 2 1: new org.jruby.RubyEnumerator$3
dup
aload 0
aload 2
aload 1
invokespecial org.jruby.RubyEnumerator$3.<init>:(Lorg/jruby/RubyEnumerator;Lorg/jruby/RubyEnumerator;Lorg/jruby/runtime/ThreadContext;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyEnumerator;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
1 2 2 self Lorg/jruby/RubyEnumerator;
MethodParameters:
Name Flags
context final
private org.jruby.runtime.builtin.IRubyObject with_index_common(org.jruby.runtime.ThreadContext, org.jruby.runtime.Block, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 5
start local 5 1: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 2
iconst_0
goto 3
StackMap locals: org.jruby.Ruby
StackMap stack:
2: aload 4
invokestatic org.jruby.RubyNumeric.num2int:(Lorg/jruby/runtime/builtin/IRubyObject;)I
StackMap locals:
StackMap stack: int
3: istore 6
start local 6 4: aload 2
invokevirtual org.jruby.runtime.Block.isGiven:()Z
ifne 9
5: aload 4
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 7
6: aload 1
aload 0
aload 3
aload 0
aload 1
invokevirtual org.jruby.RubyEnumerator.enumSizeFn:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyEnumerator$SizeFn;
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
goto 8
7: StackMap locals: int
StackMap stack:
aload 1
aload 0
aload 3
iconst_1
anewarray org.jruby.runtime.builtin.IRubyObject
dup
iconst_0
aload 5
iload 6
invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
aastore
aload 0
aload 1
invokevirtual org.jruby.RubyEnumerator.enumSizeFn:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyEnumerator$SizeFn;
invokestatic org.jruby.RubyEnumerator.enumeratorizeWithSize:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyEnumerator$SizeFn;)Lorg/jruby/runtime/builtin/IRubyObject;
8: StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
areturn
9: StackMap locals:
StackMap stack:
aload 5
aload 1
aload 0
new org.jruby.RubyEnumerable$EachWithIndex
dup
aload 2
iload 6
invokespecial org.jruby.RubyEnumerable$EachWithIndex.<init>:(Lorg/jruby/runtime/Block;I)V
invokestatic org.jruby.RubyEnumerable.callEach:(Lorg/jruby/Ruby;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/BlockCallback;)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/RubyEnumerator;
0 10 1 context Lorg/jruby/runtime/ThreadContext;
0 10 2 block Lorg/jruby/runtime/Block;
0 10 3 rubyMethodName Ljava/lang/String;
0 10 4 arg Lorg/jruby/runtime/builtin/IRubyObject;
1 10 5 runtime Lorg/jruby/Ruby;
4 10 6 index I
MethodParameters:
Name Flags
context
block final
rubyMethodName final
arg
public org.jruby.runtime.builtin.IRubyObject each_with_index(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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc "each_with_index"
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyEnumerator.with_index_common:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Ljava/lang/String;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
block final
public org.jruby.runtime.builtin.IRubyObject with_index(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=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
ldc "with_index"
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.RubyEnumerator.with_index_common:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Ljava/lang/String;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"with_index"})
MethodParameters:
Name Flags
context
block final
public org.jruby.runtime.builtin.IRubyObject with_index19(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=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.jruby.RubyEnumerator.with_index:(Lorg/jruby/runtime/ThreadContext;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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
block final
public org.jruby.runtime.builtin.IRubyObject with_index(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: (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 0
aload 1
aload 3
ldc "with_index"
aload 2
invokevirtual org.jruby.RubyEnumerator.with_index_common:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"with_index"})
MethodParameters:
Name Flags
context
arg
block final
public org.jruby.runtime.builtin.IRubyObject with_index19(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: (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
aload 1
aload 2
aload 3
invokevirtual org.jruby.RubyEnumerator.with_index:(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/RubyEnumerator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 arg Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 block Lorg/jruby/runtime/Block;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
context
arg
block final
public synchronized boolean hasNext();
descriptor: ()Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyEnumerator.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 1
start local 1 1: aload 1
invokestatic org.jruby.RubyEnumerator.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$FiberSites;
getfield org.jruby.runtime.JavaSites$FiberSites.peek:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
aload 0
aload 0
invokevirtual org.jruby.runtime.callsite.CachingCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
pop
2: iconst_1
ireturn
3: StackMap locals: org.jruby.RubyEnumerator org.jruby.runtime.ThreadContext
StackMap stack: org.jruby.exceptions.StopIteration
pop
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/RubyEnumerator;
1 5 1 context Lorg/jruby/runtime/ThreadContext;
Exception table:
from to target type
1 2 3 Class org.jruby.exceptions.StopIteration
private org.jruby.runtime.builtin.IRubyObject getGenerator();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "@__generator__"
invokevirtual org.jruby.RubyEnumerator.getInstanceVariable:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyEnumerator.metaClass:Lorg/jruby/RubyClass;
getfield org.jruby.RubyClass.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
astore 1
start local 1 1: aload 1
invokestatic org.jruby.RubyEnumerator.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$FiberSites;
getfield org.jruby.runtime.JavaSites$FiberSites.next:Lorg/jruby/runtime/callsite/CachingCallSite;
aload 1
aload 0
aload 0
invokevirtual org.jruby.runtime.callsite.CachingCallSite.call:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
ldc Ljava/lang/Object;
invokeinterface org.jruby.runtime.builtin.IRubyObject.toJava:(Ljava/lang/Class;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyEnumerator;
1 2 1 context Lorg/jruby/runtime/ThreadContext;
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerator;
public java.util.stream.Stream<java.lang.Object> stream();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.jruby.RubyEnumerator.stream:(Z)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerator;
Signature: ()Ljava/util/stream/Stream<Ljava/lang/Object;>;
public java.util.stream.Stream<java.lang.Object> stream(boolean);
descriptor: (Z)Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.jruby.RubyEnumerator.spliterator:()Ljava/util/Spliterator;
iload 1
invokestatic java.util.stream.StreamSupport.stream:(Ljava/util/Spliterator;Z)Ljava/util/stream/Stream;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerator;
0 1 1 parallel Z
Signature: (Z)Ljava/util/stream/Stream<Ljava/lang/Object;>;
MethodParameters:
Name Flags
parallel final
public java.util.Spliterator<java.lang.Object> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.RubyEnumerator.size:()J
lstore 1
start local 1 1: sipush 1024
istore 3
start local 3 2: lload 1
lconst_0
lcmp
iflt 3
iload 3
bipush 64
ior
istore 3
3: StackMap locals: long int
StackMap stack:
aload 0
lload 1
iload 3
invokestatic java.util.Spliterators.spliterator:(Ljava/util/Iterator;JI)Ljava/util/Spliterator;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyEnumerator;
1 4 1 size J
2 4 3 mod I
Signature: ()Ljava/util/Spliterator<Ljava/lang/Object;>;
public java.util.Spliterator<java.lang.Object> spliterator(int);
descriptor: (I)Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.jruby.RubyEnumerator.size:()J
iload 1
invokestatic java.util.Spliterators.spliterator:(Ljava/util/Iterator;JI)Ljava/util/Spliterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerator;
0 1 1 mod I
Signature: (I)Ljava/util/Spliterator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
mod final
private static org.jruby.runtime.JavaSites$FiberSites sites(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$FiberSites;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.ThreadContext.sites:Lorg/jruby/runtime/JavaSites;
getfield org.jruby.runtime.JavaSites.Fiber:Lorg/jruby/runtime/JavaSites$FiberSites;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 context Lorg/jruby/runtime/ThreadContext;
MethodParameters:
Name Flags
context
}
Signature: Lorg/jruby/RubyObject;Ljava/util/Iterator<Ljava/lang/Object;>;
SourceFile: "RubyEnumerator.java"
NestMembers:
org.jruby.RubyEnumerator$1 org.jruby.RubyEnumerator$2 org.jruby.RubyEnumerator$3 org.jruby.RubyEnumerator$FeedValue org.jruby.RubyEnumerator$SizeFn
InnerClasses:
EachWithIndex = org.jruby.RubyEnumerable$EachWithIndex of org.jruby.RubyEnumerable
org.jruby.RubyEnumerator$1
org.jruby.RubyEnumerator$2
org.jruby.RubyEnumerator$3
public FeedValue = org.jruby.RubyEnumerator$FeedValue of org.jruby.RubyEnumerator
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator
public FiberSites = org.jruby.runtime.JavaSites$FiberSites of org.jruby.runtime.JavaSites
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyModule(name = {"Enumerator"}, include = {"Enumerable"})