public class org.springframework.core.convert.support.DefaultConversionService extends org.springframework.core.convert.support.GenericConversionService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.core.convert.support.DefaultConversionService
super_class: org.springframework.core.convert.support.GenericConversionService
{
private static volatile org.springframework.core.convert.support.DefaultConversionService sharedInstance;
descriptor: Lorg/springframework/core/convert/support/DefaultConversionService;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.core.convert.support.GenericConversionService.<init>:()V
1: aload 0
invokestatic org.springframework.core.convert.support.DefaultConversionService.addDefaultConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/core/convert/support/DefaultConversionService;
public static org.springframework.core.convert.ConversionService getSharedInstance();
descriptor: ()Lorg/springframework/core/convert/ConversionService;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: getstatic org.springframework.core.convert.support.DefaultConversionService.sharedInstance:Lorg/springframework/core/convert/support/DefaultConversionService;
astore 0
start local 0 1: aload 0
ifnonnull 11
2: ldc Lorg/springframework/core/convert/support/DefaultConversionService;
dup
astore 1
monitorenter
3: getstatic org.springframework.core.convert.support.DefaultConversionService.sharedInstance:Lorg/springframework/core/convert/support/DefaultConversionService;
astore 0
4: aload 0
ifnonnull 7
5: new org.springframework.core.convert.support.DefaultConversionService
dup
invokespecial org.springframework.core.convert.support.DefaultConversionService.<init>:()V
astore 0
6: aload 0
putstatic org.springframework.core.convert.support.DefaultConversionService.sharedInstance:Lorg/springframework/core/convert/support/DefaultConversionService;
7: StackMap locals: org.springframework.core.convert.support.DefaultConversionService java.lang.Class
StackMap stack:
aload 1
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 1
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 12 0 cs Lorg/springframework/core/convert/support/DefaultConversionService;
Exception table:
from to target type
3 8 9 any
9 10 9 any
public static void addDefaultConverters(org.springframework.core.convert.converter.ConverterRegistry);
descriptor: (Lorg/springframework/core/convert/converter/ConverterRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.core.convert.support.DefaultConversionService.addScalarConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
1: aload 0
invokestatic org.springframework.core.convert.support.DefaultConversionService.addCollectionConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
2: aload 0
new org.springframework.core.convert.support.ByteBufferConverter
dup
aload 0
checkcast org.springframework.core.convert.ConversionService
invokespecial org.springframework.core.convert.support.ByteBufferConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
3: aload 0
new org.springframework.core.convert.support.StringToTimeZoneConverter
dup
invokespecial org.springframework.core.convert.support.StringToTimeZoneConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
4: aload 0
new org.springframework.core.convert.support.ZoneIdToTimeZoneConverter
dup
invokespecial org.springframework.core.convert.support.ZoneIdToTimeZoneConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
5: aload 0
new org.springframework.core.convert.support.ZonedDateTimeToCalendarConverter
dup
invokespecial org.springframework.core.convert.support.ZonedDateTimeToCalendarConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
6: aload 0
new org.springframework.core.convert.support.ObjectToObjectConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToObjectConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
7: aload 0
new org.springframework.core.convert.support.IdToEntityConverter
dup
aload 0
checkcast org.springframework.core.convert.ConversionService
invokespecial org.springframework.core.convert.support.IdToEntityConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
8: aload 0
new org.springframework.core.convert.support.FallbackObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.FallbackObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
9: aload 0
new org.springframework.core.convert.support.ObjectToOptionalConverter
dup
aload 0
checkcast org.springframework.core.convert.ConversionService
invokespecial org.springframework.core.convert.support.ObjectToOptionalConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
10: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 converterRegistry Lorg/springframework/core/convert/converter/ConverterRegistry;
MethodParameters:
Name Flags
converterRegistry
public static void addCollectionConverters(org.springframework.core.convert.converter.ConverterRegistry);
descriptor: (Lorg/springframework/core/convert/converter/ConverterRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
checkcast org.springframework.core.convert.ConversionService
astore 1
start local 1 1: aload 0
new org.springframework.core.convert.support.ArrayToCollectionConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.ArrayToCollectionConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
2: aload 0
new org.springframework.core.convert.support.CollectionToArrayConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.CollectionToArrayConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
3: aload 0
new org.springframework.core.convert.support.ArrayToArrayConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.ArrayToArrayConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
4: aload 0
new org.springframework.core.convert.support.CollectionToCollectionConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.CollectionToCollectionConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
5: aload 0
new org.springframework.core.convert.support.MapToMapConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.MapToMapConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
6: aload 0
new org.springframework.core.convert.support.ArrayToStringConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.ArrayToStringConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
7: aload 0
new org.springframework.core.convert.support.StringToArrayConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.StringToArrayConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
8: aload 0
new org.springframework.core.convert.support.ArrayToObjectConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.ArrayToObjectConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
9: aload 0
new org.springframework.core.convert.support.ObjectToArrayConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.ObjectToArrayConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
10: aload 0
new org.springframework.core.convert.support.CollectionToStringConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.CollectionToStringConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
11: aload 0
new org.springframework.core.convert.support.StringToCollectionConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.StringToCollectionConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
12: aload 0
new org.springframework.core.convert.support.CollectionToObjectConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.CollectionToObjectConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
13: aload 0
new org.springframework.core.convert.support.ObjectToCollectionConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.ObjectToCollectionConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
14: aload 0
new org.springframework.core.convert.support.StreamConverter
dup
aload 1
invokespecial org.springframework.core.convert.support.StreamConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 converterRegistry Lorg/springframework/core/convert/converter/ConverterRegistry;
1 16 1 conversionService Lorg/springframework/core/convert/ConversionService;
MethodParameters:
Name Flags
converterRegistry
private static void addScalarConverters(org.springframework.core.convert.converter.ConverterRegistry);
descriptor: (Lorg/springframework/core/convert/converter/ConverterRegistry;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
new org.springframework.core.convert.support.NumberToNumberConverterFactory
dup
invokespecial org.springframework.core.convert.support.NumberToNumberConverterFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
1: aload 0
new org.springframework.core.convert.support.StringToNumberConverterFactory
dup
invokespecial org.springframework.core.convert.support.StringToNumberConverterFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
2: aload 0
ldc Ljava/lang/Number;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
3: aload 0
new org.springframework.core.convert.support.StringToCharacterConverter
dup
invokespecial org.springframework.core.convert.support.StringToCharacterConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
4: aload 0
ldc Ljava/lang/Character;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
5: aload 0
new org.springframework.core.convert.support.NumberToCharacterConverter
dup
invokespecial org.springframework.core.convert.support.NumberToCharacterConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
6: aload 0
new org.springframework.core.convert.support.CharacterToNumberFactory
dup
invokespecial org.springframework.core.convert.support.CharacterToNumberFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
7: aload 0
new org.springframework.core.convert.support.StringToBooleanConverter
dup
invokespecial org.springframework.core.convert.support.StringToBooleanConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
8: aload 0
ldc Ljava/lang/Boolean;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
9: aload 0
new org.springframework.core.convert.support.StringToEnumConverterFactory
dup
invokespecial org.springframework.core.convert.support.StringToEnumConverterFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
10: aload 0
new org.springframework.core.convert.support.EnumToStringConverter
dup
aload 0
checkcast org.springframework.core.convert.ConversionService
invokespecial org.springframework.core.convert.support.EnumToStringConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
11: aload 0
new org.springframework.core.convert.support.IntegerToEnumConverterFactory
dup
invokespecial org.springframework.core.convert.support.IntegerToEnumConverterFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
12: aload 0
new org.springframework.core.convert.support.EnumToIntegerConverter
dup
aload 0
checkcast org.springframework.core.convert.ConversionService
invokespecial org.springframework.core.convert.support.EnumToIntegerConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
13: aload 0
new org.springframework.core.convert.support.StringToLocaleConverter
dup
invokespecial org.springframework.core.convert.support.StringToLocaleConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
14: aload 0
ldc Ljava/util/Locale;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
15: aload 0
new org.springframework.core.convert.support.StringToCharsetConverter
dup
invokespecial org.springframework.core.convert.support.StringToCharsetConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
16: aload 0
ldc Ljava/nio/charset/Charset;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
17: aload 0
new org.springframework.core.convert.support.StringToCurrencyConverter
dup
invokespecial org.springframework.core.convert.support.StringToCurrencyConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
18: aload 0
ldc Ljava/util/Currency;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
19: aload 0
new org.springframework.core.convert.support.StringToPropertiesConverter
dup
invokespecial org.springframework.core.convert.support.StringToPropertiesConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
20: aload 0
new org.springframework.core.convert.support.PropertiesToStringConverter
dup
invokespecial org.springframework.core.convert.support.PropertiesToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
21: aload 0
new org.springframework.core.convert.support.StringToUUIDConverter
dup
invokespecial org.springframework.core.convert.support.StringToUUIDConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
22: aload 0
ldc Ljava/util/UUID;
ldc Ljava/lang/String;
new org.springframework.core.convert.support.ObjectToStringConverter
dup
invokespecial org.springframework.core.convert.support.ObjectToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Ljava/lang/Class;Ljava/lang/Class;Lorg/springframework/core/convert/converter/Converter;)V
23: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 converterRegistry Lorg/springframework/core/convert/converter/ConverterRegistry;
MethodParameters:
Name Flags
converterRegistry
}
SourceFile: "DefaultConversionService.java"