class org.flywaydb.commandline.CommandLineArguments
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.flywaydb.commandline.CommandLineArguments
super_class: java.lang.Object
{
private static java.lang.String DEBUG_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String QUIET_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String SUPPRESS_PROMPT_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String PRINT_VERSION_AND_EXIT_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String JSON_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String PRINT_USAGE_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String COMMUNITY_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String PRO_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String ENTERPRISE_FLAG;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String OUTPUT_FILE;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String LOG_FILE;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String CONFIG_FILE_ENCODING;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String CONFIG_FILES;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String COLOR;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String WORKING_DIRECTORY;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.List<java.lang.String> VALID_OPERATIONS_AND_FLAGS;
descriptor: Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.lang.String[] args;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc "-X"
putstatic org.flywaydb.commandline.CommandLineArguments.DEBUG_FLAG:Ljava/lang/String;
1: ldc "-q"
putstatic org.flywaydb.commandline.CommandLineArguments.QUIET_FLAG:Ljava/lang/String;
2: ldc "-n"
putstatic org.flywaydb.commandline.CommandLineArguments.SUPPRESS_PROMPT_FLAG:Ljava/lang/String;
3: ldc "-v"
putstatic org.flywaydb.commandline.CommandLineArguments.PRINT_VERSION_AND_EXIT_FLAG:Ljava/lang/String;
4: ldc "-json"
putstatic org.flywaydb.commandline.CommandLineArguments.JSON_FLAG:Ljava/lang/String;
5: ldc "-?"
putstatic org.flywaydb.commandline.CommandLineArguments.PRINT_USAGE_FLAG:Ljava/lang/String;
6: ldc "-community"
putstatic org.flywaydb.commandline.CommandLineArguments.COMMUNITY_FLAG:Ljava/lang/String;
7: ldc "-pro"
putstatic org.flywaydb.commandline.CommandLineArguments.PRO_FLAG:Ljava/lang/String;
8: ldc "-enterprise"
putstatic org.flywaydb.commandline.CommandLineArguments.ENTERPRISE_FLAG:Ljava/lang/String;
9: ldc "outputFile"
putstatic org.flywaydb.commandline.CommandLineArguments.OUTPUT_FILE:Ljava/lang/String;
10: ldc "logFile"
putstatic org.flywaydb.commandline.CommandLineArguments.LOG_FILE:Ljava/lang/String;
11: ldc "configFileEncoding"
putstatic org.flywaydb.commandline.CommandLineArguments.CONFIG_FILE_ENCODING:Ljava/lang/String;
12: ldc "configFiles"
putstatic org.flywaydb.commandline.CommandLineArguments.CONFIG_FILES:Ljava/lang/String;
13: ldc "color"
putstatic org.flywaydb.commandline.CommandLineArguments.COLOR:Ljava/lang/String;
14: ldc "workingDirectory"
putstatic org.flywaydb.commandline.CommandLineArguments.WORKING_DIRECTORY:Ljava/lang/String;
15: bipush 17
anewarray java.lang.String
dup
iconst_0
16: getstatic org.flywaydb.commandline.CommandLineArguments.DEBUG_FLAG:Ljava/lang/String;
aastore
dup
iconst_1
17: getstatic org.flywaydb.commandline.CommandLineArguments.QUIET_FLAG:Ljava/lang/String;
aastore
dup
iconst_2
18: getstatic org.flywaydb.commandline.CommandLineArguments.SUPPRESS_PROMPT_FLAG:Ljava/lang/String;
aastore
dup
iconst_3
19: getstatic org.flywaydb.commandline.CommandLineArguments.PRINT_VERSION_AND_EXIT_FLAG:Ljava/lang/String;
aastore
dup
iconst_4
20: getstatic org.flywaydb.commandline.CommandLineArguments.JSON_FLAG:Ljava/lang/String;
aastore
dup
iconst_5
21: getstatic org.flywaydb.commandline.CommandLineArguments.PRINT_USAGE_FLAG:Ljava/lang/String;
aastore
dup
bipush 6
22: getstatic org.flywaydb.commandline.CommandLineArguments.COMMUNITY_FLAG:Ljava/lang/String;
aastore
dup
bipush 7
23: getstatic org.flywaydb.commandline.CommandLineArguments.PRO_FLAG:Ljava/lang/String;
aastore
dup
bipush 8
24: getstatic org.flywaydb.commandline.CommandLineArguments.ENTERPRISE_FLAG:Ljava/lang/String;
aastore
dup
bipush 9
25: ldc "help"
aastore
dup
bipush 10
26: ldc "migrate"
aastore
dup
bipush 11
27: ldc "clean"
aastore
dup
bipush 12
28: ldc "info"
aastore
dup
bipush 13
29: ldc "validate"
aastore
dup
bipush 14
30: ldc "undo"
aastore
dup
bipush 15
31: ldc "baseline"
aastore
dup
bipush 16
32: ldc "repair"
aastore
33: invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic org.flywaydb.commandline.CommandLineArguments.VALID_OPERATIONS_AND_FLAGS:Ljava/util/List;
34: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/CommandLineArguments;
0 3 1 args [Ljava/lang/String;
MethodParameters:
Name Flags
args
private static boolean isFlagSet(java.lang.String[], java.lang.String);
descriptor: ([Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: java.lang.String[] java.lang.String top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 1
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 args [Ljava/lang/String;
0 7 1 flag Ljava/lang/String;
2 4 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
args
flag
private static java.lang.String getArgumentValue(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, 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 5
StackMap locals: java.lang.String java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
new java.lang.StringBuilder
dup
ldc "-"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 2
invokestatic org.flywaydb.commandline.CommandLineArguments.parseConfigurationOptionValueFromArg:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 argName Ljava/lang/String;
0 7 1 allArgs [Ljava/lang/String;
2 4 2 arg Ljava/lang/String;
MethodParameters:
Name Flags
argName
allArgs
private static java.lang.String parseConfigurationOptionValueFromArg(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: iload 1
iflt 2
iload 1
aload 0
invokevirtual java.lang.String.length:()I
if_icmpne 3
2: StackMap locals: int
StackMap stack:
ldc ""
areturn
3: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arg Ljava/lang/String;
1 4 1 index I
MethodParameters:
Name Flags
arg
private static java.util.List<java.lang.String> getOperationsFromArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, 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
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.lang.String[] java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
4: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 args [Ljava/lang/String;
1 8 1 operations Ljava/util/List<Ljava/lang/String;>;
3 5 2 arg Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
args
private static java.util.List<java.lang.String> getConfigFilesFromArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.CONFIG_FILES:Ljava/lang/String;
aload 0
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc ","
invokestatic org.flywaydb.core.internal.util.StringUtils.tokenizeToStringArray:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 args [Ljava/lang/String;
1 2 1 configFilesCommaSeparatedList Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
args
private static java.util.Map<java.lang.String, java.lang.String> getConfigurationFromArgs(java.lang.String[]);
descriptor: ([Ljava/lang/String;)Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: java.lang.String[] java.util.Map top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokestatic org.flywaydb.commandline.CommandLineArguments.isConfigurationArg:(Ljava/lang/String;)Z
ifeq 7
4: aload 2
invokestatic org.flywaydb.commandline.CommandLineArguments.getConfigurationOptionNameFromArg:(Ljava/lang/String;)Ljava/lang/String;
astore 6
start local 6 5: aload 6
invokestatic org.flywaydb.commandline.CommandLineArguments.isConfigurationOptionIgnored:(Ljava/lang/String;)Z
ifne 7
6: aload 1
new java.lang.StringBuilder
dup
ldc "flyway."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokestatic org.flywaydb.commandline.CommandLineArguments.parseConfigurationOptionValueFromArg:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 2 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 2
9: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 args [Ljava/lang/String;
1 10 1 configuration Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
3 7 2 arg Ljava/lang/String;
5 7 6 configurationOptionName Ljava/lang/String;
Signature: ([Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
args
private static boolean isConfigurationOptionIgnored(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.OUTPUT_FILE:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
1: getstatic org.flywaydb.commandline.CommandLineArguments.LOG_FILE:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
2: getstatic org.flywaydb.commandline.CommandLineArguments.COLOR:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
3: getstatic org.flywaydb.commandline.CommandLineArguments.WORKING_DIRECTORY:Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
4: iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 configurationOptionName Ljava/lang/String;
MethodParameters:
Name Flags
configurationOptionName
private static java.lang.String getConfigurationOptionNameFromArg(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 1: aload 0
iconst_1
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arg Ljava/lang/String;
1 2 1 index I
MethodParameters:
Name Flags
arg
private static boolean isConfigurationArg(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
ldc "="
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 arg Ljava/lang/String;
MethodParameters:
Name Flags
arg
void validate(org.flywaydb.core.api.logging.Log);
descriptor: (Lorg/flywaydb/core/api/logging/Log;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.flywaydb.commandline.CommandLineArguments org.flywaydb.core.api.logging.Log top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
invokestatic org.flywaydb.commandline.CommandLineArguments.isConfigurationArg:(Ljava/lang/String;)Z
ifne 4
getstatic org.flywaydb.commandline.CommandLineArguments.VALID_OPERATIONS_AND_FLAGS:Ljava/util/List;
aload 2
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 4
3: new org.flywaydb.core.api.FlywayException
dup
new java.lang.StringBuilder
dup
ldc "Invalid argument: "
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;
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.isLogFilepathSet:()Z
ifeq 12
7: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.isOutputFileSet:()Z
ifeq 9
8: new org.flywaydb.core.api.FlywayException
dup
ldc "-logFile and -outputFile are incompatible. -logFile is deprecated. Instead use -outputFile."
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: org.flywaydb.commandline.CommandLineArguments org.flywaydb.core.api.logging.Log
StackMap stack:
aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.shouldOutputJson:()Z
ifeq 11
10: new org.flywaydb.core.api.FlywayException
dup
ldc "-logFile and -json are incompatible. -logFile is deprecated. Instead use -outputFile to print JSON to a file."
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
ldc "-logFile is deprecated. Instead use -outputFile."
invokeinterface org.flywaydb.core.api.logging.Log.warn:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.shouldOutputJson:()Z
ifeq 14
aload 0
ldc "info"
invokevirtual org.flywaydb.commandline.CommandLineArguments.hasOperation:(Ljava/lang/String;)Z
ifne 14
13: new org.flywaydb.core.api.FlywayException
dup
ldc "The -json flag is only supported by the info command."
invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
getstatic org.flywaydb.commandline.CommandLineArguments.COLOR:Ljava/lang/String;
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 15: aload 2
invokestatic org.flywaydb.commandline.CommandLineArguments$Color.isValid:(Ljava/lang/String;)Z
ifne 17
16: new org.flywaydb.core.api.FlywayException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is an invalid value for the -color option. Use 'always', 'never', or 'auto'."
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
17: StackMap locals: java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/flywaydb/commandline/CommandLineArguments;
0 18 1 log Lorg/flywaydb/core/api/logging/Log;
2 4 2 arg Ljava/lang/String;
15 18 2 colorArgumentValue Ljava/lang/String;
MethodParameters:
Name Flags
log
boolean shouldSuppressPrompt();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
getstatic org.flywaydb.commandline.CommandLineArguments.SUPPRESS_PROMPT_FLAG:Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.isFlagSet:([Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean shouldPrintVersionAndExit();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
getstatic org.flywaydb.commandline.CommandLineArguments.PRINT_VERSION_AND_EXIT_FLAG:Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.isFlagSet:([Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean shouldOutputJson();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
getstatic org.flywaydb.commandline.CommandLineArguments.JSON_FLAG:Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.isFlagSet:([Ljava/lang/String;Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean shouldPrintUsage();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
getstatic org.flywaydb.commandline.CommandLineArguments.PRINT_USAGE_FLAG:Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.isFlagSet:([Ljava/lang/String;Ljava/lang/String;)Z
ifne 1
aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.getOperations:()Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/commandline/CommandLineArguments;
org.flywaydb.commandline.ConsoleLog$Level getLogLevel();
descriptor: ()Lorg/flywaydb/commandline/ConsoleLog$Level;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
getstatic org.flywaydb.commandline.CommandLineArguments.QUIET_FLAG:Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.isFlagSet:([Ljava/lang/String;Ljava/lang/String;)Z
ifeq 2
1: getstatic org.flywaydb.commandline.ConsoleLog$Level.WARN:Lorg/flywaydb/commandline/ConsoleLog$Level;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
getstatic org.flywaydb.commandline.CommandLineArguments.DEBUG_FLAG:Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.isFlagSet:([Ljava/lang/String;Ljava/lang/String;)Z
ifeq 4
3: getstatic org.flywaydb.commandline.ConsoleLog$Level.DEBUG:Lorg/flywaydb/commandline/ConsoleLog$Level;
areturn
4: StackMap locals:
StackMap stack:
getstatic org.flywaydb.commandline.ConsoleLog$Level.INFO:Lorg/flywaydb/commandline/ConsoleLog$Level;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean hasOperation(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.getOperations:()Ljava/util/List;
aload 1
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
0 1 1 operation Ljava/lang/String;
MethodParameters:
Name Flags
operation
java.util.List<java.lang.String> getOperations();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getOperationsFromArgs:([Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
java.util.List<java.lang.String> getConfigFiles();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getConfigFilesFromArgs:([Ljava/lang/String;)Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
Signature: ()Ljava/util/List<Ljava/lang/String;>;
java.lang.String getOutputFile();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.OUTPUT_FILE:Ljava/lang/String;
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
java.lang.String getLogFilepath();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.LOG_FILE:Ljava/lang/String;
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
java.lang.String getWorkingDirectory();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.WORKING_DIRECTORY:Ljava/lang/String;
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean isOutputFileSet();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.getOutputFile:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean isLogFilepathSet();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.getLogFilepath:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean isWorkingDirectorySet();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.getWorkingDirectory:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/CommandLineArguments;
java.lang.String getConfigFileEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.CONFIG_FILE_ENCODING:Ljava/lang/String;
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
boolean isConfigFileEncodingSet();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.flywaydb.commandline.CommandLineArguments.getConfigFileEncoding:()Ljava/lang/String;
invokevirtual java.lang.String.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/commandline/CommandLineArguments;
org.flywaydb.commandline.CommandLineArguments$Color getColor();
descriptor: ()Lorg/flywaydb/commandline/CommandLineArguments$Color;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.flywaydb.commandline.CommandLineArguments.COLOR:Ljava/lang/String;
aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getArgumentValue:(Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments$Color.fromString:(Ljava/lang/String;)Lorg/flywaydb/commandline/CommandLineArguments$Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
java.util.Map<java.lang.String, java.lang.String> getConfiguration();
descriptor: ()Ljava/util/Map;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.commandline.CommandLineArguments.args:[Ljava/lang/String;
invokestatic org.flywaydb.commandline.CommandLineArguments.getConfigurationFromArgs:([Ljava/lang/String;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/commandline/CommandLineArguments;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
}
SourceFile: "CommandLineArguments.java"
NestMembers:
org.flywaydb.commandline.CommandLineArguments$Color
InnerClasses:
final Color = org.flywaydb.commandline.CommandLineArguments$Color of org.flywaydb.commandline.CommandLineArguments
public final Level = org.flywaydb.commandline.ConsoleLog$Level of org.flywaydb.commandline.ConsoleLog