final class org.springframework.boot.convert.NumberToDurationConverter implements org.springframework.core.convert.converter.GenericConverter
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.springframework.boot.convert.NumberToDurationConverter
super_class: java.lang.Object
{
private final org.springframework.boot.convert.StringToDurationConverter delegate;
descriptor: Lorg/springframework/boot/convert/StringToDurationConverter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.boot.convert.StringToDurationConverter
dup
invokespecial org.springframework.boot.convert.StringToDurationConverter.<init>:()V
putfield org.springframework.boot.convert.NumberToDurationConverter.delegate:Lorg/springframework/boot/convert/StringToDurationConverter;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/boot/convert/NumberToDurationConverter;
public java.util.Set<org.springframework.core.convert.converter.GenericConverter$ConvertiblePair> getConvertibleTypes();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new org.springframework.core.convert.converter.GenericConverter$ConvertiblePair
dup
ldc Ljava/lang/Number;
ldc Ljava/time/Duration;
invokespecial org.springframework.core.convert.converter.GenericConverter$ConvertiblePair.<init>:(Ljava/lang/Class;Ljava/lang/Class;)V
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/boot/convert/NumberToDurationConverter;
Signature: ()Ljava/util/Set<Lorg/springframework/core/convert/converter/GenericConverter$ConvertiblePair;>;
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=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.boot.convert.NumberToDurationConverter.delegate:Lorg/springframework/boot/convert/StringToDurationConverter;
aload 1
ifnull 1
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack: org.springframework.boot.convert.StringToDurationConverter
1: aconst_null
StackMap locals: org.springframework.boot.convert.NumberToDurationConverter java.lang.Object org.springframework.core.convert.TypeDescriptor org.springframework.core.convert.TypeDescriptor
StackMap stack: org.springframework.boot.convert.StringToDurationConverter java.lang.String
2: ldc Ljava/lang/String;
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
3: aload 3
4: invokevirtual org.springframework.boot.convert.StringToDurationConverter.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 5 0 this Lorg/springframework/boot/convert/NumberToDurationConverter;
0 5 1 source Ljava/lang/Object;
0 5 2 sourceType Lorg/springframework/core/convert/TypeDescriptor;
0 5 3 targetType Lorg/springframework/core/convert/TypeDescriptor;
MethodParameters:
Name Flags
source
sourceType
targetType
}
SourceFile: "NumberToDurationConverter.java"
InnerClasses:
public final ConvertiblePair = org.springframework.core.convert.converter.GenericConverter$ConvertiblePair of org.springframework.core.convert.converter.GenericConverter