public class org.springframework.jdbc.config.SortedResourcesFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<org.springframework.core.io.Resource[]> implements org.springframework.context.ResourceLoaderAware
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jdbc.config.SortedResourcesFactoryBean
super_class: org.springframework.beans.factory.config.AbstractFactoryBean
{
private final java.util.List<java.lang.String> locations;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private org.springframework.core.io.support.ResourcePatternResolver resourcePatternResolver;
descriptor: Lorg/springframework/core/io/support/ResourcePatternResolver;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.beans.factory.config.AbstractFactoryBean.<init>:()V
1: aload 0
aload 1
putfield org.springframework.jdbc.config.SortedResourcesFactoryBean.locations:Ljava/util/List;
2: aload 0
new org.springframework.core.io.support.PathMatchingResourcePatternResolver
dup
invokespecial org.springframework.core.io.support.PathMatchingResourcePatternResolver.<init>:()V
putfield org.springframework.jdbc.config.SortedResourcesFactoryBean.resourcePatternResolver:Lorg/springframework/core/io/support/ResourcePatternResolver;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jdbc/config/SortedResourcesFactoryBean;
0 4 1 locations Ljava/util/List<Ljava/lang/String;>;
Signature: (Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
locations
public void <init>(org.springframework.core.io.ResourceLoader, java.util.List<java.lang.String>);
descriptor: (Lorg/springframework/core/io/ResourceLoader;Ljava/util/List;)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 org.springframework.beans.factory.config.AbstractFactoryBean.<init>:()V
1: aload 0
aload 2
putfield org.springframework.jdbc.config.SortedResourcesFactoryBean.locations:Ljava/util/List;
2: aload 0
aload 1
invokestatic org.springframework.core.io.support.ResourcePatternUtils.getResourcePatternResolver:(Lorg/springframework/core/io/ResourceLoader;)Lorg/springframework/core/io/support/ResourcePatternResolver;
putfield org.springframework.jdbc.config.SortedResourcesFactoryBean.resourcePatternResolver:Lorg/springframework/core/io/support/ResourcePatternResolver;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/jdbc/config/SortedResourcesFactoryBean;
0 4 1 resourceLoader Lorg/springframework/core/io/ResourceLoader;
0 4 2 locations Ljava/util/List<Ljava/lang/String;>;
Signature: (Lorg/springframework/core/io/ResourceLoader;Ljava/util/List<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
resourceLoader
locations
public void setResourceLoader(org.springframework.core.io.ResourceLoader);
descriptor: (Lorg/springframework/core/io/ResourceLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.core.io.support.ResourcePatternUtils.getResourcePatternResolver:(Lorg/springframework/core/io/ResourceLoader;)Lorg/springframework/core/io/support/ResourcePatternResolver;
putfield org.springframework.jdbc.config.SortedResourcesFactoryBean.resourcePatternResolver:Lorg/springframework/core/io/support/ResourcePatternResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/config/SortedResourcesFactoryBean;
0 2 1 resourceLoader Lorg/springframework/core/io/ResourceLoader;
MethodParameters:
Name Flags
resourceLoader
public java.lang.Class<? extends org.springframework.core.io.Resource[]> getObjectType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc [Lorg/springframework/core/io/Resource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jdbc/config/SortedResourcesFactoryBean;
Signature: ()Ljava/lang/Class<+[Lorg/springframework/core/io/Resource;>;
protected org.springframework.core.io.Resource[] createInstance();
descriptor: ()[Lorg/springframework/core/io/Resource;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.springframework.jdbc.config.SortedResourcesFactoryBean.locations:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: org.springframework.jdbc.config.SortedResourcesFactoryBean java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: new java.util.ArrayList
dup
4: aload 0
getfield org.springframework.jdbc.config.SortedResourcesFactoryBean.resourcePatternResolver:Lorg/springframework/core/io/support/ResourcePatternResolver;
aload 2
invokeinterface org.springframework.core.io.support.ResourcePatternResolver.getResources:(Ljava/lang/String;)[Lorg/springframework/core/io/Resource;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
5: invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 6: aload 4
invokedynamic compare()Ljava/util/Comparator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)I
org/springframework/jdbc/config/SortedResourcesFactoryBean.lambda$0(Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)I (6)
(Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)I
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
7: aload 1
aload 4
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 4 end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aload 1
iconst_0
anewarray org.springframework.core.io.Resource
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.springframework.core.io.Resource[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/jdbc/config/SortedResourcesFactoryBean;
1 10 1 scripts Ljava/util/List<Lorg/springframework/core/io/Resource;>;
3 8 2 location Ljava/lang/String;
6 8 4 resources Ljava/util/List<Lorg/springframework/core/io/Resource;>;
Exceptions:
throws java.lang.Exception
protected java.lang.Object createInstance();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.jdbc.config.SortedResourcesFactoryBean.createInstance:()[Lorg/springframework/core/io/Resource;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
private static int lambda$0(org.springframework.core.io.Resource, org.springframework.core.io.Resource);
descriptor: (Lorg/springframework/core/io/Resource;Lorg/springframework/core/io/Resource;)I
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
aload 1
invokeinterface org.springframework.core.io.Resource.getURL:()Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
1: ireturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 r1 Lorg/springframework/core/io/Resource;
0 4 1 r2 Lorg/springframework/core/io/Resource;
Exception table:
from to target type
0 1 2 Class java.io.IOException
}
Signature: Lorg/springframework/beans/factory/config/AbstractFactoryBean<[Lorg/springframework/core/io/Resource;>;Lorg/springframework/context/ResourceLoaderAware;
SourceFile: "SortedResourcesFactoryBean.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles