public class org.springframework.beans.propertyeditors.ReaderEditor extends java.beans.PropertyEditorSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.propertyeditors.ReaderEditor
super_class: java.beans.PropertyEditorSupport
{
private final org.springframework.core.io.ResourceEditor resourceEditor;
descriptor: Lorg/springframework/core/io/ResourceEditor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.beans.PropertyEditorSupport.<init>:()V
1: aload 0
new org.springframework.core.io.ResourceEditor
dup
invokespecial org.springframework.core.io.ResourceEditor.<init>:()V
putfield org.springframework.beans.propertyeditors.ReaderEditor.resourceEditor:Lorg/springframework/core/io/ResourceEditor;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/beans/propertyeditors/ReaderEditor;
public void <init>(org.springframework.core.io.ResourceEditor);
descriptor: (Lorg/springframework/core/io/ResourceEditor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.beans.PropertyEditorSupport.<init>:()V
1: aload 1
ldc "ResourceEditor must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.beans.propertyeditors.ReaderEditor.resourceEditor:Lorg/springframework/core/io/ResourceEditor;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/propertyeditors/ReaderEditor;
0 4 1 resourceEditor Lorg/springframework/core/io/ResourceEditor;
MethodParameters:
Name Flags
resourceEditor
public void setAsText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.beans.propertyeditors.ReaderEditor.resourceEditor:Lorg/springframework/core/io/ResourceEditor;
aload 1
invokevirtual org.springframework.core.io.ResourceEditor.setAsText:(Ljava/lang/String;)V
1: aload 0
getfield org.springframework.beans.propertyeditors.ReaderEditor.resourceEditor:Lorg/springframework/core/io/ResourceEditor;
invokevirtual org.springframework.core.io.ResourceEditor.getValue:()Ljava/lang/Object;
checkcast org.springframework.core.io.Resource
astore 2
start local 2 2: aload 0
aload 2
ifnull 3
new org.springframework.core.io.support.EncodedResource
dup
aload 2
invokespecial org.springframework.core.io.support.EncodedResource.<init>:(Lorg/springframework/core/io/Resource;)V
invokevirtual org.springframework.core.io.support.EncodedResource.getReader:()Ljava/io/Reader;
goto 4
StackMap locals: org.springframework.beans.propertyeditors.ReaderEditor java.lang.String org.springframework.core.io.Resource
StackMap stack: org.springframework.beans.propertyeditors.ReaderEditor
3: aconst_null
StackMap locals: org.springframework.beans.propertyeditors.ReaderEditor java.lang.String org.springframework.core.io.Resource
StackMap stack: org.springframework.beans.propertyeditors.ReaderEditor java.io.Reader
4: invokevirtual org.springframework.beans.propertyeditors.ReaderEditor.setValue:(Ljava/lang/Object;)V
5: goto 8
6: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Failed to retrieve Reader for "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/beans/propertyeditors/ReaderEditor;
0 9 1 text Ljava/lang/String;
2 9 2 resource Lorg/springframework/core/io/Resource;
7 8 3 ex Ljava/io/IOException;
Exception table:
from to target type
2 5 6 Class java.io.IOException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
text
public java.lang.String getAsText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/propertyeditors/ReaderEditor;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
}
SourceFile: "ReaderEditor.java"