public class org.springframework.format.datetime.DateFormatterRegistrar implements org.springframework.format.FormatterRegistrar
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.format.datetime.DateFormatterRegistrar
super_class: java.lang.Object
{
private org.springframework.format.datetime.DateFormatter dateFormatter;
descriptor: Lorg/springframework/format/datetime/DateFormatter;
flags: (0x0002) ACC_PRIVATE
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/format/datetime/DateFormatterRegistrar;
public void setFormatter(org.springframework.format.datetime.DateFormatter);
descriptor: (Lorg/springframework/format/datetime/DateFormatter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "DateFormatter must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.format.datetime.DateFormatterRegistrar.dateFormatter:Lorg/springframework/format/datetime/DateFormatter;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/format/datetime/DateFormatterRegistrar;
0 3 1 dateFormatter Lorg/springframework/format/datetime/DateFormatter;
MethodParameters:
Name Flags
dateFormatter
public void registerFormatters(org.springframework.format.FormatterRegistry);
descriptor: (Lorg/springframework/format/FormatterRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.format.datetime.DateFormatterRegistrar.addDateConverters:(Lorg/springframework/core/convert/converter/ConverterRegistry;)V
1: aload 1
new org.springframework.format.datetime.DateTimeFormatAnnotationFormatterFactory
dup
invokespecial org.springframework.format.datetime.DateTimeFormatAnnotationFormatterFactory.<init>:()V
invokeinterface org.springframework.format.FormatterRegistry.addFormatterForFieldAnnotation:(Lorg/springframework/format/AnnotationFormatterFactory;)V
2: aload 0
getfield org.springframework.format.datetime.DateFormatterRegistrar.dateFormatter:Lorg/springframework/format/datetime/DateFormatter;
ifnull 5
3: aload 1
aload 0
getfield org.springframework.format.datetime.DateFormatterRegistrar.dateFormatter:Lorg/springframework/format/datetime/DateFormatter;
invokeinterface org.springframework.format.FormatterRegistry.addFormatter:(Lorg/springframework/format/Formatter;)V
4: aload 1
ldc Ljava/util/Calendar;
aload 0
getfield org.springframework.format.datetime.DateFormatterRegistrar.dateFormatter:Lorg/springframework/format/datetime/DateFormatter;
invokeinterface org.springframework.format.FormatterRegistry.addFormatterForFieldType:(Ljava/lang/Class;Lorg/springframework/format/Formatter;)V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/format/datetime/DateFormatterRegistrar;
0 6 1 registry Lorg/springframework/format/FormatterRegistry;
MethodParameters:
Name Flags
registry
public static void addDateConverters(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
new org.springframework.format.datetime.DateFormatterRegistrar$DateToLongConverter
dup
invokespecial org.springframework.format.datetime.DateFormatterRegistrar$DateToLongConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
1: aload 0
new org.springframework.format.datetime.DateFormatterRegistrar$DateToCalendarConverter
dup
invokespecial org.springframework.format.datetime.DateFormatterRegistrar$DateToCalendarConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
2: aload 0
new org.springframework.format.datetime.DateFormatterRegistrar$CalendarToDateConverter
dup
invokespecial org.springframework.format.datetime.DateFormatterRegistrar$CalendarToDateConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
3: aload 0
new org.springframework.format.datetime.DateFormatterRegistrar$CalendarToLongConverter
dup
invokespecial org.springframework.format.datetime.DateFormatterRegistrar$CalendarToLongConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
4: aload 0
new org.springframework.format.datetime.DateFormatterRegistrar$LongToDateConverter
dup
invokespecial org.springframework.format.datetime.DateFormatterRegistrar$LongToDateConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
5: aload 0
new org.springframework.format.datetime.DateFormatterRegistrar$LongToCalendarConverter
dup
invokespecial org.springframework.format.datetime.DateFormatterRegistrar$LongToCalendarConverter.<init>:()V
invokeinterface org.springframework.core.convert.converter.ConverterRegistry.addConverter:(Lorg/springframework/core/convert/converter/Converter;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 converterRegistry Lorg/springframework/core/convert/converter/ConverterRegistry;
MethodParameters:
Name Flags
converterRegistry
}
SourceFile: "DateFormatterRegistrar.java"
NestMembers:
org.springframework.format.datetime.DateFormatterRegistrar$CalendarToDateConverter org.springframework.format.datetime.DateFormatterRegistrar$CalendarToLongConverter org.springframework.format.datetime.DateFormatterRegistrar$DateToCalendarConverter org.springframework.format.datetime.DateFormatterRegistrar$DateToLongConverter org.springframework.format.datetime.DateFormatterRegistrar$LongToCalendarConverter org.springframework.format.datetime.DateFormatterRegistrar$LongToDateConverter
InnerClasses:
private CalendarToDateConverter = org.springframework.format.datetime.DateFormatterRegistrar$CalendarToDateConverter of org.springframework.format.datetime.DateFormatterRegistrar
private CalendarToLongConverter = org.springframework.format.datetime.DateFormatterRegistrar$CalendarToLongConverter of org.springframework.format.datetime.DateFormatterRegistrar
private DateToCalendarConverter = org.springframework.format.datetime.DateFormatterRegistrar$DateToCalendarConverter of org.springframework.format.datetime.DateFormatterRegistrar
private DateToLongConverter = org.springframework.format.datetime.DateFormatterRegistrar$DateToLongConverter of org.springframework.format.datetime.DateFormatterRegistrar
private LongToCalendarConverter = org.springframework.format.datetime.DateFormatterRegistrar$LongToCalendarConverter of org.springframework.format.datetime.DateFormatterRegistrar
private LongToDateConverter = org.springframework.format.datetime.DateFormatterRegistrar$LongToDateConverter of org.springframework.format.datetime.DateFormatterRegistrar