public class org.springframework.boot.convert.ApplicationConversionService extends org.springframework.format.support.FormattingConversionService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.boot.convert.ApplicationConversionService
super_class: org.springframework.format.support.FormattingConversionService
{
private static volatile org.springframework.boot.convert.ApplicationConversionService sharedInstance;
descriptor: Lorg/springframework/boot/convert/ApplicationConversionService;
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.springframework.boot.convert.ApplicationConversionService.<init>:(Lorg/springframework/util/StringValueResolver;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/boot/convert/ApplicationConversionService;
public void <init>(org.springframework.util.StringValueResolver);
descriptor: (Lorg/springframework/util/StringValueResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.format.support.FormattingConversionService.<init>:()V
1: aload 1
ifnull 3
2: aload 0
aload 1
invokevirtual org.springframework.boot.convert.ApplicationConversionService.setEmbeddedValueResolver:(Lorg/springframework/util/StringValueResolver;)V
3: StackMap locals: org.springframework.boot.convert.ApplicationConversionService org.springframework.util.StringValueResolver
StackMap stack:
aload 0
invokestatic org.springframework.boot.convert.ApplicationConversionService.configure:(Lorg/springframework/format/FormatterRegistry;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/boot/convert/ApplicationConversionService;
0 5 1 embeddedValueResolver Lorg/springframework/util/StringValueResolver;
MethodParameters:
Name Flags
embeddedValueResolver
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.boot.convert.ApplicationConversionService.sharedInstance:Lorg/springframework/boot/convert/ApplicationConversionService;
astore 0
start local 0 1: aload 0
ifnonnull 11
2: ldc Lorg/springframework/boot/convert/ApplicationConversionService;
dup
astore 1
monitorenter
3: getstatic org.springframework.boot.convert.ApplicationConversionService.sharedInstance:Lorg/springframework/boot/convert/ApplicationConversionService;
astore 0
4: aload 0
ifnonnull 7
5: new org.springframework.boot.convert.ApplicationConversionService
dup
invokespecial org.springframework.boot.convert.ApplicationConversionService.<init>:()V
astore 0
6: aload 0
putstatic org.springframework.boot.convert.ApplicationConversionService.sharedInstance:Lorg/springframework/boot/convert/ApplicationConversionService;
7: StackMap locals: org.springframework.boot.convert.ApplicationConversionService 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 sharedInstance Lorg/springframework/boot/convert/ApplicationConversionService;
Exception table:
from to target type
3 8 9 any
9 10 9 any
public static void configure(org.springframework.format.FormatterRegistry);
descriptor: (Lorg/springframework/format/FormatterRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.core.convert.support.DefaultConversionService.addDefaultConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
1: aload 0
invokestatic org.springframework.format.support.DefaultFormattingConversionService.addDefaultFormatters:(Lorg/springframework/format/FormatterRegistry;)V
2: aload 0
invokestatic org.springframework.boot.convert.ApplicationConversionService.addApplicationFormatters:(Lorg/springframework/format/FormatterRegistry;)V
3: aload 0
invokestatic org.springframework.boot.convert.ApplicationConversionService.addApplicationConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 registry Lorg/springframework/format/FormatterRegistry;
MethodParameters:
Name Flags
registry
public static void addApplicationConverters(org.springframework.core.convert.converter.ConverterRegistry);
descriptor: (Lorg/springframework/core/convert/converter/ConverterRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.springframework.boot.convert.ApplicationConversionService.addDelimitedStringConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
1: aload 0
new org.springframework.boot.convert.StringToDurationConverter
dup
invokespecial org.springframework.boot.convert.StringToDurationConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
2: aload 0
new org.springframework.boot.convert.DurationToStringConverter
dup
invokespecial org.springframework.boot.convert.DurationToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
3: aload 0
new org.springframework.boot.convert.NumberToDurationConverter
dup
invokespecial org.springframework.boot.convert.NumberToDurationConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
4: aload 0
new org.springframework.boot.convert.DurationToNumberConverter
dup
invokespecial org.springframework.boot.convert.DurationToNumberConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
5: aload 0
new org.springframework.boot.convert.StringToPeriodConverter
dup
invokespecial org.springframework.boot.convert.StringToPeriodConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
6: aload 0
new org.springframework.boot.convert.PeriodToStringConverter
dup
invokespecial org.springframework.boot.convert.PeriodToStringConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
7: aload 0
new org.springframework.boot.convert.NumberToPeriodConverter
dup
invokespecial org.springframework.boot.convert.NumberToPeriodConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
8: aload 0
new org.springframework.boot.convert.StringToDataSizeConverter
dup
invokespecial org.springframework.boot.convert.StringToDataSizeConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
9: aload 0
new org.springframework.boot.convert.NumberToDataSizeConverter
dup
invokespecial org.springframework.boot.convert.NumberToDataSizeConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
10: aload 0
new org.springframework.boot.convert.StringToFileConverter
dup
invokespecial org.springframework.boot.convert.StringToFileConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
11: aload 0
new org.springframework.boot.convert.InputStreamSourceToByteArrayConverter
dup
invokespecial org.springframework.boot.convert.InputStreamSourceToByteArrayConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
12: aload 0
new org.springframework.boot.convert.LenientStringToEnumConverterFactory
dup
invokespecial org.springframework.boot.convert.LenientStringToEnumConverterFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
13: aload 0
new org.springframework.boot.convert.LenientBooleanToEnumConverterFactory
dup
invokespecial org.springframework.boot.convert.LenientBooleanToEnumConverterFactory.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverterFactory:(Lorg/springframework/core/convert/converter/ConverterFactory;)V
14: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 registry Lorg/springframework/core/convert/converter/ConverterRegistry;
MethodParameters:
Name Flags
registry
public static void addDelimitedStringConverters(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.boot.convert.ArrayToDelimitedStringConverter
dup
aload 1
invokespecial org.springframework.boot.convert.ArrayToDelimitedStringConverter.<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.boot.convert.CollectionToDelimitedStringConverter
dup
aload 1
invokespecial org.springframework.boot.convert.CollectionToDelimitedStringConverter.<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.boot.convert.DelimitedStringToArrayConverter
dup
aload 1
invokespecial org.springframework.boot.convert.DelimitedStringToArrayConverter.<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.boot.convert.DelimitedStringToCollectionConverter
dup
aload 1
invokespecial org.springframework.boot.convert.DelimitedStringToCollectionConverter.<init>:(Lorg/springframework/core/convert/ConversionService;)V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 registry Lorg/springframework/core/convert/converter/ConverterRegistry;
1 6 1 service Lorg/springframework/core/convert/ConversionService;
MethodParameters:
Name Flags
registry
public static void addApplicationFormatters(org.springframework.format.FormatterRegistry);
descriptor: (Lorg/springframework/format/FormatterRegistry;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.springframework.boot.convert.CharArrayFormatter
dup
invokespecial org.springframework.boot.convert.CharArrayFormatter.<init>:()V
invokeinterface org.springframework.format.FormatterRegistry.addFormatter:(Lorg/springframework/format/Formatter;)V
1: aload 0
new org.springframework.boot.convert.InetAddressFormatter
dup
invokespecial org.springframework.boot.convert.InetAddressFormatter.<init>:()V
invokeinterface org.springframework.format.FormatterRegistry.addFormatter:(Lorg/springframework/format/Formatter;)V
2: aload 0
new org.springframework.boot.convert.IsoOffsetFormatter
dup
invokespecial org.springframework.boot.convert.IsoOffsetFormatter.<init>:()V
invokeinterface org.springframework.format.FormatterRegistry.addFormatter:(Lorg/springframework/format/Formatter;)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 registry Lorg/springframework/format/FormatterRegistry;
MethodParameters:
Name Flags
registry
public static void addBeans(org.springframework.format.FormatterRegistry, org.springframework.beans.factory.ListableBeanFactory);
descriptor: (Lorg/springframework/format/FormatterRegistry;Lorg/springframework/beans/factory/ListableBeanFactory;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 2
start local 2 1: aload 2
aload 1
ldc Lorg/springframework/core/convert/converter/GenericConverter;
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;)Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
2: aload 2
aload 1
ldc Lorg/springframework/core/convert/converter/Converter;
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;)Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
3: aload 2
aload 1
ldc Lorg/springframework/format/Printer;
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;)Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
4: aload 2
aload 1
ldc Lorg/springframework/format/Parser;
invokeinterface org.springframework.beans.factory.ListableBeanFactory.getBeansOfType:(Ljava/lang/Class;)Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
5: aload 2
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 21
StackMap locals: org.springframework.format.FormatterRegistry org.springframework.beans.factory.ListableBeanFactory java.util.Set top java.util.Iterator
StackMap stack:
6: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 7: aload 3
instanceof org.springframework.core.convert.converter.GenericConverter
ifeq 10
8: aload 0
aload 3
checkcast org.springframework.core.convert.converter.GenericConverter
invokeinterface org.springframework.format.FormatterRegistry.addConverter:(Lorg/springframework/core/convert/converter/GenericConverter;)V
9: goto 21
10: StackMap locals: org.springframework.format.FormatterRegistry org.springframework.beans.factory.ListableBeanFactory java.util.Set java.lang.Object java.util.Iterator
StackMap stack:
aload 3
instanceof org.springframework.core.convert.converter.Converter
ifeq 13
11: aload 0
aload 3
checkcast org.springframework.core.convert.converter.Converter
invokeinterface org.springframework.format.FormatterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
12: goto 21
13: StackMap locals:
StackMap stack:
aload 3
instanceof org.springframework.format.Formatter
ifeq 16
14: aload 0
aload 3
checkcast org.springframework.format.Formatter
invokeinterface org.springframework.format.FormatterRegistry.addFormatter:(Lorg/springframework/format/Formatter;)V
15: goto 21
16: StackMap locals:
StackMap stack:
aload 3
instanceof org.springframework.format.Printer
ifeq 19
17: aload 0
aload 3
checkcast org.springframework.format.Printer
invokeinterface org.springframework.format.FormatterRegistry.addPrinter:(Lorg/springframework/format/Printer;)V
18: goto 21
19: StackMap locals:
StackMap stack:
aload 3
instanceof org.springframework.format.Parser
ifeq 21
20: aload 0
aload 3
checkcast org.springframework.format.Parser
invokeinterface org.springframework.format.FormatterRegistry.addParser:(Lorg/springframework/format/Parser;)V
end local 3 21: StackMap locals: org.springframework.format.FormatterRegistry org.springframework.beans.factory.ListableBeanFactory java.util.Set top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
22: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 registry Lorg/springframework/format/FormatterRegistry;
0 23 1 beanFactory Lorg/springframework/beans/factory/ListableBeanFactory;
1 23 2 beans Ljava/util/Set<Ljava/lang/Object;>;
7 21 3 bean Ljava/lang/Object;
MethodParameters:
Name Flags
registry
beanFactory
}
SourceFile: "ApplicationConversionService.java"