final class org.eclipse.collections.api.factory.ServiceLoaderUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.eclipse.collections.api.factory.ServiceLoaderUtils
  super_class: java.lang.Object
{
  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.eclipse.collections.api.factory.ServiceLoaderUtils this
         0: .line 22
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 24
            new java.lang.AssertionError
            dup
            ldc "Suppress default constructor for noninstantiability"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 0 // org.eclipse.collections.api.factory.ServiceLoaderUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/eclipse/collections/api/factory/ServiceLoaderUtils;

  static <T> T loadServiceClass(java.lang.Class<T>);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=4, args_size=1
        start local 0 // java.lang.Class serviceClass
         0: .line 29
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* factories */
        start local 1 // java.util.List factories
         1: .line 30
            aload 0 /* serviceClass */
            invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
            invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: java.lang.Class java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.Object
            astore 2 /* factory */
        start local 2 // java.lang.Object factory
         3: .line 32
            aload 1 /* factories */
            aload 2 /* factory */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 2 // java.lang.Object factory
         4: .line 30
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 34
            aload 1 /* factories */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 8
         6: .line 36
            new java.lang.StringBuilder
            dup
            ldc "Could not find any implementations of "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* serviceClass */
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ". Check that eclipse-collections.jar is on the classpath and that its META-INF/services directory is intact."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* message */
        start local 2 // java.lang.String message
         7: .line 37
            aload 0 /* serviceClass */
            aload 2 /* message */
            invokestatic org.eclipse.collections.api.factory.ServiceLoaderUtils.createProxyInstance:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.String message
         8: .line 39
      StackMap locals: java.lang.Class java.util.List
      StackMap stack:
            aload 1 /* factories */
            invokeinterface java.util.List.size:()I
            iconst_1
            if_icmple 17
         9: .line 42
            ldc "Found multiple implementations of %s on the classpath. Check that there is only one copy of eclipse-collections.jar on the classpath. Found implementations: %s."
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        10: .line 43
            aload 0 /* serviceClass */
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            aastore
            dup
            iconst_1
        11: .line 44
            aload 1 /* factories */
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
        12: .line 45
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/Object.getClass()Ljava/lang/Class; (5)
                  (Ljava/lang/Object;)Ljava/lang/Class;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
        13: .line 46
            invokedynamic apply()Ljava/util/function/Function;
              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;)Ljava/lang/Object;
                  java/lang/Class.getSimpleName()Ljava/lang/String; (5)
                  (Ljava/lang/Class;)Ljava/lang/String;
            invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
        14: .line 47
            ldc ", "
            invokestatic java.util.stream.Collectors.joining:(Ljava/lang/CharSequence;)Ljava/util/stream/Collector;
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            aastore
        15: .line 41
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            astore 2 /* message */
        start local 2 // java.lang.String message
        16: .line 48
            aload 0 /* serviceClass */
            aload 2 /* message */
            invokestatic org.eclipse.collections.api.factory.ServiceLoaderUtils.createProxyInstance:(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
            areturn
        end local 2 // java.lang.String message
        17: .line 50
      StackMap locals:
      StackMap stack:
            aload 1 /* factories */
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            areturn
        end local 1 // java.util.List factories
        end local 0 // java.lang.Class serviceClass
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   18     0  serviceClass  Ljava/lang/Class<TT;>;
            1   18     1     factories  Ljava/util/List<TT;>;
            3    4     2       factory  TT;
            7    8     2       message  Ljava/lang/String;
           16   17     2       message  Ljava/lang/String;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
    MethodParameters:
              Name  Flags
      serviceClass  

  private static <T> T createProxyInstance(java.lang.Class<T>, java.lang.String);
    descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // java.lang.Class serviceClass
        start local 1 // java.lang.String message
         0: .line 55
            new org.eclipse.collections.api.factory.ThrowingInvocationHandler
            dup
            aload 1 /* message */
            invokespecial org.eclipse.collections.api.factory.ThrowingInvocationHandler.<init>:(Ljava/lang/String;)V
            astore 2 /* handler */
        start local 2 // java.lang.reflect.InvocationHandler handler
         1: .line 57
            aload 0 /* serviceClass */
            invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
         2: .line 58
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            aload 0 /* serviceClass */
            aastore
         3: .line 59
            aload 2 /* handler */
         4: .line 56
            invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
            astore 3 /* proxyInstance */
        start local 3 // java.lang.Object proxyInstance
         5: .line 60
            aload 0 /* serviceClass */
            aload 3 /* proxyInstance */
            invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 3 // java.lang.Object proxyInstance
        end local 2 // java.lang.reflect.InvocationHandler handler
        end local 1 // java.lang.String message
        end local 0 // java.lang.Class serviceClass
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0   serviceClass  Ljava/lang/Class<TT;>;
            0    6     1        message  Ljava/lang/String;
            1    6     2        handler  Ljava/lang/reflect/InvocationHandler;
            5    6     3  proxyInstance  Ljava/lang/Object;
    Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;)TT;
    MethodParameters:
              Name  Flags
      serviceClass  
      message       
}
SourceFile: "ServiceLoaderUtils.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles