public class org.jruby.RubyGenerator extends org.jruby.RubyObject
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.RubyGenerator
  super_class: org.jruby.RubyObject
{
  private org.jruby.RubyProc proc;
    descriptor: Lorg/jruby/RubyProc;
    flags: (0x0002) ACC_PRIVATE

  public static void createGeneratorClass(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 44
            aload 0 /* runtime */
            ldc "Generator"
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
            new org.jruby.RubyGenerator$1
            dup
            invokespecial org.jruby.RubyGenerator$1.<init>:()V
         1: .line 49
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getEnumerator:()Lorg/jruby/RubyClass;
         2: .line 44
            invokevirtual org.jruby.Ruby.defineClassUnder:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;Lorg/jruby/RubyModule;)Lorg/jruby/RubyClass;
            astore 1 /* genc */
        start local 1 // org.jruby.RubyClass genc
         3: .line 51
            aload 1 /* genc */
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getEnumerable:()Lorg/jruby/RubyModule;
            invokevirtual org.jruby.RubyClass.includeModule:(Lorg/jruby/runtime/builtin/IRubyObject;)V
         4: .line 52
            aload 1 /* genc */
            ldc Lorg/jruby/RubyGenerator;
            invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
         5: .line 54
            aload 0 /* runtime */
            aload 1 /* genc */
            invokevirtual org.jruby.Ruby.setGenerator:(Lorg/jruby/RubyClass;)V
         6: .line 55
            return
        end local 1 // org.jruby.RubyClass genc
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    7     0  runtime  Lorg/jruby/Ruby;
            3    7     1     genc  Lorg/jruby/RubyClass;
    MethodParameters:
         Name  Flags
      runtime  

  public void <init>(org.jruby.Ruby, org.jruby.RubyClass);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.jruby.RubyGenerator this
        start local 1 // org.jruby.Ruby runtime
        start local 2 // org.jruby.RubyClass klass
         0: .line 58
            aload 0 /* this */
            aload 1 /* runtime */
            aload 2 /* klass */
            invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
         1: .line 59
            return
        end local 2 // org.jruby.RubyClass klass
        end local 1 // org.jruby.Ruby runtime
        end local 0 // org.jruby.RubyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lorg/jruby/RubyGenerator;
            0    2     1  runtime  Lorg/jruby/Ruby;
            0    2     2    klass  Lorg/jruby/RubyClass;
    MethodParameters:
         Name  Flags
      runtime  
      klass    

  public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
    descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=4
        start local 0 // org.jruby.RubyGenerator this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.runtime.builtin.IRubyObject[] args
        start local 3 // org.jruby.runtime.Block block
         0: .line 64
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 4 /* runtime */
        start local 4 // org.jruby.Ruby runtime
         1: .line 68
            aload 2 /* args */
            arraylength
            ifne 4
         2: .line 69
            aload 4 /* runtime */
            aload 3 /* block */
            getstatic org.jruby.runtime.Block$Type.PROC:Lorg/jruby/runtime/Block$Type;
            invokestatic org.jruby.RubyProc.newProc:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Block;Lorg/jruby/runtime/Block$Type;)Lorg/jruby/RubyProc;
            astore 5 /* proc */
        start local 5 // org.jruby.RubyProc proc
         3: .line 70
            goto 9
        end local 5 // org.jruby.RubyProc proc
         4: .line 71
      StackMap locals: org.jruby.Ruby
      StackMap stack:
            aload 2 /* args */
            iconst_0
            aaload
            instanceof org.jruby.RubyProc
            ifne 6
         5: .line 72
            aload 4 /* runtime */
            aload 2 /* args */
            iconst_0
            aaload
            aload 4 /* runtime */
            invokevirtual org.jruby.Ruby.getProc:()Lorg/jruby/RubyClass;
            invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
            athrow
         6: .line 75
      StackMap locals:
      StackMap stack:
            aload 2 /* args */
            iconst_0
            aaload
            checkcast org.jruby.RubyProc
            astore 5 /* proc */
        start local 5 // org.jruby.RubyProc proc
         7: .line 77
            aload 3 /* block */
            invokevirtual org.jruby.runtime.Block.isGiven:()Z
            ifeq 9
         8: .line 78
            aload 4 /* runtime */
            invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
            getstatic org.jruby.common.IRubyWarnings$ID.BLOCK_UNUSED:Lorg/jruby/common/IRubyWarnings$ID;
            ldc "given block not used"
            invokevirtual org.jruby.common.RubyWarnings.warn:(Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
         9: .line 83
      StackMap locals: org.jruby.RubyProc
      StackMap stack:
            aload 0 /* this */
            aload 5 /* proc */
            putfield org.jruby.RubyGenerator.proc:Lorg/jruby/RubyProc;
        10: .line 84
            aload 0 /* this */
            areturn
        end local 5 // org.jruby.RubyProc proc
        end local 4 // org.jruby.Ruby runtime
        end local 3 // org.jruby.runtime.Block block
        end local 2 // org.jruby.runtime.builtin.IRubyObject[] args
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.RubyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     this  Lorg/jruby/RubyGenerator;
            0   11     1  context  Lorg/jruby/runtime/ThreadContext;
            0   11     2     args  [Lorg/jruby/runtime/builtin/IRubyObject;
            0   11     3    block  Lorg/jruby/runtime/Block;
            1   11     4  runtime  Lorg/jruby/Ruby;
            3    4     5     proc  Lorg/jruby/RubyProc;
            7   11     5     proc  Lorg/jruby/RubyProc;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;, optional = 1)
    MethodParameters:
         Name  Flags
      context  
      args     
      block    

  public org.jruby.runtime.builtin.IRubyObject initialize_copy(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 // org.jruby.RubyGenerator this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.runtime.builtin.IRubyObject other
         0: .line 90
            aload 2 /* other */
            instanceof org.jruby.RubyGenerator
            ifne 2
         1: .line 91
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 2 /* other */
            aload 1 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getGenerator:()Lorg/jruby/RubyClass;
            invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
            athrow
         2: .line 94
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.jruby.RubyGenerator.checkFrozen:()V
         3: .line 96
            aload 0 /* this */
            aload 2 /* other */
            checkcast org.jruby.RubyGenerator
            getfield org.jruby.RubyGenerator.proc:Lorg/jruby/RubyProc;
            putfield org.jruby.RubyGenerator.proc:Lorg/jruby/RubyProc;
         4: .line 98
            aload 0 /* this */
            areturn
        end local 2 // org.jruby.runtime.builtin.IRubyObject other
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.RubyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0     this  Lorg/jruby/RubyGenerator;
            0    5     1  context  Lorg/jruby/runtime/ThreadContext;
            0    5     2    other  Lorg/jruby/runtime/builtin/IRubyObject;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      other    

  public org.jruby.runtime.builtin.IRubyObject each(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[], org.jruby.runtime.Block);
    descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // org.jruby.RubyGenerator this
        start local 1 // org.jruby.runtime.ThreadContext context
        start local 2 // org.jruby.runtime.builtin.IRubyObject[] args
        start local 3 // org.jruby.runtime.Block block
         0: .line 104
            aload 0 /* this */
            getfield org.jruby.RubyGenerator.proc:Lorg/jruby/RubyProc;
            aload 1 /* context */
            aload 1 /* context */
            aload 3 /* block */
            invokestatic org.jruby.RubyYielder.newYielder:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/Block;)Lorg/jruby/RubyYielder;
            aload 2 /* args */
            invokestatic org.jruby.util.ArraySupport.newCopy:(Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;)[Lorg/jruby/runtime/builtin/IRubyObject;
            invokevirtual org.jruby.RubyProc.call:(Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 3 // org.jruby.runtime.Block block
        end local 2 // org.jruby.runtime.builtin.IRubyObject[] args
        end local 1 // org.jruby.runtime.ThreadContext context
        end local 0 // org.jruby.RubyGenerator this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lorg/jruby/RubyGenerator;
            0    1     1  context  Lorg/jruby/runtime/ThreadContext;
            0    1     2     args  [Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     3    block  Lorg/jruby/runtime/Block;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(rest = true)
    MethodParameters:
         Name  Flags
      context  
      args     
      block    

  public org.jruby.RubyProc getProc();
    descriptor: ()Lorg/jruby/RubyProc;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.RubyGenerator this
         0: .line 108
            aload 0 /* this */
            getfield org.jruby.RubyGenerator.proc:Lorg/jruby/RubyProc;
            areturn
        end local 0 // org.jruby.RubyGenerator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/RubyGenerator;
}
SourceFile: "RubyGenerator.java"
NestMembers:
  org.jruby.RubyGenerator$1
InnerClasses:
  org.jruby.RubyGenerator$1
  public final ID = org.jruby.common.IRubyWarnings$ID of org.jruby.common.IRubyWarnings
  public final Type = org.jruby.runtime.Block$Type of org.jruby.runtime.Block
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyClass(name = {"Enumerator::Generator"})