public class org.springframework.boot.util.Instantiator<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.springframework.boot.util.Instantiator
  super_class: java.lang.Object
{
  private static final java.util.Comparator<java.lang.reflect.Constructor<?>> CONSTRUCTOR_COMPARATOR;
    descriptor: Ljava/util/Comparator;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    Signature: Ljava/util/Comparator<Ljava/lang/reflect/Constructor<*>;>;

  private final java.lang.Class<?> type;
    descriptor: Ljava/lang/Class;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/lang/Class<*>;

  private final java.util.Map<java.lang.Class<?>, java.util.function.Function<java.lang.Class<?>, java.lang.Object>> availableParameters;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;Ljava/lang/Object;>;>;

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 46
            invokedynamic applyAsInt()Ljava/util/function/ToIntFunction;
              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;)I
                  java/lang/reflect/Constructor.getParameterCount()I (5)
                  (Ljava/lang/reflect/Constructor;)I
            invokestatic java.util.Comparator.comparingInt:(Ljava/util/function/ToIntFunction;)Ljava/util/Comparator;
            invokeinterface java.util.Comparator.reversed:()Ljava/util/Comparator;
         1: .line 45
            putstatic org.springframework.boot.util.Instantiator.CONSTRUCTOR_COMPARATOR:Ljava/util/Comparator;
         2: .line 46
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.lang.Class<?>, java.util.function.Consumer<org.springframework.boot.util.Instantiator$AvailableParameters>);
    descriptor: (Ljava/lang/Class;Ljava/util/function/Consumer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.lang.Class type
        start local 2 // java.util.function.Consumer availableParameters
         0: .line 57
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 58
            aload 0 /* this */
            aload 1 /* type */
            putfield org.springframework.boot.util.Instantiator.type:Ljava/lang/Class;
         2: .line 59
            aload 0 /* this */
            aload 0 /* this */
            aload 2 /* availableParameters */
            invokevirtual org.springframework.boot.util.Instantiator.getAvailableParameters:(Ljava/util/function/Consumer;)Ljava/util/Map;
            putfield org.springframework.boot.util.Instantiator.availableParameters:Ljava/util/Map;
         3: .line 60
            return
        end local 2 // java.util.function.Consumer availableParameters
        end local 1 // java.lang.Class type
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    4     0                 this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0    4     1                 type  Ljava/lang/Class<*>;
            0    4     2  availableParameters  Ljava/util/function/Consumer<Lorg/springframework/boot/util/Instantiator$AvailableParameters;>;
    Signature: (Ljava/lang/Class<*>;Ljava/util/function/Consumer<Lorg/springframework/boot/util/Instantiator$AvailableParameters;>;)V
    MethodParameters:
                     Name  Flags
      type                 
      availableParameters  

  private java.util.Map<java.lang.Class<?>, java.util.function.Function<java.lang.Class<?>, java.lang.Object>> getAvailableParameters(java.util.function.Consumer<org.springframework.boot.util.Instantiator$AvailableParameters>);
    descriptor: (Ljava/util/function/Consumer;)Ljava/util/Map;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.util.function.Consumer availableParameters
         0: .line 64
            new java.util.LinkedHashMap
            dup
            invokespecial java.util.LinkedHashMap.<init>:()V
            astore 2 /* result */
        start local 2 // java.util.Map result
         1: .line 65
            aload 1 /* availableParameters */
            new org.springframework.boot.util.Instantiator$1
            dup
            aload 0 /* this */
            aload 2 /* result */
            invokespecial org.springframework.boot.util.Instantiator$1.<init>:(Lorg/springframework/boot/util/Instantiator;Ljava/util/Map;)V
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         2: .line 78
            aload 2 /* result */
            invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
            areturn
        end local 2 // java.util.Map result
        end local 1 // java.util.function.Consumer availableParameters
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot                 Name  Signature
            0    3     0                 this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0    3     1  availableParameters  Ljava/util/function/Consumer<Lorg/springframework/boot/util/Instantiator$AvailableParameters;>;
            1    3     2               result  Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;Ljava/lang/Object;>;>;
    Signature: (Ljava/util/function/Consumer<Lorg/springframework/boot/util/Instantiator$AvailableParameters;>;)Ljava/util/Map<Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;Ljava/lang/Object;>;>;
    MethodParameters:
                     Name  Flags
      availableParameters  

  public java.util.List<T> instantiate(java.util.Collection<java.lang.String>);
    descriptor: (Ljava/util/Collection;)Ljava/util/List;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=2
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.util.Collection names
         0: .line 88
            new java.util.ArrayList
            dup
            aload 1 /* names */
            invokeinterface java.util.Collection.size:()I
            invokespecial java.util.ArrayList.<init>:(I)V
            astore 2 /* instances */
        start local 2 // java.util.List instances
         1: .line 89
            aload 1 /* names */
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 4
            goto 4
      StackMap locals: org.springframework.boot.util.Instantiator java.util.Collection java.util.List top java.util.Iterator
      StackMap stack:
         2: aload 4
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.String
            astore 3 /* name */
        start local 3 // java.lang.String name
         3: .line 90
            aload 2 /* instances */
            aload 0 /* this */
            aload 3 /* name */
            invokevirtual org.springframework.boot.util.Instantiator.instantiate:(Ljava/lang/String;)Ljava/lang/Object;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 3 // java.lang.String name
         4: .line 89
      StackMap locals:
      StackMap stack:
            aload 4
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 92
            aload 2 /* instances */
            invokestatic org.springframework.core.annotation.AnnotationAwareOrderComparator.sort:(Ljava/util/List;)V
         6: .line 93
            aload 2 /* instances */
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            areturn
        end local 2 // java.util.List instances
        end local 1 // java.util.Collection names
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    7     0       this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0    7     1      names  Ljava/util/Collection<Ljava/lang/String;>;
            1    7     2  instances  Ljava/util/List<TT;>;
            3    4     3       name  Ljava/lang/String;
    Signature: (Ljava/util/Collection<Ljava/lang/String;>;)Ljava/util/List<TT;>;
    MethodParameters:
       Name  Flags
      names  

  private T instantiate(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.lang.String name
         0: .line 98
            aload 1 /* name */
            aconst_null
            invokestatic org.springframework.util.ClassUtils.forName:(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class;
            astore 2 /* type */
        start local 2 // java.lang.Class type
         1: .line 99
            aload 0 /* this */
            getfield org.springframework.boot.util.Instantiator.type:Ljava/lang/Class;
            aload 2 /* type */
            invokestatic org.springframework.util.Assert.isAssignable:(Ljava/lang/Class;Ljava/lang/Class;)V
         2: .line 100
            aload 0 /* this */
            aload 2 /* type */
            invokevirtual org.springframework.boot.util.Instantiator.instantiate:(Ljava/lang/Class;)Ljava/lang/Object;
         3: areturn
        end local 2 // java.lang.Class type
         4: .line 102
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 2 /* ex */
        start local 2 // java.lang.Throwable ex
         5: .line 103
            new java.lang.IllegalArgumentException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Unable to instantiate "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.springframework.boot.util.Instantiator.type:Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " ["
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "]"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            aload 2 /* ex */
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // java.lang.Throwable ex
        end local 1 // java.lang.String name
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0    6     1  name  Ljava/lang/String;
            1    4     2  type  Ljava/lang/Class<*>;
            5    6     2    ex  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           0     3       4  Class java.lang.Throwable
    Signature: (Ljava/lang/String;)TT;
    MethodParameters:
      Name  Flags
      name  

  private T instantiate(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=8, args_size=2
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.lang.Class type
         0: .line 109
            aload 1 /* type */
            invokevirtual java.lang.Class.getDeclaredConstructors:()[Ljava/lang/reflect/Constructor;
            astore 2 /* constructors */
        start local 2 // java.lang.reflect.Constructor[] constructors
         1: .line 110
            aload 2 /* constructors */
            getstatic org.springframework.boot.util.Instantiator.CONSTRUCTOR_COMPARATOR:Ljava/util/Comparator;
            invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
         2: .line 111
            aload 2 /* constructors */
            dup
            astore 6
            arraylength
            istore 5
            iconst_0
            istore 4
            goto 9
      StackMap locals: org.springframework.boot.util.Instantiator java.lang.Class java.lang.reflect.Constructor[] top int int java.lang.reflect.Constructor[]
      StackMap stack:
         3: aload 6
            iload 4
            aaload
            astore 3 /* constructor */
        start local 3 // java.lang.reflect.Constructor constructor
         4: .line 112
            aload 0 /* this */
            aload 3 /* constructor */
            invokevirtual java.lang.reflect.Constructor.getParameterTypes:()[Ljava/lang/Class;
            invokevirtual org.springframework.boot.util.Instantiator.getArgs:([Ljava/lang/Class;)[Ljava/lang/Object;
            astore 7 /* args */
        start local 7 // java.lang.Object[] args
         5: .line 113
            aload 7 /* args */
            ifnull 8
         6: .line 114
            aload 3 /* constructor */
            invokestatic org.springframework.util.ReflectionUtils.makeAccessible:(Ljava/lang/reflect/Constructor;)V
         7: .line 115
            aload 3 /* constructor */
            aload 7 /* args */
            invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
            areturn
        end local 7 // java.lang.Object[] args
        end local 3 // java.lang.reflect.Constructor constructor
         8: .line 111
      StackMap locals:
      StackMap stack:
            iinc 4 1
      StackMap locals:
      StackMap stack:
         9: iload 4
            iload 5
            if_icmplt 3
        10: .line 118
            new java.lang.IllegalAccessException
            dup
            ldc "Unable to find suitable constructor"
            invokespecial java.lang.IllegalAccessException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.reflect.Constructor[] constructors
        end local 1 // java.lang.Class type
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   11     0          this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0   11     1          type  Ljava/lang/Class<*>;
            1   11     2  constructors  [Ljava/lang/reflect/Constructor;
            4    8     3   constructor  Ljava/lang/reflect/Constructor<*>;
            5    8     7          args  [Ljava/lang/Object;
    Exceptions:
      throws java.lang.Exception
    Signature: (Ljava/lang/Class<*>;)TT;
    MethodParameters:
      Name  Flags
      type  

  private [] getArgs(java.lang.Class<?>[]);
    descriptor: ([Ljava/lang/Class;)[Ljava/lang/Object;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.lang.Class[] parameterTypes
         0: .line 122
            aload 1 /* parameterTypes */
            arraylength
            anewarray java.lang.Object
            astore 2 /* args */
        start local 2 // java.lang.Object[] args
         1: .line 123
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         2: goto 8
         3: .line 124
      StackMap locals: java.lang.Object[] int
      StackMap stack:
            aload 0 /* this */
            aload 1 /* parameterTypes */
            iload 3 /* i */
            aaload
            invokevirtual org.springframework.boot.util.Instantiator.getAvailableParameter:(Ljava/lang/Class;)Ljava/util/function/Function;
            astore 4 /* parameter */
        start local 4 // java.util.function.Function parameter
         4: .line 125
            aload 4 /* parameter */
            ifnonnull 6
         5: .line 126
            aconst_null
            areturn
         6: .line 128
      StackMap locals: java.util.function.Function
      StackMap stack:
            aload 2 /* args */
            iload 3 /* i */
            aload 4 /* parameter */
            aload 0 /* this */
            getfield org.springframework.boot.util.Instantiator.type:Ljava/lang/Class;
            invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
            aastore
        end local 4 // java.util.function.Function parameter
         7: .line 123
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 3 /* i */
            aload 1 /* parameterTypes */
            arraylength
            if_icmplt 3
        end local 3 // int i
         9: .line 130
            aload 2 /* args */
            areturn
        end local 2 // java.lang.Object[] args
        end local 1 // java.lang.Class[] parameterTypes
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   10     0            this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0   10     1  parameterTypes  [Ljava/lang/Class;
            1   10     2            args  [Ljava/lang/Object;
            2    9     3               i  I
            4    7     4       parameter  Ljava/util/function/Function<Ljava/lang/Class<*>;Ljava/lang/Object;>;
    Signature: ([Ljava/lang/Class<*>;)[Ljava/lang/Object;
    MethodParameters:
                Name  Flags
      parameterTypes  

  private java.util.function.Function<java.lang.Class<?>, java.lang.Object> getAvailableParameter(java.lang.Class<?>);
    descriptor: (Ljava/lang/Class;)Ljava/util/function/Function;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.springframework.boot.util.Instantiator this
        start local 1 // java.lang.Class parameterType
         0: .line 134
            aload 0 /* this */
            getfield org.springframework.boot.util.Instantiator.availableParameters:Ljava/util/Map;
            invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: org.springframework.boot.util.Instantiator java.lang.Class top java.util.Iterator
      StackMap stack:
         1: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.Map$Entry
            astore 2 /* entry */
        start local 2 // java.util.Map$Entry entry
         2: .line 135
            aload 2 /* entry */
            invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
            checkcast java.lang.Class
            aload 1 /* parameterType */
            invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
            ifeq 4
         3: .line 136
            aload 2 /* entry */
            invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
            checkcast java.util.function.Function
            areturn
        end local 2 // java.util.Map$Entry entry
         4: .line 134
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         5: .line 139
            aconst_null
            areturn
        end local 1 // java.lang.Class parameterType
        end local 0 // org.springframework.boot.util.Instantiator this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    6     0           this  Lorg/springframework/boot/util/Instantiator<TT;>;
            0    6     1  parameterType  Ljava/lang/Class<*>;
            2    4     2          entry  Ljava/util/Map$Entry<Ljava/lang/Class<*>;Ljava/util/function/Function<Ljava/lang/Class<*>;Ljava/lang/Object;>;>;
    Signature: (Ljava/lang/Class<*>;)Ljava/util/function/Function<Ljava/lang/Class<*>;Ljava/lang/Object;>;
    MethodParameters:
               Name  Flags
      parameterType  
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Instantiator.java"
NestMembers:
  org.springframework.boot.util.Instantiator$1  org.springframework.boot.util.Instantiator$AvailableParameters
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public abstract Entry = java.util.Map$Entry of java.util.Map
  org.springframework.boot.util.Instantiator$1
  public abstract AvailableParameters = org.springframework.boot.util.Instantiator$AvailableParameters of org.springframework.boot.util.Instantiator