class org.jruby.RubyArray$10 implements org.jruby.RubyEnumerator$SizeFn
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyArray$10
super_class: java.lang.Object
{
org.jruby.runtime.CallSite op_exp;
descriptor: Lorg/jruby/runtime/CallSite;
flags: (0x0000)
final org.jruby.RubyArray this$0;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.RubyArray val$self;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.Ruby val$runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.runtime.ThreadContext val$context;
descriptor: Lorg/jruby/runtime/ThreadContext;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.RubyArray, org.jruby.runtime.ThreadContext, org.jruby.RubyArray, org.jruby.Ruby);
descriptor: (Lorg/jruby/RubyArray;Lorg/jruby/runtime/ThreadContext;Lorg/jruby/RubyArray;Lorg/jruby/Ruby;)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 0: aload 0
aload 1
putfield org.jruby.RubyArray$10.this$0:Lorg/jruby/RubyArray;
aload 0
aload 2
putfield org.jruby.RubyArray$10.val$context:Lorg/jruby/runtime/ThreadContext;
aload 0
aload 3
putfield org.jruby.RubyArray$10.val$self:Lorg/jruby/RubyArray;
aload 0
aload 4
putfield org.jruby.RubyArray$10.val$runtime:Lorg/jruby/Ruby;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
invokestatic org.jruby.RubyArray.sites:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/JavaSites$ArraySites;
getfield org.jruby.runtime.JavaSites$ArraySites.op_exp:Lorg/jruby/runtime/CallSite;
putfield org.jruby.RubyArray$10.op_exp:Lorg/jruby/runtime/CallSite;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyArray$10;
MethodParameters:
Name Flags
this$0 final
val$context final
val$self final
val$runtime 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=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyArray$10.val$self:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.length:()Lorg/jruby/RubyFixnum;
astore 2
start local 2 1: getstatic org.jruby.RubyArray.$assertionsDisabled:Z
ifne 3
aload 1
ifnull 2
aload 1
arraylength
ifle 2
aload 1
iconst_0
aaload
instanceof org.jruby.RubyNumeric
ifne 3
StackMap locals: org.jruby.RubyFixnum
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
lstore 3
start local 3 4: lload 3
lconst_0
lcmp
ifge 6
5: aload 0
getfield org.jruby.RubyArray$10.val$runtime:Lorg/jruby/Ruby;
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
6: StackMap locals: long
StackMap stack:
aload 0
getfield org.jruby.RubyArray$10.val$runtime:Lorg/jruby/Ruby;
lload 3
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 5
start local 5 7: aload 0
getfield org.jruby.RubyArray$10.op_exp:Lorg/jruby/runtime/CallSite;
aload 0
getfield org.jruby.RubyArray$10.val$context:Lorg/jruby/runtime/ThreadContext;
aload 2
aload 2
aload 5
invokevirtual org.jruby.runtime.CallSite.call:(Lorg/jruby/runtime/ThreadContext;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 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/RubyArray$10;
0 8 1 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 2 n Lorg/jruby/RubyFixnum;
4 8 3 k J
7 8 5 v Lorg/jruby/RubyFixnum;
MethodParameters:
Name Flags
args
}
SourceFile: "RubyArray.java"
EnclosingMethod: org.jruby.RubyArray.repeatedPermutationSize:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyEnumerator$SizeFn;
NestHost: org.jruby.RubyArray
InnerClasses:
org.jruby.RubyArray$10
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator
public ArraySites = org.jruby.runtime.JavaSites$ArraySites of org.jruby.runtime.JavaSites