final class org.springframework.boot.context.properties.bind.BindConverter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.BindConverter
super_class: java.lang.Object
{
private static final java.util.Set<java.lang.Class<?>> EXCLUDED_EDITORS;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/Class<*>;>;
private static org.springframework.boot.context.properties.bind.BindConverter sharedInstance;
descriptor: Lorg/springframework/boot/context/properties/bind/BindConverter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final org.springframework.core.convert.ConversionService conversionService;
descriptor: Lorg/springframework/core/convert/ConversionService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 0
start local 0 1: aload 0
ldc Lorg/springframework/beans/propertyeditors/FileEditor;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
2: aload 0
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
putstatic org.springframework.boot.context.properties.bind.BindConverter.EXCLUDED_EDITORS:Ljava/util/Set;
end local 0 3: return
LocalVariableTable:
Start End Slot Name Signature
1 3 0 excluded Ljava/util/Set<Ljava/lang/Class<*>;>;
private void <init>(org.springframework.core.convert.ConversionService, java.util.function.Consumer<org.springframework.beans.PropertyEditorRegistry>);
descriptor: (Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "ConversionService must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
3: aload 2
4: invokevirtual org.springframework.boot.context.properties.bind.BindConverter.getConversionServices:(Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer;)Ljava/util/List;
astore 3
start local 3 5: aload 0
new org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService
dup
aload 3
invokespecial org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.<init>:(Ljava/util/List;)V
putfield org.springframework.boot.context.properties.bind.BindConverter.conversionService:Lorg/springframework/core/convert/ConversionService;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/boot/context/properties/bind/BindConverter;
0 7 1 conversionService Lorg/springframework/core/convert/ConversionService;
0 7 2 propertyEditorInitializer Ljava/util/function/Consumer<Lorg/springframework/beans/PropertyEditorRegistry;>;
5 7 3 conversionServices Ljava/util/List<Lorg/springframework/core/convert/ConversionService;>;
Signature: (Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer<Lorg/springframework/beans/PropertyEditorRegistry;>;)V
MethodParameters:
Name Flags
conversionService
propertyEditorInitializer
private java.util.List<org.springframework.core.convert.ConversionService> getConversionServices(org.springframework.core.convert.ConversionService, java.util.function.Consumer<org.springframework.beans.PropertyEditorRegistry>);
descriptor: (Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 3
new org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConversionService
dup
aload 2
invokespecial org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConversionService.<init>:(Ljava/util/function/Consumer;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 3
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
instanceof org.springframework.boot.convert.ApplicationConversionService
ifne 5
4: aload 3
invokestatic org.springframework.boot.convert.ApplicationConversionService.getSharedInstance:()Lorg/springframework/core/convert/ConversionService;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals: java.util.List
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/boot/context/properties/bind/BindConverter;
0 6 1 conversionService Lorg/springframework/core/convert/ConversionService;
0 6 2 propertyEditorInitializer Ljava/util/function/Consumer<Lorg/springframework/beans/PropertyEditorRegistry;>;
1 6 3 services Ljava/util/List<Lorg/springframework/core/convert/ConversionService;>;
Signature: (Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer<Lorg/springframework/beans/PropertyEditorRegistry;>;)Ljava/util/List<Lorg/springframework/core/convert/ConversionService;>;
MethodParameters:
Name Flags
conversionService
propertyEditorInitializer
boolean canConvert(java.lang.Object, org.springframework.core.ResolvableType, java.lang.annotation.Annotation[]);
descriptor: (Ljava/lang/Object;Lorg/springframework/core/ResolvableType;[Ljava/lang/annotation/Annotation;)Z
flags: (0x0080) ACC_VARARGS
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter.conversionService:Lorg/springframework/core/convert/ConversionService;
aload 1
invokestatic org.springframework.core.convert.TypeDescriptor.forObject:(Ljava/lang/Object;)Lorg/springframework/core/convert/TypeDescriptor;
1: new org.springframework.boot.context.properties.bind.BindConverter$ResolvableTypeDescriptor
dup
aload 2
aload 3
invokespecial org.springframework.boot.context.properties.bind.BindConverter$ResolvableTypeDescriptor.<init>:(Lorg/springframework/core/ResolvableType;[Ljava/lang/annotation/Annotation;)V
2: invokeinterface org.springframework.core.convert.ConversionService.canConvert:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
ireturn
end local 3 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/BindConverter;
0 3 1 value Ljava/lang/Object;
0 3 2 type Lorg/springframework/core/ResolvableType;
0 3 3 annotations [Ljava/lang/annotation/Annotation;
MethodParameters:
Name Flags
value
type
annotations
<T> T convert(, org.springframework.boot.context.properties.bind.Bindable<T>);
descriptor: (Ljava/lang/Object;Lorg/springframework/boot/context/properties/bind/Bindable;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getType:()Lorg/springframework/core/ResolvableType;
aload 2
invokevirtual org.springframework.boot.context.properties.bind.Bindable.getAnnotations:()[Ljava/lang/annotation/Annotation;
invokevirtual org.springframework.boot.context.properties.bind.BindConverter.convert:(Ljava/lang/Object;Lorg/springframework/core/ResolvableType;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/boot/context/properties/bind/BindConverter;
0 1 1 result Ljava/lang/Object;
0 1 2 target Lorg/springframework/boot/context/properties/bind/Bindable<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Lorg/springframework/boot/context/properties/bind/Bindable<TT;>;)TT;
MethodParameters:
Name Flags
result
target
<T> T convert(, org.springframework.core.ResolvableType, java.lang.annotation.Annotation[]);
descriptor: (Ljava/lang/Object;Lorg/springframework/core/ResolvableType;[Ljava/lang/annotation/Annotation;)Ljava/lang/Object;
flags: (0x0080) ACC_VARARGS
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter.conversionService:Lorg/springframework/core/convert/ConversionService;
aload 1
aload 1
invokestatic org.springframework.core.convert.TypeDescriptor.forObject:(Ljava/lang/Object;)Lorg/springframework/core/convert/TypeDescriptor;
3: new org.springframework.boot.context.properties.bind.BindConverter$ResolvableTypeDescriptor
dup
aload 2
aload 3
invokespecial org.springframework.boot.context.properties.bind.BindConverter$ResolvableTypeDescriptor.<init>:(Lorg/springframework/core/ResolvableType;[Ljava/lang/annotation/Annotation;)V
4: invokeinterface org.springframework.core.convert.ConversionService.convert:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/context/properties/bind/BindConverter;
0 5 1 value Ljava/lang/Object;
0 5 2 type Lorg/springframework/core/ResolvableType;
0 5 3 annotations [Ljava/lang/annotation/Annotation;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Lorg/springframework/core/ResolvableType;[Ljava/lang/annotation/Annotation;)TT;
MethodParameters:
Name Flags
value
type
annotations
static org.springframework.boot.context.properties.bind.BindConverter get(org.springframework.core.convert.ConversionService, java.util.function.Consumer<org.springframework.beans.PropertyEditorRegistry>);
descriptor: (Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer;)Lorg/springframework/boot/context/properties/bind/BindConverter;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.springframework.boot.convert.ApplicationConversionService.getSharedInstance:()Lorg/springframework/core/convert/ConversionService;
if_acmpne 5
1: aload 1
ifnonnull 5
2: getstatic org.springframework.boot.context.properties.bind.BindConverter.sharedInstance:Lorg/springframework/boot/context/properties/bind/BindConverter;
ifnonnull 4
3: new org.springframework.boot.context.properties.bind.BindConverter
dup
aload 0
aload 1
invokespecial org.springframework.boot.context.properties.bind.BindConverter.<init>:(Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer;)V
putstatic org.springframework.boot.context.properties.bind.BindConverter.sharedInstance:Lorg/springframework/boot/context/properties/bind/BindConverter;
4: StackMap locals:
StackMap stack:
getstatic org.springframework.boot.context.properties.bind.BindConverter.sharedInstance:Lorg/springframework/boot/context/properties/bind/BindConverter;
areturn
5: StackMap locals:
StackMap stack:
new org.springframework.boot.context.properties.bind.BindConverter
dup
aload 0
aload 1
invokespecial org.springframework.boot.context.properties.bind.BindConverter.<init>:(Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 conversionService Lorg/springframework/core/convert/ConversionService;
0 6 1 propertyEditorInitializer Ljava/util/function/Consumer<Lorg/springframework/beans/PropertyEditorRegistry;>;
Signature: (Lorg/springframework/core/convert/ConversionService;Ljava/util/function/Consumer<Lorg/springframework/beans/PropertyEditorRegistry;>;)Lorg/springframework/boot/context/properties/bind/BindConverter;
MethodParameters:
Name Flags
conversionService
propertyEditorInitializer
}
SourceFile: "BindConverter.java"
NestMembers:
org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService org.springframework.boot.context.properties.bind.BindConverter$ResolvableTypeDescriptor org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConversionService org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConverter
InnerClasses:
CompositeConversionService = org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService of org.springframework.boot.context.properties.bind.BindConverter
private ResolvableTypeDescriptor = org.springframework.boot.context.properties.bind.BindConverter$ResolvableTypeDescriptor of org.springframework.boot.context.properties.bind.BindConverter
private TypeConverterConversionService = org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConversionService of org.springframework.boot.context.properties.bind.BindConverter
private TypeConverterConverter = org.springframework.boot.context.properties.bind.BindConverter$TypeConverterConverter of org.springframework.boot.context.properties.bind.BindConverter