class org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService implements org.springframework.core.convert.ConversionService
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService
super_class: java.lang.Object
{
private final java.util.List<org.springframework.core.convert.ConversionService> delegates;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/core/convert/ConversionService;>;
void <init>(java.util.List<org.springframework.core.convert.ConversionService>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.delegates:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/context/properties/bind/BindConverter$CompositeConversionService;
0 3 1 delegates Ljava/util/List<Lorg/springframework/core/convert/ConversionService;>;
Signature: (Ljava/util/List<Lorg/springframework/core/convert/ConversionService;>;)V
MethodParameters:
Name Flags
delegates
public boolean canConvert(java.lang.Class<?>, java.lang.Class<?>);
descriptor: (Ljava/lang/Class;Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "Target type to convert to cannot be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
ifnull 2
aload 1
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
goto 3
StackMap locals:
StackMap stack: org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService
2: aconst_null
3: StackMap locals: org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService java.lang.Class java.lang.Class
StackMap stack: org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService org.springframework.core.convert.TypeDescriptor
aload 2
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
4: invokevirtual org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.canConvert:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
ireturn
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$CompositeConversionService;
0 5 1 sourceType Ljava/lang/Class<*>;
0 5 2 targetType Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
sourceType
targetType
public boolean canConvert(org.springframework.core.convert.TypeDescriptor, org.springframework.core.convert.TypeDescriptor);
descriptor: (Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.delegates:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService org.springframework.core.convert.TypeDescriptor org.springframework.core.convert.TypeDescriptor top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.core.convert.ConversionService
astore 3
start local 3 2: aload 3
aload 1
aload 2
invokeinterface org.springframework.core.convert.ConversionService.canConvert:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
ifeq 4
3: iconst_1
ireturn
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: iconst_0
ireturn
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$CompositeConversionService;
0 6 1 sourceType Lorg/springframework/core/convert/TypeDescriptor;
0 6 2 targetType Lorg/springframework/core/convert/TypeDescriptor;
2 4 3 service Lorg/springframework/core/convert/ConversionService;
MethodParameters:
Name Flags
sourceType
targetType
public <T> T convert(, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ldc "Target type to convert to cannot be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
aload 1
invokestatic org.springframework.core.convert.TypeDescriptor.forObject:(Ljava/lang/Object;)Lorg/springframework/core/convert/TypeDescriptor;
aload 2
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
invokevirtual org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.convert:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/context/properties/bind/BindConverter$CompositeConversionService;
0 2 1 source Ljava/lang/Object;
0 2 2 targetType Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
source
targetType
public java.lang.Object convert(java.lang.Object, org.springframework.core.convert.TypeDescriptor, org.springframework.core.convert.TypeDescriptor);
descriptor: (Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 8
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.delegates:Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.core.convert.ConversionService
astore 5
start local 5 3: aload 5
aload 2
aload 3
invokeinterface org.springframework.core.convert.ConversionService.canConvert:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
ifeq 7
4: aload 5
aload 1
aload 2
aload 3
invokeinterface org.springframework.core.convert.ConversionService.convert:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
5: areturn
end local 5 6: StackMap locals:
StackMap stack: org.springframework.core.convert.ConversionException
pop
7: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
8: iload 4
aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.delegates:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
if_icmplt 2
end local 4 9: aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.delegates:Ljava/util/List;
aload 0
getfield org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.delegates:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.springframework.core.convert.ConversionService
aload 1
aload 2
aload 3
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 10 0 this Lorg/springframework/boot/context/properties/bind/BindConverter$CompositeConversionService;
0 10 1 source Ljava/lang/Object;
0 10 2 sourceType Lorg/springframework/core/convert/TypeDescriptor;
0 10 3 targetType Lorg/springframework/core/convert/TypeDescriptor;
1 9 4 i I
3 6 5 delegate Lorg/springframework/core/convert/ConversionService;
Exception table:
from to target type
2 5 6 Class org.springframework.core.convert.ConversionException
MethodParameters:
Name Flags
source
sourceType
targetType
}
SourceFile: "BindConverter.java"
NestHost: org.springframework.boot.context.properties.bind.BindConverter
InnerClasses:
CompositeConversionService = org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService of org.springframework.boot.context.properties.bind.BindConverter