public class org.flywaydb.core.Flyway
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.flywaydb.core.Flyway
super_class: java.lang.Object
{
private static final org.flywaydb.core.api.logging.Log LOG;
descriptor: Lorg/flywaydb/core/api/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.flywaydb.core.api.configuration.ClassicConfiguration configuration;
descriptor: Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean dbConnectionInfoPrinted;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.flywaydb.core.internal.configuration.ConfigurationValidator configurationValidator;
descriptor: Lorg/flywaydb/core/internal/configuration/ConfigurationValidator;
flags: (0x0002) ACC_PRIVATE
private org.flywaydb.core.internal.resource.ResourceNameValidator resourceNameValidator;
descriptor: Lorg/flywaydb/core/internal/resource/ResourceNameValidator;
flags: (0x0002) ACC_PRIVATE
private org.flywaydb.core.internal.scanner.ResourceNameCache resourceNameCache;
descriptor: Lorg/flywaydb/core/internal/scanner/ResourceNameCache;
flags: (0x0002) ACC_PRIVATE
private final org.flywaydb.core.internal.scanner.LocationScannerCache locationScannerCache;
descriptor: Lorg/flywaydb/core/internal/scanner/LocationScannerCache;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/flywaydb/core/Flyway;
invokestatic org.flywaydb.core.api.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/flywaydb/core/api/logging/Log;
putstatic org.flywaydb.core.Flyway.LOG:Lorg/flywaydb/core/api/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.flywaydb.core.api.configuration.FluentConfiguration configure();
descriptor: ()Lorg/flywaydb/core/api/configuration/FluentConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.flywaydb.core.api.configuration.FluentConfiguration
dup
invokespecial org.flywaydb.core.api.configuration.FluentConfiguration.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.flywaydb.core.api.configuration.FluentConfiguration configure(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)Lorg/flywaydb/core/api/configuration/FluentConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.flywaydb.core.api.configuration.FluentConfiguration
dup
aload 0
invokespecial org.flywaydb.core.api.configuration.FluentConfiguration.<init>:(Ljava/lang/ClassLoader;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 classLoader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classLoader
public void <init>(org.flywaydb.core.api.configuration.Configuration);
descriptor: (Lorg/flywaydb/core/api/configuration/Configuration;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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.flywaydb.core.internal.configuration.ConfigurationValidator
dup
invokespecial org.flywaydb.core.internal.configuration.ConfigurationValidator.<init>:()V
putfield org.flywaydb.core.Flyway.configurationValidator:Lorg/flywaydb/core/internal/configuration/ConfigurationValidator;
2: aload 0
new org.flywaydb.core.internal.resource.ResourceNameValidator
dup
invokespecial org.flywaydb.core.internal.resource.ResourceNameValidator.<init>:()V
putfield org.flywaydb.core.Flyway.resourceNameValidator:Lorg/flywaydb/core/internal/resource/ResourceNameValidator;
3: aload 0
new org.flywaydb.core.internal.scanner.ResourceNameCache
dup
invokespecial org.flywaydb.core.internal.scanner.ResourceNameCache.<init>:()V
putfield org.flywaydb.core.Flyway.resourceNameCache:Lorg/flywaydb/core/internal/scanner/ResourceNameCache;
4: aload 0
new org.flywaydb.core.internal.scanner.LocationScannerCache
dup
invokespecial org.flywaydb.core.internal.scanner.LocationScannerCache.<init>:()V
putfield org.flywaydb.core.Flyway.locationScannerCache:Lorg/flywaydb/core/internal/scanner/LocationScannerCache;
5: aload 0
new org.flywaydb.core.api.configuration.ClassicConfiguration
dup
aload 1
invokespecial org.flywaydb.core.api.configuration.ClassicConfiguration.<init>:(Lorg/flywaydb/core/api/configuration/Configuration;)V
putfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/flywaydb/core/Flyway;
0 7 1 configuration Lorg/flywaydb/core/api/configuration/Configuration;
MethodParameters:
Name Flags
configuration
public org.flywaydb.core.api.configuration.Configuration getConfiguration();
descriptor: ()Lorg/flywaydb/core/api/configuration/Configuration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.flywaydb.core.api.configuration.ClassicConfiguration
dup
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokespecial org.flywaydb.core.api.configuration.ClassicConfiguration.<init>:(Lorg/flywaydb/core/api/configuration/Configuration;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/Flyway;
public int migrate();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.flywaydb.core.Flyway$1
dup
aload 0
invokespecial org.flywaydb.core.Flyway$1.<init>:(Lorg/flywaydb/core/Flyway;)V
1: iconst_1
2: invokevirtual org.flywaydb.core.Flyway.execute:(Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/Flyway;
Exceptions:
throws org.flywaydb.core.api.FlywayException
private void doBaseline(org.flywaydb.core.internal.schemahistory.SchemaHistory, org.flywaydb.core.internal.callback.CallbackExecutor);
descriptor: (Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;Lorg/flywaydb/core/internal/callback/CallbackExecutor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.flywaydb.core.internal.command.DbBaseline
dup
aload 1
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getBaselineVersion:()Lorg/flywaydb/core/api/MigrationVersion;
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getBaselineDescription:()Ljava/lang/String;
1: aload 2
2: invokespecial org.flywaydb.core.internal.command.DbBaseline.<init>:(Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;Lorg/flywaydb/core/api/MigrationVersion;Ljava/lang/String;Lorg/flywaydb/core/internal/callback/CallbackExecutor;)V
3: invokevirtual org.flywaydb.core.internal.command.DbBaseline.baseline:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/flywaydb/core/Flyway;
0 5 1 schemaHistory Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;
0 5 2 callbackExecutor Lorg/flywaydb/core/internal/callback/CallbackExecutor;
MethodParameters:
Name Flags
schemaHistory
callbackExecutor
public int undo();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.flywaydb.core.internal.license.FlywayProUpgradeRequiredException
dup
ldc "undo"
invokespecial org.flywaydb.core.internal.license.FlywayProUpgradeRequiredException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/Flyway;
Exceptions:
throws org.flywaydb.core.api.FlywayException
public void validate();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.flywaydb.core.Flyway$2
dup
aload 0
invokespecial org.flywaydb.core.Flyway$2.<init>:(Lorg/flywaydb/core/Flyway;)V
1: iconst_1
2: invokevirtual org.flywaydb.core.Flyway.execute:(Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/flywaydb/core/Flyway;
Exceptions:
throws org.flywaydb.core.api.FlywayException
private void doValidate(org.flywaydb.core.internal.database.base.Database, org.flywaydb.core.api.resolver.MigrationResolver, org.flywaydb.core.internal.schemahistory.SchemaHistory, org.flywaydb.core.internal.database.base.Schema[], org.flywaydb.core.internal.callback.CallbackExecutor, boolean);
descriptor: (Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/api/resolver/MigrationResolver;Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;[Lorg/flywaydb/core/internal/database/base/Schema;Lorg/flywaydb/core/internal/callback/CallbackExecutor;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: new org.flywaydb.core.internal.command.DbValidate
dup
aload 1
aload 3
aload 4
iconst_0
aaload
aload 2
1: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
iload 6
aload 5
2: invokespecial org.flywaydb.core.internal.command.DbValidate.<init>:(Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;Lorg/flywaydb/core/internal/database/base/Schema;Lorg/flywaydb/core/api/resolver/MigrationResolver;Lorg/flywaydb/core/api/configuration/Configuration;ZLorg/flywaydb/core/internal/callback/CallbackExecutor;)V
3: invokevirtual org.flywaydb.core.internal.command.DbValidate.validate:()Ljava/lang/String;
4: astore 7
start local 7 5: aload 7
ifnull 10
6: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.isCleanOnValidationError:()Z
ifeq 9
7: aload 0
aload 1
aload 3
aload 4
aload 5
invokevirtual org.flywaydb.core.Flyway.doClean:(Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;[Lorg/flywaydb/core/internal/database/base/Schema;Lorg/flywaydb/core/internal/callback/CallbackExecutor;)V
8: goto 10
9: StackMap locals: java.lang.String
StackMap stack:
new org.flywaydb.core.api.FlywayException
dup
new java.lang.StringBuilder
dup
ldc "Validate failed: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/flywaydb/core/Flyway;
0 11 1 database Lorg/flywaydb/core/internal/database/base/Database;
0 11 2 migrationResolver Lorg/flywaydb/core/api/resolver/MigrationResolver;
0 11 3 schemaHistory Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;
0 11 4 schemas [Lorg/flywaydb/core/internal/database/base/Schema;
0 11 5 callbackExecutor Lorg/flywaydb/core/internal/callback/CallbackExecutor;
0 11 6 ignorePending Z
5 11 7 validationError Ljava/lang/String;
MethodParameters:
Name Flags
database
migrationResolver
schemaHistory
schemas
callbackExecutor
ignorePending
private void doClean(org.flywaydb.core.internal.database.base.Database, org.flywaydb.core.internal.schemahistory.SchemaHistory, org.flywaydb.core.internal.database.base.Schema[], org.flywaydb.core.internal.callback.CallbackExecutor);
descriptor: (Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;[Lorg/flywaydb/core/internal/database/base/Schema;Lorg/flywaydb/core/internal/callback/CallbackExecutor;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.flywaydb.core.internal.command.DbClean
dup
aload 1
aload 2
aload 3
aload 4
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.isCleanDisabled:()Z
invokespecial org.flywaydb.core.internal.command.DbClean.<init>:(Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;[Lorg/flywaydb/core/internal/database/base/Schema;Lorg/flywaydb/core/internal/callback/CallbackExecutor;Z)V
invokevirtual org.flywaydb.core.internal.command.DbClean.clean:()V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/core/Flyway;
0 2 1 database Lorg/flywaydb/core/internal/database/base/Database;
0 2 2 schemaHistory Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;
0 2 3 schemas [Lorg/flywaydb/core/internal/database/base/Schema;
0 2 4 callbackExecutor Lorg/flywaydb/core/internal/callback/CallbackExecutor;
MethodParameters:
Name Flags
database
schemaHistory
schemas
callbackExecutor
public void clean();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.flywaydb.core.Flyway$3
dup
aload 0
invokespecial org.flywaydb.core.Flyway$3.<init>:(Lorg/flywaydb/core/Flyway;)V
1: iconst_0
2: invokevirtual org.flywaydb.core.Flyway.execute:(Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/flywaydb/core/Flyway;
public org.flywaydb.core.api.MigrationInfoService info();
descriptor: ()Lorg/flywaydb/core/api/MigrationInfoService;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.flywaydb.core.Flyway$4
dup
aload 0
invokespecial org.flywaydb.core.Flyway$4.<init>:(Lorg/flywaydb/core/Flyway;)V
1: iconst_1
2: invokevirtual org.flywaydb.core.Flyway.execute:(Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
checkcast org.flywaydb.core.api.MigrationInfoService
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/Flyway;
public void baseline();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.flywaydb.core.Flyway$5
dup
aload 0
invokespecial org.flywaydb.core.Flyway$5.<init>:(Lorg/flywaydb/core/Flyway;)V
1: iconst_0
2: invokevirtual org.flywaydb.core.Flyway.execute:(Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/flywaydb/core/Flyway;
Exceptions:
throws org.flywaydb.core.api.FlywayException
public void repair();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new org.flywaydb.core.Flyway$6
dup
aload 0
invokespecial org.flywaydb.core.Flyway$6.<init>:(Lorg/flywaydb/core/Flyway;)V
1: iconst_1
2: invokevirtual org.flywaydb.core.Flyway.execute:(Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
pop
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/flywaydb/core/Flyway;
Exceptions:
throws org.flywaydb.core.api.FlywayException
private org.flywaydb.core.api.resolver.MigrationResolver createMigrationResolver(org.flywaydb.core.internal.resource.ResourceProvider, org.flywaydb.core.internal.clazz.ClassProvider<org.flywaydb.core.api.migration.JavaMigration>, org.flywaydb.core.internal.sqlscript.SqlScriptExecutorFactory, org.flywaydb.core.internal.sqlscript.SqlScriptFactory, org.flywaydb.core.internal.parser.ParsingContext);
descriptor: (Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/clazz/ClassProvider;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/internal/parser/ParsingContext;)Lorg/flywaydb/core/api/resolver/MigrationResolver;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: new org.flywaydb.core.internal.resolver.CompositeMigrationResolver
dup
aload 1
aload 2
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
1: aload 3
aload 4
aload 5
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getResolvers:()[Lorg/flywaydb/core/api/resolver/MigrationResolver;
2: invokespecial org.flywaydb.core.internal.resolver.CompositeMigrationResolver.<init>:(Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/clazz/ClassProvider;Lorg/flywaydb/core/api/configuration/Configuration;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/internal/parser/ParsingContext;[Lorg/flywaydb/core/api/resolver/MigrationResolver;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/Flyway;
0 3 1 resourceProvider Lorg/flywaydb/core/internal/resource/ResourceProvider;
0 3 2 classProvider Lorg/flywaydb/core/internal/clazz/ClassProvider<Lorg/flywaydb/core/api/migration/JavaMigration;>;
0 3 3 sqlScriptExecutorFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
0 3 4 sqlScriptFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;
0 3 5 parsingContext Lorg/flywaydb/core/internal/parser/ParsingContext;
Signature: (Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/clazz/ClassProvider<Lorg/flywaydb/core/api/migration/JavaMigration;>;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/internal/parser/ParsingContext;)Lorg/flywaydb/core/api/resolver/MigrationResolver;
MethodParameters:
Name Flags
resourceProvider
classProvider
sqlScriptExecutorFactory
sqlScriptFactory
parsingContext
<T> T execute(org.flywaydb.core.Flyway$Command<T>, );
descriptor: (Lorg/flywaydb/core/Flyway$Command;Z)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=10, locals=16, args_size=3
start local 0 start local 1 start local 2 0: invokestatic org.flywaydb.core.internal.license.VersionPrinter.printVersion:()V
1: aload 0
getfield org.flywaydb.core.Flyway.configurationValidator:Lorg/flywaydb/core/internal/configuration/ConfigurationValidator;
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.internal.configuration.ConfigurationValidator.validate:(Lorg/flywaydb/core/api/configuration/Configuration;)V
2: iload 2
ifne 6
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.isSkipDefaultResolvers:()Z
ifeq 6
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.isSkipDefaultCallbacks:()Z
ifeq 6
3: getstatic org.flywaydb.core.internal.resource.NoopResourceProvider.INSTANCE:Lorg/flywaydb/core/internal/resource/NoopResourceProvider;
astore 4
start local 4 4: getstatic org.flywaydb.core.internal.clazz.NoopClassProvider.INSTANCE:Lorg/flywaydb/core/internal/clazz/NoopClassProvider;
astore 5
start local 5 5: goto 16
end local 5 end local 4 6: StackMap locals:
StackMap stack:
new org.flywaydb.core.internal.scanner.Scanner
dup
7: ldc Lorg/flywaydb/core/api/migration/JavaMigration;
8: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getLocations:()[Lorg/flywaydb/core/api/Location;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
9: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getClassLoader:()Ljava/lang/ClassLoader;
10: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getEncoding:()Ljava/nio/charset/Charset;
11: aload 0
getfield org.flywaydb.core.Flyway.resourceNameCache:Lorg/flywaydb/core/internal/scanner/ResourceNameCache;
12: aload 0
getfield org.flywaydb.core.Flyway.locationScannerCache:Lorg/flywaydb/core/internal/scanner/LocationScannerCache;
13: invokespecial org.flywaydb.core.internal.scanner.Scanner.<init>:(Ljava/lang/Class;Ljava/util/Collection;Ljava/lang/ClassLoader;Ljava/nio/charset/Charset;Lorg/flywaydb/core/internal/scanner/ResourceNameCache;Lorg/flywaydb/core/internal/scanner/LocationScannerCache;)V
astore 6
start local 6 14: aload 6
astore 4
start local 4 15: aload 6
astore 5
end local 6 start local 5 16: StackMap locals: org.flywaydb.core.Flyway org.flywaydb.core.Flyway$Command int top org.flywaydb.core.internal.resource.ResourceProvider org.flywaydb.core.internal.clazz.ClassProvider
StackMap stack:
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.isValidateMigrationNaming:()Z
ifeq 18
17: aload 0
getfield org.flywaydb.core.Flyway.resourceNameValidator:Lorg/flywaydb/core/internal/resource/ResourceNameValidator;
aload 4
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.internal.resource.ResourceNameValidator.validateSQLMigrationNaming:(Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/api/configuration/Configuration;)V
18: StackMap locals:
StackMap stack:
new org.flywaydb.core.internal.jdbc.JdbcConnectionFactory
dup
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getDataSource:()Ljavax/sql/DataSource;
19: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getConnectRetries:()I
20: invokespecial org.flywaydb.core.internal.jdbc.JdbcConnectionFactory.<init>:(Ljavax/sql/DataSource;I)V
astore 6
start local 6 21: new org.flywaydb.core.internal.parser.ParsingContext
dup
invokespecial org.flywaydb.core.internal.parser.ParsingContext.<init>:()V
astore 7
start local 7 22: aload 6
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
aload 7
invokestatic org.flywaydb.core.internal.database.DatabaseFactory.createSqlScriptFactory:(Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;Lorg/flywaydb/core/api/configuration/Configuration;Lorg/flywaydb/core/internal/parser/ParsingContext;)Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;
23: astore 8
start local 8 24: aload 6
25: invokestatic org.flywaydb.core.internal.database.DatabaseFactory.createSqlScriptExecutorFactory:(Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;)Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
astore 9
start local 9 26: aload 6
new org.flywaydb.core.Flyway$7
dup
aload 0
aload 8
aload 4
aload 9
invokespecial org.flywaydb.core.Flyway$7.<init>:(Lorg/flywaydb/core/Flyway;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;)V
invokevirtual org.flywaydb.core.internal.jdbc.JdbcConnectionFactory.setConnectionInitializer:(Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory$ConnectionInitializer;)V
27: aconst_null
astore 10
start local 10 28: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
aload 0
getfield org.flywaydb.core.Flyway.dbConnectionInfoPrinted:Z
ifeq 29
iconst_0
goto 30
StackMap locals: org.flywaydb.core.Flyway org.flywaydb.core.Flyway$Command int top org.flywaydb.core.internal.resource.ResourceProvider org.flywaydb.core.internal.clazz.ClassProvider org.flywaydb.core.internal.jdbc.JdbcConnectionFactory org.flywaydb.core.internal.parser.ParsingContext org.flywaydb.core.internal.sqlscript.SqlScriptFactory org.flywaydb.core.internal.sqlscript.SqlScriptExecutorFactory org.flywaydb.core.internal.database.base.Database
StackMap stack: org.flywaydb.core.api.configuration.ClassicConfiguration
29: iconst_1
StackMap locals: org.flywaydb.core.Flyway org.flywaydb.core.Flyway$Command int top org.flywaydb.core.internal.resource.ResourceProvider org.flywaydb.core.internal.clazz.ClassProvider org.flywaydb.core.internal.jdbc.JdbcConnectionFactory org.flywaydb.core.internal.parser.ParsingContext org.flywaydb.core.internal.sqlscript.SqlScriptFactory org.flywaydb.core.internal.sqlscript.SqlScriptExecutorFactory org.flywaydb.core.internal.database.base.Database
StackMap stack: org.flywaydb.core.api.configuration.ClassicConfiguration int
30: aload 6
invokestatic org.flywaydb.core.internal.database.DatabaseFactory.createDatabase:(Lorg/flywaydb/core/api/configuration/Configuration;ZLorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;)Lorg/flywaydb/core/internal/database/base/Database;
astore 10
31: aload 0
iconst_1
putfield org.flywaydb.core.Flyway.dbConnectionInfoPrinted:Z
32: getstatic org.flywaydb.core.Flyway.LOG:Lorg/flywaydb/core/api/logging/Log;
new java.lang.StringBuilder
dup
ldc "DDL Transactions Supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 10
invokevirtual org.flywaydb.core.internal.database.base.Database.supportsDdlTransactions:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.flywaydb.core.api.logging.Log.debug:(Ljava/lang/String;)V
33: aload 0
aload 10
invokevirtual org.flywaydb.core.Flyway.prepareSchemas:(Lorg/flywaydb/core/internal/database/base/Database;)Lorg/flywaydb/core/internal/util/Pair;
astore 11
start local 11 34: aload 11
invokevirtual org.flywaydb.core.internal.util.Pair.getLeft:()Ljava/lang/Object;
checkcast org.flywaydb.core.internal.database.base.Schema
astore 12
start local 12 35: aload 7
aload 10
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.internal.parser.ParsingContext.populate:(Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/api/configuration/Configuration;)V
36: aload 10
invokevirtual org.flywaydb.core.internal.database.base.Database.ensureSupported:()V
37: new org.flywaydb.core.internal.callback.DefaultCallbackExecutor
dup
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
aload 10
aload 12
38: aload 0
aload 10
aload 4
aload 6
aload 8
invokevirtual org.flywaydb.core.Flyway.prepareCallbacks:(Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;)Ljava/util/List;
39: invokespecial org.flywaydb.core.internal.callback.DefaultCallbackExecutor.<init>:(Lorg/flywaydb/core/api/configuration/Configuration;Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/database/base/Schema;Ljava/util/Collection;)V
astore 13
start local 13 40: aload 6
invokestatic org.flywaydb.core.internal.database.DatabaseFactory.createSqlScriptExecutorFactory:(Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;)Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
astore 14
start local 14 41: aload 1
42: aload 0
aload 4
aload 5
aload 14
aload 8
aload 7
invokevirtual org.flywaydb.core.Flyway.createMigrationResolver:(Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/clazz/ClassProvider;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/internal/parser/ParsingContext;)Lorg/flywaydb/core/api/resolver/MigrationResolver;
43: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
aload 9
aload 8
44: aload 10
aload 12
45: invokestatic org.flywaydb.core.internal.schemahistory.SchemaHistoryFactory.getSchemaHistory:(Lorg/flywaydb/core/api/configuration/Configuration;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/database/base/Schema;)Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;
46: aload 10
47: aload 11
invokevirtual org.flywaydb.core.internal.util.Pair.getRight:()Ljava/lang/Object;
checkcast java.util.List
iconst_0
anewarray org.flywaydb.core.internal.database.base.Schema
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.flywaydb.core.internal.database.base.Schema[]
48: aload 13
49: invokeinterface org.flywaydb.core.Flyway$Command.execute:(Lorg/flywaydb/core/api/resolver/MigrationResolver;Lorg/flywaydb/core/internal/schemahistory/SchemaHistory;Lorg/flywaydb/core/internal/database/base/Database;[Lorg/flywaydb/core/internal/database/base/Schema;Lorg/flywaydb/core/internal/callback/CallbackExecutor;)Ljava/lang/Object;
astore 3
end local 14 end local 13 end local 12 end local 11 start local 3 50: goto 55
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
51: astore 15
52: aload 10
invokestatic org.flywaydb.core.internal.util.IOUtils.close:(Ljava/lang/AutoCloseable;)V
53: aload 0
invokevirtual org.flywaydb.core.Flyway.showMemoryUsage:()V
54: aload 15
athrow
start local 3 55: StackMap locals: org.flywaydb.core.Flyway org.flywaydb.core.Flyway$Command int java.lang.Object org.flywaydb.core.internal.resource.ResourceProvider org.flywaydb.core.internal.clazz.ClassProvider org.flywaydb.core.internal.jdbc.JdbcConnectionFactory org.flywaydb.core.internal.parser.ParsingContext org.flywaydb.core.internal.sqlscript.SqlScriptFactory org.flywaydb.core.internal.sqlscript.SqlScriptExecutorFactory org.flywaydb.core.internal.database.base.Database
StackMap stack:
aload 10
invokestatic org.flywaydb.core.internal.util.IOUtils.close:(Ljava/lang/AutoCloseable;)V
56: aload 0
invokevirtual org.flywaydb.core.Flyway.showMemoryUsage:()V
57: aload 3
areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 58 0 this Lorg/flywaydb/core/Flyway;
0 58 1 command Lorg/flywaydb/core/Flyway$Command<TT;>;
0 58 2 scannerRequired Z
50 51 3 result TT;
55 58 3 result TT;
4 6 4 resourceProvider Lorg/flywaydb/core/internal/resource/ResourceProvider;
15 58 4 resourceProvider Lorg/flywaydb/core/internal/resource/ResourceProvider;
5 6 5 classProvider Lorg/flywaydb/core/internal/clazz/ClassProvider<Lorg/flywaydb/core/api/migration/JavaMigration;>;
16 58 5 classProvider Lorg/flywaydb/core/internal/clazz/ClassProvider<Lorg/flywaydb/core/api/migration/JavaMigration;>;
14 16 6 scanner Lorg/flywaydb/core/internal/scanner/Scanner<Lorg/flywaydb/core/api/migration/JavaMigration;>;
21 58 6 jdbcConnectionFactory Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;
22 58 7 parsingContext Lorg/flywaydb/core/internal/parser/ParsingContext;
24 58 8 sqlScriptFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;
26 58 9 noCallbackSqlScriptExecutorFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
28 58 10 database Lorg/flywaydb/core/internal/database/base/Database;
34 50 11 schemas Lorg/flywaydb/core/internal/util/Pair<Lorg/flywaydb/core/internal/database/base/Schema;Ljava/util/List<Lorg/flywaydb/core/internal/database/base/Schema;>;>;
35 50 12 defaultSchema Lorg/flywaydb/core/internal/database/base/Schema;
40 50 13 callbackExecutor Lorg/flywaydb/core/internal/callback/DefaultCallbackExecutor;
41 50 14 sqlScriptExecutorFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
Exception table:
from to target type
28 51 51 any
Signature: <T:Ljava/lang/Object;>(Lorg/flywaydb/core/Flyway$Command<TT;>;Z)TT;
MethodParameters:
Name Flags
command
scannerRequired
private void showMemoryUsage();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=12, args_size=1
start local 0 0: invokestatic java.lang.Runtime.getRuntime:()Ljava/lang/Runtime;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Runtime.freeMemory:()J
lstore 2
start local 2 2: aload 1
invokevirtual java.lang.Runtime.totalMemory:()J
lstore 4
start local 4 3: lload 4
lload 2
lsub
lstore 6
start local 6 4: lload 4
ldc 1048576
ldiv
lstore 8
start local 8 5: lload 6
ldc 1048576
ldiv
lstore 10
start local 10 6: getstatic org.flywaydb.core.Flyway.LOG:Lorg/flywaydb/core/api/logging/Log;
new java.lang.StringBuilder
dup
ldc "Memory usage: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 10
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " of "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
lload 8
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "M"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.flywaydb.core.api.logging.Log.debug:(Ljava/lang/String;)V
7: return
end local 10 end local 8 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/flywaydb/core/Flyway;
1 8 1 runtime Ljava/lang/Runtime;
2 8 2 free J
3 8 4 total J
4 8 6 used J
5 8 8 totalMB J
6 8 10 usedMB J
private org.flywaydb.core.internal.util.Pair<org.flywaydb.core.internal.database.base.Schema, java.util.List<org.flywaydb.core.internal.database.base.Schema>> prepareSchemas(org.flywaydb.core.internal.database.base.Database);
descriptor: (Lorg/flywaydb/core/internal/database/base/Database;)Lorg/flywaydb/core/internal/util/Pair;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getDefaultSchema:()Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getSchemas:()[Ljava/lang/String;
astore 3
start local 3 2: aload 0
aload 2
aload 3
invokevirtual org.flywaydb.core.Flyway.isDefaultSchemaValid:(Ljava/lang/String;[Ljava/lang/String;)Z
ifne 4
3: new org.flywaydb.core.api.FlywayException
dup
ldc "The defaultSchema property is specified but is not a member of the schemas property"
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
getstatic org.flywaydb.core.Flyway.LOG:Lorg/flywaydb/core/api/logging/Log;
new java.lang.StringBuilder
dup
ldc "Schemas: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokestatic org.flywaydb.core.internal.util.StringUtils.arrayToCommaDelimitedString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.flywaydb.core.api.logging.Log.debug:(Ljava/lang/String;)V
5: getstatic org.flywaydb.core.Flyway.LOG:Lorg/flywaydb/core/api/logging/Log;
new java.lang.StringBuilder
dup
ldc "Default schema: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.flywaydb.core.api.logging.Log.debug:(Ljava/lang/String;)V
6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 4
start local 4 7: aload 3
arraylength
ifne 13
8: aload 1
invokevirtual org.flywaydb.core.internal.database.base.Database.getMainConnection:()Lorg/flywaydb/core/internal/database/base/Connection;
invokevirtual org.flywaydb.core.internal.database.base.Connection.getCurrentSchema:()Lorg/flywaydb/core/internal/database/base/Schema;
astore 5
start local 5 9: aload 5
ifnonnull 11
10: new org.flywaydb.core.api.FlywayException
dup
ldc "Unable to determine schema for the schema history table. Set a default schema for the connection or specify one using the defaultSchema property!"
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: java.util.List org.flywaydb.core.internal.database.base.Schema
StackMap stack:
aload 4
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 12: goto 18
13: StackMap locals:
StackMap stack:
aload 3
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 17
StackMap locals: org.flywaydb.core.Flyway org.flywaydb.core.internal.database.base.Database java.lang.String java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
14: aload 8
iload 6
aaload
astore 5
start local 5 15: aload 4
aload 1
invokevirtual org.flywaydb.core.internal.database.base.Database.getMainConnection:()Lorg/flywaydb/core/internal/database/base/Connection;
aload 5
invokevirtual org.flywaydb.core.internal.database.base.Connection.getSchema:(Ljava/lang/String;)Lorg/flywaydb/core/internal/database/base/Schema;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
iload 7
if_icmplt 14
18: StackMap locals: org.flywaydb.core.Flyway org.flywaydb.core.internal.database.base.Database java.lang.String java.lang.String[] java.util.List
StackMap stack:
aload 2
ifnonnull 20
aload 3
arraylength
ifle 20
19: aload 3
iconst_0
aaload
astore 2
20: StackMap locals:
StackMap stack:
aload 2
ifnull 22
21: aload 1
invokevirtual org.flywaydb.core.internal.database.base.Database.getMainConnection:()Lorg/flywaydb/core/internal/database/base/Connection;
aload 2
invokevirtual org.flywaydb.core.internal.database.base.Connection.getSchema:(Ljava/lang/String;)Lorg/flywaydb/core/internal/database/base/Schema;
goto 23
22: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.flywaydb.core.internal.database.base.Database.getMainConnection:()Lorg/flywaydb/core/internal/database/base/Connection;
invokevirtual org.flywaydb.core.internal.database.base.Connection.getCurrentSchema:()Lorg/flywaydb/core/internal/database/base/Schema;
23: StackMap locals:
StackMap stack: org.flywaydb.core.internal.database.base.Schema
astore 5
start local 5 24: aload 5
aload 4
invokestatic org.flywaydb.core.internal.util.Pair.of:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/flywaydb/core/internal/util/Pair;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/flywaydb/core/Flyway;
0 25 1 database Lorg/flywaydb/core/internal/database/base/Database;
1 25 2 defaultSchemaName Ljava/lang/String;
2 25 3 schemaNames [Ljava/lang/String;
7 25 4 schemas Ljava/util/List<Lorg/flywaydb/core/internal/database/base/Schema;>;
9 12 5 currentSchema Lorg/flywaydb/core/internal/database/base/Schema;
15 16 5 schemaName Ljava/lang/String;
24 25 5 defaultSchema Lorg/flywaydb/core/internal/database/base/Schema;
Signature: (Lorg/flywaydb/core/internal/database/base/Database;)Lorg/flywaydb/core/internal/util/Pair<Lorg/flywaydb/core/internal/database/base/Schema;Ljava/util/List<Lorg/flywaydb/core/internal/database/base/Schema;>;>;
MethodParameters:
Name Flags
database
private boolean isDefaultSchemaValid(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: org.flywaydb.core.Flyway java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 1
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/flywaydb/core/Flyway;
0 9 1 defaultSchema Ljava/lang/String;
0 9 2 schemas [Ljava/lang/String;
4 6 3 schema Ljava/lang/String;
MethodParameters:
Name Flags
defaultSchema
schemas
private java.util.List<org.flywaydb.core.api.callback.Callback> prepareCallbacks(org.flywaydb.core.internal.database.base.Database, org.flywaydb.core.internal.resource.ResourceProvider, org.flywaydb.core.internal.jdbc.JdbcConnectionFactory, org.flywaydb.core.internal.sqlscript.SqlScriptFactory);
descriptor: (Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 1: aload 5
aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.getCallbacks:()[Lorg/flywaydb/core/api/callback/Callback;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
invokevirtual org.flywaydb.core.api.configuration.ClassicConfiguration.isSkipDefaultCallbacks:()Z
ifne 14
3: aload 3
invokestatic org.flywaydb.core.internal.database.DatabaseFactory.createSqlScriptExecutorFactory:(Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;)Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
4: astore 6
start local 6 5: aload 5
6: new org.flywaydb.core.internal.callback.SqlScriptCallbackFactory
dup
7: aload 2
8: aload 6
9: aload 4
10: aload 0
getfield org.flywaydb.core.Flyway.configuration:Lorg/flywaydb/core/api/configuration/ClassicConfiguration;
11: invokespecial org.flywaydb.core.internal.callback.SqlScriptCallbackFactory.<init>:(Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;Lorg/flywaydb/core/api/configuration/Configuration;)V
12: invokevirtual org.flywaydb.core.internal.callback.SqlScriptCallbackFactory.getCallbacks:()Ljava/util/List;
13: invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
end local 6 14: StackMap locals: java.util.List
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/flywaydb/core/Flyway;
0 15 1 database Lorg/flywaydb/core/internal/database/base/Database;
0 15 2 resourceProvider Lorg/flywaydb/core/internal/resource/ResourceProvider;
0 15 3 jdbcConnectionFactory Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;
0 15 4 sqlScriptFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;
1 15 5 effectiveCallbacks Ljava/util/List<Lorg/flywaydb/core/api/callback/Callback;>;
5 14 6 sqlScriptExecutorFactory Lorg/flywaydb/core/internal/sqlscript/SqlScriptExecutorFactory;
Signature: (Lorg/flywaydb/core/internal/database/base/Database;Lorg/flywaydb/core/internal/resource/ResourceProvider;Lorg/flywaydb/core/internal/jdbc/JdbcConnectionFactory;Lorg/flywaydb/core/internal/sqlscript/SqlScriptFactory;)Ljava/util/List<Lorg/flywaydb/core/api/callback/Callback;>;
MethodParameters:
Name Flags
database
resourceProvider
jdbcConnectionFactory
sqlScriptFactory
}
SourceFile: "Flyway.java"
NestMembers:
org.flywaydb.core.Flyway$1 org.flywaydb.core.Flyway$2 org.flywaydb.core.Flyway$3 org.flywaydb.core.Flyway$4 org.flywaydb.core.Flyway$5 org.flywaydb.core.Flyway$6 org.flywaydb.core.Flyway$7 org.flywaydb.core.Flyway$Command
InnerClasses:
org.flywaydb.core.Flyway$1
org.flywaydb.core.Flyway$2
org.flywaydb.core.Flyway$3
org.flywaydb.core.Flyway$4
org.flywaydb.core.Flyway$5
org.flywaydb.core.Flyway$6
org.flywaydb.core.Flyway$7
abstract Command = org.flywaydb.core.Flyway$Command of org.flywaydb.core.Flyway
public abstract ConnectionInitializer = org.flywaydb.core.internal.jdbc.JdbcConnectionFactory$ConnectionInitializer of org.flywaydb.core.internal.jdbc.JdbcConnectionFactory