class org.jruby.RubyEnumerable$9 extends org.jruby.runtime.JavaInternalBlockBody
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyEnumerable$9
super_class: org.jruby.runtime.JavaInternalBlockBody
{
boolean memo;
descriptor: Z
flags: (0x0000)
private final org.jruby.runtime.Block val$block;
descriptor: Lorg/jruby/runtime/Block;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.jruby.RubyArray val$result;
descriptor: Lorg/jruby/RubyArray;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.jruby.Ruby, org.jruby.runtime.ThreadContext, java.lang.String, org.jruby.runtime.Signature, org.jruby.runtime.Block, org.jruby.RubyArray);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/Signature;Lorg/jruby/runtime/Block;Lorg/jruby/RubyArray;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 5
putfield org.jruby.RubyEnumerable$9.val$block:Lorg/jruby/runtime/Block;
aload 0
aload 6
putfield org.jruby.RubyEnumerable$9.val$result:Lorg/jruby/RubyArray;
aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial org.jruby.runtime.JavaInternalBlockBody.<init>:(Lorg/jruby/Ruby;Lorg/jruby/runtime/ThreadContext;Ljava/lang/String;Lorg/jruby/runtime/Signature;)V
1: aload 0
iconst_0
putfield org.jruby.RubyEnumerable$9.memo:Z
2: return
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/RubyEnumerable$9;
0 3 1 $anonymous0 Lorg/jruby/Ruby;
0 3 2 $anonymous1 Lorg/jruby/runtime/ThreadContext;
0 3 3 $anonymous2 Ljava/lang/String;
0 3 4 $anonymous3 Lorg/jruby/runtime/Signature;
MethodParameters:
Name Flags
$anonymous0
$anonymous1
$anonymous2
$anonymous3
val$block final
val$result final
public org.jruby.runtime.builtin.IRubyObject yield(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=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\trestricted identifier yield not allowed here - method calls need to be qualified\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyEnumerable$9;
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject yield(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=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.jruby.RubyEnumerable$9.memo:Z
ifne 1
aload 0
getfield org.jruby.RubyEnumerable$9.val$block:Lorg/jruby/runtime/Block;
aload 1
aload 2
invokevirtual org.jruby.runtime.Block.yield:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
ifne 1
aload 0
iconst_1
putfield org.jruby.RubyEnumerable$9.memo:Z
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.RubyEnumerable$9.memo:Z
ifeq 6
aload 0
getfield org.jruby.RubyEnumerable$9.val$result:Lorg/jruby/RubyArray;
dup
astore 3
monitorenter
2: aload 0
getfield org.jruby.RubyEnumerable$9.val$result:Lorg/jruby/RubyArray;
aload 2
invokevirtual org.jruby.RubyArray.append:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyArray;
pop
aload 3
monitorexit
3: goto 6
StackMap locals: org.jruby.RubyEnumerable$9 org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject org.jruby.RubyArray
StackMap stack: java.lang.Throwable
4: aload 3
monitorexit
5: athrow
6: 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 7 0 this Lorg/jruby/RubyEnumerable$9;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 value Lorg/jruby/runtime/builtin/IRubyObject;
Exception table:
from to target type
2 3 4 any
4 5 4 any
MethodParameters:
Name Flags
context
value
}
SourceFile: "RubyEnumerable.java"
EnclosingMethod: org.jruby.RubyEnumerable.drop_while:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
NestHost: org.jruby.RubyEnumerable
InnerClasses:
org.jruby.RubyEnumerable$9