public class org.springframework.core.convert.support.ConvertingPropertyEditorAdapter extends java.beans.PropertyEditorSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.core.convert.support.ConvertingPropertyEditorAdapter
super_class: java.beans.PropertyEditorSupport
{
private final org.springframework.core.convert.ConversionService conversionService;
descriptor: Lorg/springframework/core/convert/ConversionService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.convert.TypeDescriptor targetDescriptor;
descriptor: Lorg/springframework/core/convert/TypeDescriptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean canConvertToString;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.convert.ConversionService, org.springframework.core.convert.TypeDescriptor);
descriptor: (Lorg/springframework/core/convert/ConversionService;Lorg/springframework/core/convert/TypeDescriptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.beans.PropertyEditorSupport.<init>:()V
1: aload 1
ldc "ConversionService must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 2
ldc "TypeDescriptor must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 0
aload 1
putfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.conversionService:Lorg/springframework/core/convert/ConversionService;
4: aload 0
aload 2
putfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.targetDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
5: aload 0
aload 1
aload 0
getfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.targetDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
ldc Ljava/lang/String;
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
invokeinterface org.springframework.core.convert.ConversionService.canConvert:(Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Z
putfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.canConvertToString:Z
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/core/convert/support/ConvertingPropertyEditorAdapter;
0 7 1 conversionService Lorg/springframework/core/convert/ConversionService;
0 7 2 targetDescriptor Lorg/springframework/core/convert/TypeDescriptor;
MethodParameters:
Name Flags
conversionService
targetDescriptor
public void setAsText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.conversionService:Lorg/springframework/core/convert/ConversionService;
aload 1
ldc Ljava/lang/String;
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
aload 0
getfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.targetDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
invokeinterface org.springframework.core.convert.ConversionService.convert:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
invokevirtual org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.setValue:(Ljava/lang/Object;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/core/convert/support/ConvertingPropertyEditorAdapter;
0 2 1 text Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
text
public java.lang.String getAsText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.canConvertToString:Z
ifeq 2
1: aload 0
getfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.conversionService:Lorg/springframework/core/convert/ConversionService;
aload 0
invokevirtual org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.getValue:()Ljava/lang/Object;
aload 0
getfield org.springframework.core.convert.support.ConvertingPropertyEditorAdapter.targetDescriptor:Lorg/springframework/core/convert/TypeDescriptor;
ldc Ljava/lang/String;
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
invokeinterface org.springframework.core.convert.ConversionService.convert:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
checkcast java.lang.String
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/core/convert/support/ConvertingPropertyEditorAdapter;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
}
SourceFile: "ConvertingPropertyEditorAdapter.java"