public abstract class org.jruby.javasupport.ext.JavaUtil
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.jruby.javasupport.ext.JavaUtil
  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.ext.JavaUtil this
         0: .line 56
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.javasupport.ext.JavaUtil this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/javasupport/ext/JavaUtil;

  public static void define(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)V
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 59
            aload 0 /* runtime */
            ldc Ljava/util/Enumeration;
            aload 0 /* runtime */
            invokedynamic accept(Lorg/jruby/Ruby;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/jruby/javasupport/ext/JavaUtil.lambda$0(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V (6)
                  (Lorg/jruby/RubyModule;)V
            invokestatic org.jruby.javasupport.ext.JavaExtensions.put:(Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         1: .line 60
            aload 0 /* runtime */
            ldc Ljava/util/Iterator;
            aload 0 /* runtime */
            invokedynamic accept(Lorg/jruby/Ruby;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/jruby/javasupport/ext/JavaUtil.lambda$1(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V (6)
                  (Lorg/jruby/RubyModule;)V
            invokestatic org.jruby.javasupport.ext.JavaExtensions.put:(Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         2: .line 61
            aload 0 /* runtime */
            ldc Ljava/util/Collection;
            aload 0 /* runtime */
            invokedynamic accept(Lorg/jruby/Ruby;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/jruby/javasupport/ext/JavaUtil.lambda$2(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V (6)
                  (Lorg/jruby/RubyModule;)V
            invokestatic org.jruby.javasupport.ext.JavaExtensions.put:(Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         3: .line 62
            aload 0 /* runtime */
            ldc Ljava/util/List;
            aload 0 /* runtime */
            invokedynamic accept(Lorg/jruby/Ruby;)Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/jruby/javasupport/ext/JavaUtil.lambda$3(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V (6)
                  (Lorg/jruby/RubyModule;)V
            invokestatic org.jruby.javasupport.ext.JavaExtensions.put:(Lorg/jruby/Ruby;Ljava/lang/Class;Ljava/util/function/Consumer;)V
         4: .line 63
            return
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  runtime  Lorg/jruby/Ruby;
    MethodParameters:
         Name  Flags
      runtime  final

  private static java.util.Collection tryNewEqualInstance(java.util.Collection);
    descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // java.util.Collection coll
         0: .line 583
            aload 0 /* coll */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 1 /* klass */
        start local 1 // java.lang.Class klass
         1: .line 588
            aconst_null
            astore 2 /* best */
        start local 2 // java.lang.reflect.Constructor best
         2: .line 589
            aload 1 /* klass */
            invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 10
      StackMap locals: java.util.Collection java.lang.Class java.lang.reflect.Constructor top int int java.lang.reflect.Constructor[]
      StackMap stack:
         3: aload 6
            iload 4
            aaload
            astore 3 /* ctor */
        start local 3 // java.lang.reflect.Constructor ctor
         4: .line 590
            aload 3 /* ctor */
            invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
            astore 7 /* params */
        start local 7 // java.lang.Class[] params
         5: .line 591
            aload 7 /* params */
            arraylength
            iconst_1
            if_icmpne 9
            aload 7 /* params */
            iconst_0
            aaload
            aload 1 /* klass */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 9
         6: .line 592
            aload 2 /* best */
            ifnonnull 7
            aload 3 /* ctor */
            astore 2 /* best */
            goto 9
         7: .line 595
      StackMap locals: java.util.Collection java.lang.Class java.lang.reflect.Constructor java.lang.reflect.Constructor int int java.lang.reflect.Constructor[] java.lang.Class[]
      StackMap stack:
            aload 2 /* best */
            invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
            iconst_0
            aaload
            aload 7 /* params */
            iconst_0
            aaload
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 9
         8: .line 596
            aload 3 /* ctor */
            astore 2 /* best */
        end local 7 // java.lang.Class[] params
        end local 3 // java.lang.reflect.Constructor ctor
         9: .line 589
      StackMap locals: java.util.Collection java.lang.Class java.lang.reflect.Constructor top int int java.lang.reflect.Constructor[]
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
        10: iload 4
            iload 5
            if_icmplt 3
        11: .line 601
            aload 2 /* best */
            ifnull 20
        12: .line 602
            getstatic org.jruby.RubyInstanceConfig.SET_ACCESSIBLE:Z
            ifeq 13
            aload 2 /* best */
            invokestatic org.jruby.javasupport.Java.trySetAccessible:(Ljava/lang/reflect/AccessibleObject;)Z
            pop
        13: .line 603
      StackMap locals: java.util.Collection java.lang.Class java.lang.reflect.Constructor
      StackMap stack:
            aload 2 /* best */
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            aload 0 /* coll */
            aastore
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            checkcast java.util.Collection
        14: areturn
        end local 2 // java.lang.reflect.Constructor best
        15: .line 606
      StackMap locals: java.util.Collection java.lang.Class
      StackMap stack: java.lang.IllegalAccessException
            pop
            goto 20
        16: .line 609
      StackMap locals:
      StackMap stack: java.lang.InstantiationException
            astore 2 /* e */
        start local 2 // java.lang.InstantiationException e
        17: .line 610
            aload 2 /* e */
            invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
            aconst_null
            areturn
        end local 2 // java.lang.InstantiationException e
        18: .line 612
      StackMap locals:
      StackMap stack: java.lang.reflect.InvocationTargetException
            astore 2 /* e */
        start local 2 // java.lang.reflect.InvocationTargetException e
        19: .line 613
            aload 2 /* e */
            invokevirtual java.lang.reflect.InvocationTargetException.getTargetException:()Ljava/lang/Throwable;
            invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
            aconst_null
            areturn
        end local 2 // java.lang.reflect.InvocationTargetException e
        20: .line 618
      StackMap locals:
      StackMap stack:
            aload 1 /* klass */
            invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
            checkcast java.util.Collection
            astore 2 /* clone */
        start local 2 // java.util.Collection clone
        21: .line 619
            goto 26
        end local 2 // java.util.Collection clone
        22: .line 620
      StackMap locals:
      StackMap stack: java.lang.IllegalAccessException
            pop
        23: .line 622
            aload 0 /* coll */
            areturn
        24: .line 624
      StackMap locals:
      StackMap stack: java.lang.InstantiationException
            astore 3 /* e */
        start local 3 // java.lang.InstantiationException e
        25: .line 625
            aload 3 /* e */
            invokestatic org.jruby.runtime.Helpers.throwException:(Ljava/lang/Throwable;)V
            aconst_null
            areturn
        end local 3 // java.lang.InstantiationException e
        start local 2 // java.util.Collection clone
        26: .line 629
      StackMap locals: java.util.Collection
      StackMap stack:
            aload 2 /* clone */
            aload 0 /* coll */
            invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
            pop
        27: .line 634
            aload 2 /* clone */
            areturn
        end local 2 // java.util.Collection clone
        end local 1 // java.lang.Class klass
        end local 0 // java.util.Collection coll
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   28     0    coll  Ljava/util/Collection;
            1   28     1   klass  Ljava/lang/Class<+Ljava/util/Collection;>;
            2   15     2    best  Ljava/lang/reflect/Constructor;
            4    9     3    ctor  Ljava/lang/reflect/Constructor;
            5    9     7  params  [Ljava/lang/Class;
           17   18     2       e  Ljava/lang/InstantiationException;
           19   20     2       e  Ljava/lang/reflect/InvocationTargetException;
           21   22     2   clone  Ljava/util/Collection;
           26   28     2   clone  Ljava/util/Collection;
           25   26     3       e  Ljava/lang/InstantiationException;
      Exception table:
        from    to  target  type
           1    14      15  Class java.lang.IllegalAccessException
           1    14      16  Class java.lang.InstantiationException
           1    14      18  Class java.lang.reflect.InvocationTargetException
          20    21      22  Class java.lang.IllegalAccessException
          20    21      24  Class java.lang.InstantiationException
    MethodParameters:
      Name  Flags
      coll  final

  private static void lambda$0(org.jruby.Ruby, org.jruby.RubyModule);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // org.jruby.RubyModule proxyClass
         0: .line 59
            aload 0
            aload 1 /* proxyClass */
            invokestatic org.jruby.javasupport.ext.JavaUtil$Enumeration.define:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
            return
        end local 1 // org.jruby.RubyModule proxyClass
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     1  proxyClass  Lorg/jruby/RubyModule;

  private static void lambda$1(org.jruby.Ruby, org.jruby.RubyModule);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // org.jruby.RubyModule proxyClass
         0: .line 60
            aload 0
            aload 1 /* proxyClass */
            invokestatic org.jruby.javasupport.ext.JavaUtil$Iterator.define:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
            return
        end local 1 // org.jruby.RubyModule proxyClass
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     1  proxyClass  Lorg/jruby/RubyModule;

  private static void lambda$2(org.jruby.Ruby, org.jruby.RubyModule);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // org.jruby.RubyModule proxyClass
         0: .line 61
            aload 0
            aload 1 /* proxyClass */
            invokestatic org.jruby.javasupport.ext.JavaUtil$Collection.define:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
            return
        end local 1 // org.jruby.RubyModule proxyClass
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     1  proxyClass  Lorg/jruby/RubyModule;

  private static void lambda$3(org.jruby.Ruby, org.jruby.RubyModule);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // org.jruby.RubyModule proxyClass
         0: .line 62
            aload 0
            aload 1 /* proxyClass */
            invokestatic org.jruby.javasupport.ext.JavaUtil$List.define:(Lorg/jruby/Ruby;Lorg/jruby/RubyModule;)Lorg/jruby/RubyModule;
            return
        end local 1 // org.jruby.RubyModule proxyClass
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     1  proxyClass  Lorg/jruby/RubyModule;
}
SourceFile: "JavaUtil.java"
NestMembers:
  org.jruby.javasupport.ext.JavaUtil$Collection  org.jruby.javasupport.ext.JavaUtil$Enumeration  org.jruby.javasupport.ext.JavaUtil$Iterator  org.jruby.javasupport.ext.JavaUtil$List  org.jruby.javasupport.ext.JavaUtil$List$BlockComparator  org.jruby.javasupport.ext.JavaUtil$List$SpaceshipComparator
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public Collection = org.jruby.javasupport.ext.JavaUtil$Collection of org.jruby.javasupport.ext.JavaUtil
  public Enumeration = org.jruby.javasupport.ext.JavaUtil$Enumeration of org.jruby.javasupport.ext.JavaUtil
  public Iterator = org.jruby.javasupport.ext.JavaUtil$Iterator of org.jruby.javasupport.ext.JavaUtil
  public List = org.jruby.javasupport.ext.JavaUtil$List of org.jruby.javasupport.ext.JavaUtil