public class org.jruby.javasupport.JavaArrayUtilities
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.javasupport.JavaArrayUtilities
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.javasupport.JavaArrayUtilities this
         0: .line 48
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.javasupport.JavaArrayUtilities this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/javasupport/JavaArrayUtilities;

  public static org.jruby.RubyModule createJavaArrayUtilitiesModule(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyModule;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 51
            aload 0 /* runtime */
            ldc "JavaArrayUtilities"
            invokevirtual org.jruby.Ruby.defineModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
            astore 1 /* javaArrayUtils */
        start local 1 // org.jruby.RubyModule javaArrayUtils
         1: .line 52
            aload 1 /* javaArrayUtils */
            ldc Lorg/jruby/javasupport/JavaArrayUtilities;
            invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
         2: .line 53
            aload 1 /* javaArrayUtils */
            areturn
        end local 1 // org.jruby.RubyModule javaArrayUtils
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0         runtime  Lorg/jruby/Ruby;
            1    3     1  javaArrayUtils  Lorg/jruby/RubyModule;
    MethodParameters:
         Name  Flags
      runtime  

  public static org.jruby.runtime.builtin.IRubyObject bytes_to_ruby_string(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
        start local 2 // org.jruby.runtime.builtin.IRubyObject wrappedObject
         0: .line 58
            aload 0 /* context */
            aload 1 /* recv */
            aload 2 /* wrappedObject */
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
            invokestatic org.jruby.javasupport.JavaArrayUtilities.bytes_to_ruby_string:(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 2 // org.jruby.runtime.builtin.IRubyObject wrappedObject
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0        context  Lorg/jruby/runtime/ThreadContext;
            0    1     1           recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    1     2  wrappedObject  Lorg/jruby/runtime/builtin/IRubyObject;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
               Name  Flags
      context        
      recv           
      wrappedObject  

  public static org.jruby.runtime.builtin.IRubyObject bytes_to_ruby_string(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
        start local 2 // org.jruby.runtime.builtin.IRubyObject wrappedObject
        start local 3 // org.jruby.runtime.builtin.IRubyObject encoding
         0: .line 63
            aconst_null
            astore 4 /* bytes */
        start local 4 // byte[] bytes
         1: .line 65
            aload 2 /* wrappedObject */
            instanceof org.jruby.java.proxies.JavaProxy
            ifeq 5
         2: .line 66
            aload 2 /* wrappedObject */
            checkcast org.jruby.java.proxies.JavaProxy
            invokevirtual org.jruby.java.proxies.JavaProxy.getObject:()Ljava/lang/Object;
            astore 5 /* wrapped */
        start local 5 // java.lang.Object wrapped
         3: .line 67
            aload 5 /* wrapped */
            instanceof byte[]
            ifeq 9
            aload 5 /* wrapped */
            checkcast byte[]
            astore 4 /* bytes */
        end local 5 // java.lang.Object wrapped
         4: .line 68
            goto 9
         5: .line 69
      StackMap locals: byte[]
      StackMap stack:
            aload 2 /* wrappedObject */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.dataGetStruct:()Ljava/lang/Object;
            checkcast org.jruby.runtime.builtin.IRubyObject
            astore 5 /* byteArray */
        start local 5 // org.jruby.runtime.builtin.IRubyObject byteArray
         6: .line 70
            aload 5 /* byteArray */
            instanceof org.jruby.javasupport.JavaArray
            ifeq 9
         7: .line 71
            aload 5 /* byteArray */
            checkcast org.jruby.javasupport.JavaArray
            invokevirtual org.jruby.javasupport.JavaArray.getValue:()Ljava/lang/Object;
            astore 6 /* wrapped */
        start local 6 // java.lang.Object wrapped
         8: .line 72
            aload 6 /* wrapped */
            instanceof byte[]
            ifeq 9
            aload 6 /* wrapped */
            checkcast byte[]
            astore 4 /* bytes */
        end local 6 // java.lang.Object wrapped
        end local 5 // org.jruby.runtime.builtin.IRubyObject byteArray
         9: .line 76
      StackMap locals:
      StackMap stack:
            aload 4 /* bytes */
            ifnonnull 13
        10: .line 77
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            new java.lang.StringBuilder
            dup
            ldc "wrong argument type "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
        11: .line 78
            aload 2 /* wrappedObject */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            ldc " (expected byte[])"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        12: .line 77
            invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
            athrow
        13: .line 82
      StackMap locals:
      StackMap stack:
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            new org.jruby.util.ByteList
            dup
            aload 4 /* bytes */
            iconst_1
            invokespecial org.jruby.util.ByteList.<init>:([BZ)V
            invokevirtual org.jruby.Ruby.newString:(Lorg/jruby/util/ByteList;)Lorg/jruby/RubyString;
            astore 5 /* string */
        start local 5 // org.jruby.RubyString string
        14: .line 84
            aload 3 /* encoding */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
            ifne 15
            aload 5 /* string */
            aload 0 /* context */
            aload 3 /* encoding */
            invokevirtual org.jruby.RubyString.force_encoding:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
            pop
        15: .line 86
      StackMap locals: org.jruby.RubyString
      StackMap stack:
            aload 5 /* string */
            areturn
        end local 5 // org.jruby.RubyString string
        end local 4 // byte[] bytes
        end local 3 // org.jruby.runtime.builtin.IRubyObject encoding
        end local 2 // org.jruby.runtime.builtin.IRubyObject wrappedObject
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   16     0        context  Lorg/jruby/runtime/ThreadContext;
            0   16     1           recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0   16     2  wrappedObject  Lorg/jruby/runtime/builtin/IRubyObject;
            0   16     3       encoding  Lorg/jruby/runtime/builtin/IRubyObject;
            1   16     4          bytes  [B
            3    4     5        wrapped  Ljava/lang/Object;
            6    9     5      byteArray  Lorg/jruby/runtime/builtin/IRubyObject;
            8    9     6        wrapped  Ljava/lang/Object;
           14   16     5         string  Lorg/jruby/RubyString;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
               Name  Flags
      context        
      recv           
      wrappedObject  
      encoding       

  public static org.jruby.runtime.builtin.IRubyObject ruby_string_to_bytes(org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jruby.runtime.builtin.IRubyObject recv
        start local 1 // org.jruby.runtime.builtin.IRubyObject string
         0: .line 91
            aload 0 /* recv */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
            astore 2 /* runtime */
        start local 2 // org.jruby.Ruby runtime
         1: .line 92
            aload 1 /* string */
            instanceof org.jruby.RubyString
            ifne 3
         2: .line 93
            aload 2 /* runtime */
            aload 1 /* string */
            aload 2 /* runtime */
            invokevirtual org.jruby.Ruby.getString:()Lorg/jruby/RubyClass;
            invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
            athrow
         3: .line 95
      StackMap locals: org.jruby.Ruby
      StackMap stack:
            aload 2 /* runtime */
            aload 1 /* string */
            checkcast org.jruby.RubyString
            invokevirtual org.jruby.RubyString.getBytes:()[B
            invokestatic org.jruby.javasupport.JavaUtil.convertJavaToUsableRubyObject:(Lorg/jruby/Ruby;Ljava/lang/Object;)Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 2 // org.jruby.Ruby runtime
        end local 1 // org.jruby.runtime.builtin.IRubyObject string
        end local 0 // org.jruby.runtime.builtin.IRubyObject recv
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    4     1   string  Lorg/jruby/runtime/builtin/IRubyObject;
            1    4     2  runtime  Lorg/jruby/Ruby;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
        Name  Flags
      recv    
      string  

  public static org.jruby.runtime.builtin.IRubyObject java_to_ruby(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
        start local 2 // org.jruby.runtime.builtin.IRubyObject ary
         0: .line 100
            aload 2 /* ary */
            instanceof org.jruby.java.proxies.ArrayJavaProxy
            ifne 2
         1: .line 101
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            aload 2 /* ary */
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokevirtual org.jruby.Ruby.getJavaSupport:()Lorg/jruby/javasupport/JavaSupport;
            invokevirtual org.jruby.javasupport.JavaSupport.getArrayProxyClass:()Lorg/jruby/RubyClass;
            invokevirtual org.jruby.Ruby.newTypeError:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;)Lorg/jruby/exceptions/RaiseException;
            athrow
         2: .line 103
      StackMap locals:
      StackMap stack:
            aload 2 /* ary */
            checkcast org.jruby.java.proxies.ArrayJavaProxy
            aload 0 /* context */
            invokevirtual org.jruby.java.proxies.ArrayJavaProxy.to_a:(Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/RubyArray;
            areturn
        end local 2 // org.jruby.runtime.builtin.IRubyObject ary
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0  context  Lorg/jruby/runtime/ThreadContext;
            0    3     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    3     2      ary  Lorg/jruby/runtime/builtin/IRubyObject;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true)
    MethodParameters:
         Name  Flags
      context  
      recv     
      ary      
}
SourceFile: "JavaArrayUtilities.java"
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyModule(name = {"JavaArrayUtilities"})