class org.springframework.boot.context.properties.bind.CollectionBinder extends org.springframework.boot.context.properties.bind.IndexedElementsBinder<java.util.Collection<java.lang.Object>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.CollectionBinder
super_class: org.springframework.boot.context.properties.bind.IndexedElementsBinder
{
void <init>(org.springframework.boot.context.properties.bind.Binder$Context);
descriptor: (Lorg/springframework/boot/context/properties/bind/Binder$Context;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.springframework.boot.context.properties.bind.IndexedElementsBinder.<init>:(Lorg/springframework/boot/context/properties/bind/Binder$Context;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/CollectionBinder;
0 2 1 context Lorg/springframework/boot/context/properties/bind/Binder$Context;
MethodParameters:
Name Flags
context
protected bindAggregate(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.AggregateElementBinder);
descriptor: (Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;Lorg/springframework/boot/context/properties/bind/Bindable;Lorg/springframework/boot/context/properties/bind/AggregateElementBinder;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getValue:()Ljava/util/function/Supplier;
ifnull 1
ldc Ljava/util/List;
goto 2
StackMap locals:
StackMap stack:
1: aload 2
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getType:()Lorg/springframework/core/ResolvableType;
ldc Ljava/lang/Object;
invokevirtual org.springframework.core.ResolvableType.resolve:(Ljava/lang/Class;)Ljava/lang/Class;
StackMap locals:
StackMap stack: java.lang.Class
2: astore 4
start local 4 3: ldc Ljava/util/List;
4: aload 2
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getType:()Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.asCollection:()Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.getGenerics:()[Lorg/springframework/core/ResolvableType;
5: invokestatic org.springframework.core.ResolvableType.forClassWithGenerics:(Ljava/lang/Class;[Lorg/springframework/core/ResolvableType;)Lorg/springframework/core/ResolvableType;
astore 5
start local 5 6: aload 2
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getType:()Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.asCollection:()Lorg/springframework/core/ResolvableType;
iconst_0
newarray 10
invokevirtual org.springframework.core.ResolvableType.getGeneric:([I)Lorg/springframework/core/ResolvableType;
astore 6
start local 6 7: new org.springframework.boot.context.properties.bind.IndexedElementsBinder$IndexedCollectionSupplier
dup
8: aload 4
aload 6
invokedynamic get(Ljava/lang/Class;Lorg/springframework/core/ResolvableType;)Ljava/util/function/Supplier;
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;
org/springframework/boot/context/properties/bind/CollectionBinder.lambda$0(Ljava/lang/Class;Lorg/springframework/core/ResolvableType;)Ljava/util/Collection; (6)
()Ljava/util/Collection;
9: invokespecial org.springframework.boot.context.properties.bind.IndexedElementsBinder$IndexedCollectionSupplier.<init>:(Ljava/util/function/Supplier;)V
astore 7
start local 7 10: aload 0
aload 1
aload 2
aload 3
aload 5
aload 6
aload 7
invokevirtual org.springframework.boot.context.properties.bind.CollectionBinder.bindIndexed:(Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;Lorg/springframework/boot/context/properties/bind/Bindable;Lorg/springframework/boot/context/properties/bind/AggregateElementBinder;Lorg/springframework/core/ResolvableType;Lorg/springframework/core/ResolvableType;Lorg/springframework/boot/context/properties/bind/IndexedElementsBinder$IndexedCollectionSupplier;)V
11: aload 7
invokevirtual org.springframework.boot.context.properties.bind.IndexedElementsBinder$IndexedCollectionSupplier.wasSupplied:()Z
ifeq 13
12: aload 7
invokevirtual org.springframework.boot.context.properties.bind.IndexedElementsBinder$IndexedCollectionSupplier.get:()Ljava/lang/Object;
areturn
13: StackMap locals: org.springframework.boot.context.properties.bind.CollectionBinder org.springframework.boot.context.properties.source.ConfigurationPropertyName org.springframework.boot.context.properties.bind.Bindable org.springframework.boot.context.properties.bind.AggregateElementBinder java.lang.Class org.springframework.core.ResolvableType org.springframework.core.ResolvableType org.springframework.boot.context.properties.bind.IndexedElementsBinder$IndexedCollectionSupplier
StackMap stack:
aconst_null
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/boot/context/properties/bind/CollectionBinder;
0 14 1 name Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;
0 14 2 target Lorg/springframework/boot/context/properties/bind/Bindable<*>;
0 14 3 elementBinder Lorg/springframework/boot/context/properties/bind/AggregateElementBinder;
3 14 4 collectionType Ljava/lang/Class<*>;
6 14 5 aggregateType Lorg/springframework/core/ResolvableType;
7 14 6 elementType Lorg/springframework/core/ResolvableType;
10 14 7 result Lorg/springframework/boot/context/properties/bind/IndexedElementsBinder$IndexedCollectionSupplier;
Signature: (Lorg/springframework/boot/context/properties/source/ConfigurationPropertyName;Lorg/springframework/boot/context/properties/bind/Bindable<*>;Lorg/springframework/boot/context/properties/bind/AggregateElementBinder;)Ljava/lang/Object;
MethodParameters:
Name Flags
name
target
elementBinder
protected java.util.Collection<java.lang.Object> merge(java.util.function.Supplier<java.util.Collection<java.lang.Object>>, java.util.Collection<java.lang.Object>);
descriptor: (Ljava/util/function/Supplier;Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.springframework.boot.context.properties.bind.CollectionBinder.getExistingIfPossible:(Ljava/util/function/Supplier;)Ljava/util/Collection;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: aload 2
areturn
3: StackMap locals: java.util.Collection
StackMap stack:
aload 3
invokeinterface java.util.Collection.clear:()V
4: aload 3
aload 2
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
5: aload 0
aload 3
invokevirtual org.springframework.boot.context.properties.bind.CollectionBinder.copyIfPossible:(Ljava/util/Collection;)Ljava/util/Collection;
6: areturn
7: StackMap locals:
StackMap stack: java.lang.UnsupportedOperationException
pop
8: aload 0
aload 2
invokevirtual org.springframework.boot.context.properties.bind.CollectionBinder.createNewCollection:(Ljava/util/Collection;)Ljava/util/Collection;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/boot/context/properties/bind/CollectionBinder;
0 9 1 existing Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/Object;>;>;
0 9 2 additional Ljava/util/Collection<Ljava/lang/Object;>;
1 9 3 existingCollection Ljava/util/Collection<Ljava/lang/Object;>;
Exception table:
from to target type
3 6 7 Class java.lang.UnsupportedOperationException
Signature: (Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/Object;>;>;Ljava/util/Collection<Ljava/lang/Object;>;)Ljava/util/Collection<Ljava/lang/Object;>;
MethodParameters:
Name Flags
existing
additional
private java.util.Collection<java.lang.Object> getExistingIfPossible(java.util.function.Supplier<java.util.Collection<java.lang.Object>>);
descriptor: (Ljava/util/function/Supplier;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
checkcast java.util.Collection
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/bind/CollectionBinder;
0 4 1 existing Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/Object;>;>;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Signature: (Ljava/util/function/Supplier<Ljava/util/Collection<Ljava/lang/Object;>;>;)Ljava/util/Collection<Ljava/lang/Object;>;
MethodParameters:
Name Flags
existing
private java.util.Collection<java.lang.Object> copyIfPossible(java.util.Collection<java.lang.Object>);
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.boot.context.properties.bind.CollectionBinder.createNewCollection:(Ljava/util/Collection;)Ljava/util/Collection;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/boot/context/properties/bind/CollectionBinder;
0 4 1 collection Ljava/util/Collection<Ljava/lang/Object;>;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Signature: (Ljava/util/Collection<Ljava/lang/Object;>;)Ljava/util/Collection<Ljava/lang/Object;>;
MethodParameters:
Name Flags
collection
private java.util.Collection<java.lang.Object> createNewCollection(java.util.Collection<java.lang.Object>);
descriptor: (Ljava/util/Collection;)Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokeinterface java.util.Collection.size:()I
invokestatic org.springframework.core.CollectionFactory.createCollection:(Ljava/lang/Class;I)Ljava/util/Collection;
astore 2
start local 2 1: aload 2
aload 1
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/CollectionBinder;
0 3 1 collection Ljava/util/Collection<Ljava/lang/Object;>;
1 3 2 result Ljava/util/Collection<Ljava/lang/Object;>;
Signature: (Ljava/util/Collection<Ljava/lang/Object;>;)Ljava/util/Collection<Ljava/lang/Object;>;
MethodParameters:
Name Flags
collection
protected java.lang.Object merge(java.util.function.Supplier, java.lang.Object);
descriptor: (Ljava/util/function/Supplier;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.util.function.Supplier
aload 2
checkcast java.util.Collection
invokevirtual org.springframework.boot.context.properties.bind.CollectionBinder.merge:(Ljava/util/function/Supplier;Ljava/util/Collection;)Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.util.Collection lambda$0(java.lang.Class, org.springframework.core.ResolvableType);
descriptor: (Ljava/lang/Class;Lorg/springframework/core/ResolvableType;)Ljava/util/Collection;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.springframework.core.ResolvableType.resolve:()Ljava/lang/Class;
iconst_0
invokestatic org.springframework.core.CollectionFactory.createCollection:(Ljava/lang/Class;Ljava/lang/Class;I)Ljava/util/Collection;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/springframework/boot/context/properties/bind/IndexedElementsBinder<Ljava/util/Collection<Ljava/lang/Object;>;>;
SourceFile: "CollectionBinder.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
final Context = org.springframework.boot.context.properties.bind.Binder$Context of org.springframework.boot.context.properties.bind.Binder
protected IndexedCollectionSupplier = org.springframework.boot.context.properties.bind.IndexedElementsBinder$IndexedCollectionSupplier of org.springframework.boot.context.properties.bind.IndexedElementsBinder