public class org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder
super_class: java.lang.Object
{
private final org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory databaseFactory;
descriptor: Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.springframework.jdbc.datasource.init.ResourceDatabasePopulator databasePopulator;
descriptor: Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
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>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new org.springframework.core.io.DefaultResourceLoader
dup
invokespecial org.springframework.core.io.DefaultResourceLoader.<init>:()V
invokespecial org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.<init>:(Lorg/springframework/core/io/ResourceLoader;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
public void <init>(org.springframework.core.io.ResourceLoader);
descriptor: (Lorg/springframework/core/io/ResourceLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory
dup
invokespecial org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.<init>:()V
putfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
2: aload 0
new org.springframework.jdbc.datasource.init.ResourceDatabasePopulator
dup
invokespecial org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.<init>:()V
putfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
3: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.setDatabasePopulator:(Lorg/springframework/jdbc/datasource/init/DatabasePopulator;)V
4: aload 0
aload 1
putfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 6 1 resourceLoader Lorg/springframework/core/io/ResourceLoader;
MethodParameters:
Name Flags
resourceLoader
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder generateUniqueName(boolean);
descriptor: (Z)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
iload 1
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.setGenerateUniqueDatabaseName:(Z)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 flag Z
MethodParameters:
Name Flags
flag
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder setName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
aload 1
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.setDatabaseName:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 databaseName Ljava/lang/String;
MethodParameters:
Name Flags
databaseName
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder setType(org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType);
descriptor: (Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
aload 1
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.setDatabaseType:(Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 databaseType Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType;
MethodParameters:
Name Flags
databaseType
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder setDataSourceFactory(org.springframework.jdbc.datasource.embedded.DataSourceFactory);
descriptor: (Lorg/springframework/jdbc/datasource/embedded/DataSourceFactory;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "DataSourceFactory is required"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
aload 1
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.setDataSourceFactory:(Lorg/springframework/jdbc/datasource/embedded/DataSourceFactory;)V
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 3 1 dataSourceFactory Lorg/springframework/jdbc/datasource/embedded/DataSourceFactory;
MethodParameters:
Name Flags
dataSourceFactory
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder addDefaultScripts();
descriptor: ()Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "schema.sql"
aastore
dup
iconst_1
ldc "data.sql"
aastore
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.addScripts:([Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder addScript(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.resourceLoader:Lorg/springframework/core/io/ResourceLoader;
aload 1
invokeinterface org.springframework.core.io.ResourceLoader.getResource:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.addScript:(Lorg/springframework/core/io/Resource;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 script Ljava/lang/String;
MethodParameters:
Name Flags
script
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder addScripts(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 4
StackMap locals: org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.addScript:(Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
pop
end local 2 3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 4
if_icmplt 1
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 6 1 scripts [Ljava/lang/String;
2 3 2 script Ljava/lang/String;
MethodParameters:
Name Flags
scripts
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder setScriptEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
aload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setSqlScriptEncoding:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 scriptEncoding Ljava/lang/String;
MethodParameters:
Name Flags
scriptEncoding
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder setSeparator(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
aload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setSeparator:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 separator Ljava/lang/String;
MethodParameters:
Name Flags
separator
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
aload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setCommentPrefix:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 commentPrefix Ljava/lang/String;
MethodParameters:
Name Flags
commentPrefix
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
aload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setBlockCommentStartDelimiter:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 blockCommentStartDelimiter Ljava/lang/String;
MethodParameters:
Name Flags
blockCommentStartDelimiter
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder (java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
aload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setBlockCommentEndDelimiter:(Ljava/lang/String;)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 blockCommentEndDelimiter Ljava/lang/String;
MethodParameters:
Name Flags
blockCommentEndDelimiter
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder continueOnError(boolean);
descriptor: (Z)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
iload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setContinueOnError:(Z)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 flag Z
MethodParameters:
Name Flags
flag
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder ignoreFailedDrops(boolean);
descriptor: (Z)Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databasePopulator:Lorg/springframework/jdbc/datasource/init/ResourceDatabasePopulator;
iload 1
invokevirtual org.springframework.jdbc.datasource.init.ResourceDatabasePopulator.setIgnoreFailedDrops:(Z)V
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
0 2 1 flag Z
MethodParameters:
Name Flags
flag
public org.springframework.jdbc.datasource.embedded.EmbeddedDatabase build();
descriptor: ()Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabase;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder.databaseFactory:Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseFactory;
invokevirtual org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseFactory.getDatabase:()Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabase;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/jdbc/datasource/embedded/EmbeddedDatabaseBuilder;
}
SourceFile: "EmbeddedDatabaseBuilder.java"