class org.jruby.RubyArray$7 implements org.jruby.RubyEnumerator$SizeFn
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyArray$7
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
void <init>(org.jruby.RubyArray, org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/RubyArray;Lorg/jruby/runtime/ThreadContext;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // org.jruby.RubyArray$7 this
0: .line 4151
aload 0 /* this */
aload 1
putfield org.jruby.RubyArray$7.this$0:Lorg/jruby/RubyArray;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 4152
aload 0 /* this */
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$7.op_exp:Lorg/jruby/runtime/CallSite;
2: .line 4151
return
end local 0 // org.jruby.RubyArray$7 this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyArray$7;
MethodParameters:
Name Flags
this$0 final
val$context final
public org.jruby.runtime.builtin.IRubyObject size(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=5, locals=8, args_size=3
start local 0 // org.jruby.RubyArray$7 this
start local 1 // org.jruby.runtime.ThreadContext context
start local 2 // org.jruby.runtime.builtin.IRubyObject[] args
0: .line 4155
aload 0 /* this */
getfield org.jruby.RubyArray$7.this$0:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.length:()Lorg/jruby/RubyFixnum;
astore 3 /* n */
start local 3 // org.jruby.RubyFixnum n
1: .line 4156
getstatic org.jruby.RubyArray.$assertionsDisabled:Z
ifne 3
aload 2 /* args */
ifnull 2
aload 2 /* args */
arraylength
ifle 2
aload 2 /* args */
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: .line 4157
StackMap locals:
StackMap stack:
aload 2 /* args */
iconst_0
aaload
checkcast org.jruby.RubyNumeric
invokevirtual org.jruby.RubyNumeric.getLongValue:()J
lstore 4 /* k */
start local 4 // long k
4: .line 4159
aload 1 /* context */
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 6 /* runtime */
start local 6 // org.jruby.Ruby runtime
5: .line 4160
lload 4 /* k */
lconst_0
lcmp
ifge 7
6: .line 4161
aload 6 /* runtime */
invokestatic org.jruby.RubyFixnum.zero:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
areturn
7: .line 4164
StackMap locals: long org.jruby.Ruby
StackMap stack:
aload 6 /* runtime */
lload 4 /* k */
invokestatic org.jruby.RubyFixnum.newFixnum:(Lorg/jruby/Ruby;J)Lorg/jruby/RubyFixnum;
astore 7 /* v */
start local 7 // org.jruby.RubyFixnum v
8: .line 4165
aload 0 /* this */
getfield org.jruby.RubyArray$7.op_exp:Lorg/jruby/runtime/CallSite;
aload 1 /* context */
aload 3 /* n */
aload 3 /* n */
aload 7 /* v */
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 7 // org.jruby.RubyFixnum v
end local 6 // org.jruby.Ruby runtime
end local 4 // long k
end local 3 // org.jruby.RubyFixnum n
end local 2 // org.jruby.runtime.builtin.IRubyObject[] args
end local 1 // org.jruby.runtime.ThreadContext context
end local 0 // org.jruby.RubyArray$7 this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/jruby/RubyArray$7;
0 9 1 context Lorg/jruby/runtime/ThreadContext;
0 9 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 9 3 n Lorg/jruby/RubyFixnum;
4 9 4 k J
5 9 6 runtime Lorg/jruby/Ruby;
8 9 7 v Lorg/jruby/RubyFixnum;
MethodParameters:
Name Flags
context
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$7
public abstract SizeFn = org.jruby.RubyEnumerator$SizeFn of org.jruby.RubyEnumerator
public ArraySites = org.jruby.runtime.JavaSites$ArraySites of org.jruby.runtime.JavaSites