final class org.springframework.core.convert.support.GenericConversionService$ConverterAdapter implements org.springframework.core.convert.converter.ConditionalGenericConverter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.core.convert.support.GenericConversionService$ConverterAdapter
super_class: java.lang.Object
{
private final org.springframework.core.convert.converter.Converter<java.lang.Object, java.lang.Object> converter;
descriptor: Lorg/springframework/core/convert/converter/Converter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/springframework/core/convert/converter/Converter<Ljava/lang/Object;Ljava/lang/Object;>;
private final org.springframework.core.convert.converter.GenericConverter$ConvertiblePair typeInfo;
descriptor: Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.ResolvableType targetType;
descriptor: Lorg/springframework/core/ResolvableType;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.springframework.core.convert.support.GenericConversionService this$0;
descriptor: Lorg/springframework/core/convert/support/GenericConversionService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.springframework.core.convert.converter.Converter<?, ?>, org.springframework.core.ResolvableType, org.springframework.core.ResolvableType);
descriptor: (Lorg/springframework/core/convert/support/GenericConversionService;Lorg/springframework/core/convert/converter/Converter;Lorg/springframework/core/ResolvableType;Lorg/springframework/core/ResolvableType;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.this$0:Lorg/springframework/core/convert/support/GenericConversionService;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.converter:Lorg/springframework/core/convert/converter/Converter;
2: aload 0
new org.springframework.core.convert.converter.GenericConverter$ConvertiblePair
dup
aload 3
invokevirtual org.springframework.core.ResolvableType.toClass:()Ljava/lang/Class;
aload 4
invokevirtual org.springframework.core.ResolvableType.toClass:()Ljava/lang/Class;
invokespecial org.springframework.core.convert.converter.GenericConverter$ConvertiblePair.<init>:(Ljava/lang/Class;Ljava/lang/Class;)V
putfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.typeInfo:Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;
3: aload 0
aload 4
putfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.targetType:Lorg/springframework/core/ResolvableType;
4: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/core/convert/support/GenericConversionService$ConverterAdapter;
0 5 2 converter Lorg/springframework/core/convert/converter/Converter<**>;
0 5 3 sourceType Lorg/springframework/core/ResolvableType;
0 5 4 targetType Lorg/springframework/core/ResolvableType;
Signature: (Lorg/springframework/core/convert/converter/Converter<**>;Lorg/springframework/core/ResolvableType;Lorg/springframework/core/ResolvableType;)V
MethodParameters:
Name Flags
this$0 final
converter
sourceType
targetType
public java.util.Set<org.springframework.core.convert.converter.GenericConverter$ConvertiblePair> getConvertibleTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.typeInfo:Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;
invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/core/convert/support/GenericConversionService$ConverterAdapter;
Signature: ()Ljava/util/Set<Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;>;
public boolean matches(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=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.typeInfo:Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;
invokevirtual org.springframework.core.convert.converter.GenericConverter$ConvertiblePair.getTargetType:()Ljava/lang/Class;
aload 2
invokevirtual org.springframework.core.convert.TypeDescriptor.getObjectType:()Ljava/lang/Class;
if_acmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 2
invokevirtual org.springframework.core.convert.TypeDescriptor.getResolvableType:()Lorg/springframework/core/ResolvableType;
astore 3
start local 3 3: aload 3
invokevirtual org.springframework.core.ResolvableType.getType:()Ljava/lang/reflect/Type;
instanceof java.lang.Class
ifne 6
aload 3
aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.targetType:Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.isAssignableFrom:(Lorg/springframework/core/ResolvableType;)Z
ifne 6
4: aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.targetType:Lorg/springframework/core/ResolvableType;
invokevirtual org.springframework.core.ResolvableType.hasUnresolvableGenerics:()Z
ifne 6
5: iconst_0
ireturn
6: StackMap locals: org.springframework.core.ResolvableType
StackMap stack:
aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.converter:Lorg/springframework/core/convert/converter/Converter;
instanceof org.springframework.core.convert.converter.ConditionalConverter
ifeq 9
7: aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.converter:Lorg/springframework/core/convert/converter/Converter;
checkcast org.springframework.core.convert.converter.ConditionalConverter
aload 1
aload 2
invokeinterface org.springframework.core.convert.converter.ConditionalConverter.matches:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
ifne 9
8: iconst_0
ireturn
StackMap locals:
StackMap stack:
9: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/core/convert/support/GenericConversionService$ConverterAdapter;
0 10 1 sourceType Lorg/springframework/core/convert/TypeDescriptor;
0 10 2 targetType Lorg/springframework/core/convert/TypeDescriptor;
3 10 3 rt Lorg/springframework/core/ResolvableType;
MethodParameters:
Name Flags
sourceType
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=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.this$0:Lorg/springframework/core/convert/support/GenericConversionService;
aload 2
aload 3
invokevirtual org.springframework.core.convert.support.GenericConversionService.convertNullSource:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.converter:Lorg/springframework/core/convert/converter/Converter;
aload 1
invokeinterface org.springframework.core.convert.converter.Converter.convert:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/core/convert/support/GenericConversionService$ConverterAdapter;
0 3 1 source Ljava/lang/Object;
0 3 2 sourceType Lorg/springframework/core/convert/TypeDescriptor;
0 3 3 targetType Lorg/springframework/core/convert/TypeDescriptor;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
2:
MethodParameters:
Name Flags
source
sourceType
targetType
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.typeInfo:Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " : "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.springframework.core.convert.support.GenericConversionService$ConverterAdapter.converter:Lorg/springframework/core/convert/converter/Converter;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/core/convert/support/GenericConversionService$ConverterAdapter;
}
SourceFile: "GenericConversionService.java"
NestHost: org.springframework.core.convert.support.GenericConversionService
InnerClasses:
public final ConvertiblePair = org.springframework.core.convert.converter.GenericConverter$ConvertiblePair of org.springframework.core.convert.converter.GenericConverter
private final ConverterAdapter = org.springframework.core.convert.support.GenericConversionService$ConverterAdapter of org.springframework.core.convert.support.GenericConversionService