class org.jruby.RubyEnumerable$33 implements org.jruby.RubyEnumerator$SizeFn
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$33
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$33 this
0: .line 1330
aload 0 /* this */
aload 1
putfield org.jruby.RubyEnumerable$33.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0 /* this */
aload 2
putfield org.jruby.RubyEnumerable$33.val$self:Lorg/jruby/runtime/builtin/IRubyObject;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.jruby.RubyEnumerable$33 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerable$33;
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=8, locals=7, args_size=2
start local 0 // org.jruby.RubyEnumerable$33 this
start local 1 // org.jruby.runtime.builtin.IRubyObject[] args
0: .line 1333
aload 0 /* this */
getfield org.jruby.RubyEnumerable$33.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 1334
getstatic org.jruby.RubyEnumerable.$assertionsDisabled:Z
ifne 3
aload 1 /* args */
ifnull 2
aload 1 /* args */
arraylength
ifle 2
aload 1 /* args */
iconst_0
aaload
instanceof org.jruby.RubyNumeric
ifne 3
StackMap locals: org.jruby.Ruby
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: .line 1335
StackMap locals:
StackMap stack:
aload 1 /* args */
iconst_0
aaload
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
lstore 3 /* sliceSize */
start local 3 // long sliceSize
4: .line 1336
lload 3 /* sliceSize */
lconst_0
lcmp
ifgt 6
5: .line 1337
aload 2 /* runtime */
ldc "invalid slice size"
invokevirtual org.jruby.Ruby.newArgumentError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: .line 1340
StackMap locals: long
StackMap stack:
aload 0 /* this */
getfield org.jruby.RubyEnumerable$33.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0 /* this */
getfield org.jruby.RubyEnumerable$33.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 5 /* size */
start local 5 // org.jruby.runtime.builtin.IRubyObject size
7: .line 1341
aload 5 /* size */
ifnull 8
aload 5 /* size */
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifeq 9
8: .line 1342
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
aload 2 /* runtime */
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
9: .line 1345
StackMap locals:
StackMap stack:
aload 5 /* size */
aload 0 /* this */
getfield org.jruby.RubyEnumerable$33.val$context:Lorg/jruby/runtime/ThreadContext;
ldc "+"
aload 2 /* runtime */
lload 3 /* sliceSize */
lconst_1
lsub
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
invokeinterface org.jruby.runtime.builtin.IRubyObject.callMethod:(Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
astore 6 /* n */
start local 6 // org.jruby.runtime.builtin.IRubyObject n
10: .line 1346
aload 6 /* n */
aload 0 /* this */
getfield org.jruby.RubyEnumerable$33.val$context:Lorg/jruby/runtime/ThreadContext;
ldc "/"
aload 2 /* runtime */
lload 3 /* sliceSize */
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
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 n
end local 5 // org.jruby.runtime.builtin.IRubyObject size
end local 3 // long sliceSize
end local 2 // org.jruby.Ruby runtime
end local 1 // org.jruby.runtime.builtin.IRubyObject[] args
end local 0 // org.jruby.RubyEnumerable$33 this
LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/jruby/RubyEnumerable$33;
0 11 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 11 2 runtime Lorg/jruby/Ruby;
4 11 3 sliceSize J
7 11 5 size Lorg/jruby/runtime/builtin/IRubyObject;
10 11 6 n Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
args
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.eachSliceSizeFn:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyEnumerator$SizeFn;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$33
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator