public class org.springframework.beans.support.ResourceEditorRegistrar implements org.springframework.beans.PropertyEditorRegistrar
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.support.ResourceEditorRegistrar
super_class: java.lang.Object
{
private final org.springframework.core.env.PropertyResolver propertyResolver;
descriptor: Lorg/springframework/core/env/PropertyResolver;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.core.io.ResourceLoader resourceLoader;
descriptor: Lorg/springframework/core/io/ResourceLoader;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.core.io.ResourceLoader, org.springframework.core.env.PropertyResolver);
descriptor: (Lorg/springframework/core/io/ResourceLoader;Lorg/springframework/core/env/PropertyResolver;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.beans.support.ResourceEditorRegistrar.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
2: aload 0
aload 2
putfield org.springframework.beans.support.ResourceEditorRegistrar.propertyResolver:Lorg/springframework/core/env/PropertyResolver;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/support/ResourceEditorRegistrar;
0 4 1 resourceLoader Lorg/springframework/core/io/ResourceLoader;
0 4 2 propertyResolver Lorg/springframework/core/env/PropertyResolver;
MethodParameters:
Name Flags
resourceLoader
propertyResolver
public void registerCustomEditors(org.springframework.beans.PropertyEditorRegistry);
descriptor: (Lorg/springframework/beans/PropertyEditorRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: new org.springframework.core.io.ResourceEditor
dup
aload 0
getfield org.springframework.beans.support.ResourceEditorRegistrar.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
aload 0
getfield org.springframework.beans.support.ResourceEditorRegistrar.propertyResolver:Lorg/springframework/core/env/PropertyResolver;
invokespecial org.springframework.core.io.ResourceEditor.<init>:(Lorg/springframework/core/io/ResourceLoader;Lorg/springframework/core/env/PropertyResolver;)V
astore 2
start local 2 1: aload 0
aload 1
ldc Lorg/springframework/core/io/Resource;
aload 2
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
2: aload 0
aload 1
ldc Lorg/springframework/core/io/ContextResource;
aload 2
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
3: aload 0
aload 1
ldc Ljava/io/InputStream;
new org.springframework.beans.propertyeditors.InputStreamEditor
dup
aload 2
invokespecial org.springframework.beans.propertyeditors.InputStreamEditor.<init>:(Lorg/springframework/core/io/ResourceEditor;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
4: aload 0
aload 1
ldc Lorg/xml/sax/InputSource;
new org.springframework.beans.propertyeditors.InputSourceEditor
dup
aload 2
invokespecial org.springframework.beans.propertyeditors.InputSourceEditor.<init>:(Lorg/springframework/core/io/ResourceEditor;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
5: aload 0
aload 1
ldc Ljava/io/File;
new org.springframework.beans.propertyeditors.FileEditor
dup
aload 2
invokespecial org.springframework.beans.propertyeditors.FileEditor.<init>:(Lorg/springframework/core/io/ResourceEditor;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
6: aload 0
aload 1
ldc Ljava/nio/file/Path;
new org.springframework.beans.propertyeditors.PathEditor
dup
aload 2
invokespecial org.springframework.beans.propertyeditors.PathEditor.<init>:(Lorg/springframework/core/io/ResourceEditor;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
7: aload 0
aload 1
ldc Ljava/io/Reader;
new org.springframework.beans.propertyeditors.ReaderEditor
dup
aload 2
invokespecial org.springframework.beans.propertyeditors.ReaderEditor.<init>:(Lorg/springframework/core/io/ResourceEditor;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
8: aload 0
aload 1
ldc Ljava/net/URL;
new org.springframework.beans.propertyeditors.URLEditor
dup
aload 2
invokespecial org.springframework.beans.propertyeditors.URLEditor.<init>:(Lorg/springframework/core/io/ResourceEditor;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
9: aload 0
getfield org.springframework.beans.support.ResourceEditorRegistrar.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
invokeinterface org.springframework.core.io.ResourceLoader.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
start local 3 10: aload 0
aload 1
ldc Ljava/net/URI;
new org.springframework.beans.propertyeditors.URIEditor
dup
aload 3
invokespecial org.springframework.beans.propertyeditors.URIEditor.<init>:(Ljava/lang/ClassLoader;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
11: aload 0
aload 1
ldc Ljava/lang/Class;
new org.springframework.beans.propertyeditors.ClassEditor
dup
aload 3
invokespecial org.springframework.beans.propertyeditors.ClassEditor.<init>:(Ljava/lang/ClassLoader;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
12: aload 0
aload 1
ldc [Ljava/lang/Class;
new org.springframework.beans.propertyeditors.ClassArrayEditor
dup
aload 3
invokespecial org.springframework.beans.propertyeditors.ClassArrayEditor.<init>:(Ljava/lang/ClassLoader;)V
invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
13: aload 0
getfield org.springframework.beans.support.ResourceEditorRegistrar.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
instanceof org.springframework.core.io.support.ResourcePatternResolver
ifeq 17
14: aload 0
aload 1
ldc [Lorg/springframework/core/io/Resource;
15: new org.springframework.core.io.support.ResourceArrayPropertyEditor
dup
aload 0
getfield org.springframework.beans.support.ResourceEditorRegistrar.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
checkcast org.springframework.core.io.support.ResourcePatternResolver
aload 0
getfield org.springframework.beans.support.ResourceEditorRegistrar.propertyResolver:Lorg/springframework/core/env/PropertyResolver;
invokespecial org.springframework.core.io.support.ResourceArrayPropertyEditor.<init>:(Lorg/springframework/core/io/support/ResourcePatternResolver;Lorg/springframework/core/env/PropertyResolver;)V
16: invokevirtual org.springframework.beans.support.ResourceEditorRegistrar.doRegisterEditor:(Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
17: StackMap locals: org.springframework.core.io.ResourceEditor java.lang.ClassLoader
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/springframework/beans/support/ResourceEditorRegistrar;
0 18 1 registry Lorg/springframework/beans/PropertyEditorRegistry;
1 18 2 baseEditor Lorg/springframework/core/io/ResourceEditor;
10 18 3 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
registry
private void doRegisterEditor(org.springframework.beans.PropertyEditorRegistry, java.lang.Class<?>, java.beans.PropertyEditor);
descriptor: (Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof org.springframework.beans.PropertyEditorRegistrySupport
ifeq 3
1: aload 1
checkcast org.springframework.beans.PropertyEditorRegistrySupport
aload 2
aload 3
invokevirtual org.springframework.beans.PropertyEditorRegistrySupport.overrideDefaultEditor:(Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 2
aload 3
invokeinterface org.springframework.beans.PropertyEditorRegistry.registerCustomEditor:(Ljava/lang/Class;Ljava/beans/PropertyEditor;)V
4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/beans/support/ResourceEditorRegistrar;
0 5 1 registry Lorg/springframework/beans/PropertyEditorRegistry;
0 5 2 requiredType Ljava/lang/Class<*>;
0 5 3 editor Ljava/beans/PropertyEditor;
Signature: (Lorg/springframework/beans/PropertyEditorRegistry;Ljava/lang/Class<*>;Ljava/beans/PropertyEditor;)V
MethodParameters:
Name Flags
registry
requiredType
editor
}
SourceFile: "ResourceEditorRegistrar.java"