class org.jruby.RubyEnumerable$5 implements org.jruby.RubyEnumerator$SizeFn
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$5
super_class: java.lang.Object
{
private final org.jruby.runtime.ThreadContext val$context;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.runtime.builtin.IRubyObject val$self;
descriptor: Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.jruby.RubyEnumerable$5 this
0: .line 280
aload 0 /* this */
aload 1
putfield org.jruby.RubyEnumerable$5.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0 /* this */
aload 2
putfield org.jruby.RubyEnumerable$5.val$self:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.jruby.RubyEnumerable$5 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerable$5;
MethodParameters:
Name Flags
val$context final
val$self final
public org.jruby.runtime.builtin.IRubyObject size(org.jruby.runtime.builtin.IRubyObject[]);
descriptor: ([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 // org.jruby.RubyEnumerable$5 this
start local 1 // org.jruby.runtime.builtin.IRubyObject[] args
0: .line 283
aload 0 /* this */
getfield org.jruby.RubyEnumerable$5.val$context:Lorg/jruby/runtime/ThreadContext;
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2 /* runtime */
start local 2 // org.jruby.Ruby runtime
1: .line 284
lconst_0
lstore 3 /* mul */
start local 3 // long mul
2: .line 285
aload 2 /* runtime */
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 5 /* n */
start local 5 // org.jruby.runtime.builtin.IRubyObject n
3: .line 287
aload 1 /* args */
ifnull 6
aload 1 /* args */
arraylength
ifle 6
4: .line 288
aload 1 /* args */
iconst_0
aaload
astore 5 /* n */
5: .line 289
aload 5 /* n */
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 6
aload 5 /* n */
invokeinterface org.jruby.runtime.builtin.IRubyObject.convertToInteger:()Lorg/jruby/RubyInteger;
invokevirtual org.jruby.RubyInteger.getLongValue:()J
lstore 3 /* mul */
6: .line 292
StackMap locals: org.jruby.Ruby long org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 0 /* this */
getfield org.jruby.RubyEnumerable$5.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0 /* this */
getfield org.jruby.RubyEnumerable$5.val$self:Lorg/jruby/runtime/builtin/IRubyObject;
invokestatic org.jruby.RubyEnumerable.enumSizeFn:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
aload 1 /* args */
invokeinterface org.jruby.RubyEnumerator$SizeFn.size:([Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6 /* size */
start local 6 // org.jruby.runtime.builtin.IRubyObject size
7: .line 293
aload 6 /* size */
ifnull 8
aload 6 /* size */
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 8
aload 6 /* size */
aload 2 /* runtime */
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
8: .line 294
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 6 /* size */
areturn
9: .line 297
StackMap locals:
StackMap stack:
aload 5 /* n */
ifnull 10
aload 5 /* n */
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 11
10: .line 298
StackMap locals:
StackMap stack:
aload 2 /* runtime */
ldc Infinity
invokestatic org.jruby.RubyFloat.newFloat:(Lorg/jruby/Ruby;D)Lorg/jruby/RubyFloat;
areturn
11: .line 301
StackMap locals:
StackMap stack:
lload 3 /* mul */
lconst_0
lcmp
ifgt 13
12: .line 302
aload 2 /* runtime */
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
13: .line 305
StackMap locals:
StackMap stack:
aload 2 /* runtime */
lload 3 /* mul */
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 5 /* n */
14: .line 306
aload 6 /* size */
aload 0 /* this */
getfield org.jruby.RubyEnumerable$5.val$context:Lorg/jruby/runtime/ThreadContext;
ldc "*"
aload 5 /* n */
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 // org.jruby.runtime.builtin.IRubyObject size
end local 5 // org.jruby.runtime.builtin.IRubyObject n
end local 3 // long mul
end local 2 // org.jruby.Ruby runtime
end local 1 // org.jruby.runtime.builtin.IRubyObject[] args
end local 0 // org.jruby.RubyEnumerable$5 this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/RubyEnumerable$5;
0 15 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 15 2 runtime Lorg/jruby/Ruby;
2 15 3 mul J
3 15 5 n Lorg/jruby/runtime/builtin/IRubyObject;
7 15 6 size Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
args
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.cycleSizeFn:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$5
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator