public final class org.flywaydb.core.api.Location implements java.lang.Comparable<org.flywaydb.core.api.Location>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.flywaydb.core.api.Location
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 static final java.lang.String CLASSPATH_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "classpath:"
public static final java.lang.String FILESYSTEM_PREFIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "filesystem:"
private final java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String rawPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String rootPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.regex.Pattern pathRegex;
descriptor: Ljava/util/regex/Pattern;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/flywaydb/core/api/Location;
invokestatic org.flywaydb.core.api.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/flywaydb/core/api/logging/Log;
putstatic org.flywaydb.core.api.Location.LOG:Lorg/flywaydb/core/api/logging/Log;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
2: aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
ldc ":"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 7
4: aload 0
aload 2
iconst_0
aload 2
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.flywaydb.core.api.Location.prefix:Ljava/lang/String;
5: aload 0
aload 2
aload 2
ldc ":"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
6: goto 9
7: StackMap locals: org.flywaydb.core.api.Location java.lang.String java.lang.String
StackMap stack:
aload 0
ldc "classpath:"
putfield org.flywaydb.core.api.Location.prefix:Ljava/lang/String;
8: aload 0
aload 2
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.flywaydb.core.api.Location.isClassPath:()Z
ifeq 19
10: aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 12
11: getstatic org.flywaydb.core.api.Location.LOG:Lorg/flywaydb/core/api/logging/Log;
new java.lang.StringBuilder
dup
ldc "Use of dots (.) as path separators will be deprecated in Flyway 7. Path: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.flywaydb.core.api.Location.rawPath: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.warn:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "."
ldc "/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
13: aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
14: aload 0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
15: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 17
16: aload 0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
iconst_0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.flywaydb.core.api.Location.processRawPath:()V
18: goto 28
StackMap locals:
StackMap stack:
19: aload 0
invokevirtual org.flywaydb.core.api.Location.isFileSystem:()Z
ifeq 25
20: aload 0
invokevirtual org.flywaydb.core.api.Location.processRawPath:()V
21: aload 0
new java.io.File
dup
aload 0
getfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
22: aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
ifnonnull 28
23: aload 0
new java.io.File
dup
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.getPath:()Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
24: goto 28
25: StackMap locals:
StackMap stack:
new org.flywaydb.core.api.FlywayException
dup
new java.lang.StringBuilder
dup
ldc "Unknown prefix for location (should be either filesystem: or classpath:): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
26: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokespecial org.flywaydb.core.api.FlywayException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 30
29: aload 0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
iconst_0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
30: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/flywaydb/core/api/Location;
0 31 1 descriptor Ljava/lang/String;
3 31 2 normalizedDescriptor Ljava/lang/String;
MethodParameters:
Name Flags
descriptor
private void processRawPath();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=14, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "*"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 1
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "?"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 46
1: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.flywaydb.core.api.Location.isFileSystem:()Z
ifeq 2
getstatic java.io.File.separator:Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: ldc "/"
StackMap locals:
StackMap stack: java.lang.String
3: astore 1
start local 1 4: aload 1
ldc "\\"
ldc "\\\\"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
ldc "/"
ldc "\\/"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 2
start local 2 5: aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
ldc "[\\\\/]"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 6: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 4
start local 4 7: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: iconst_0
istore 7
start local 7 10: iconst_0
istore 8
start local 8 11: aload 3
dup
astore 12
arraylength
istore 11
iconst_0
istore 10
goto 34
StackMap locals: org.flywaydb.core.api.Location java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder java.lang.StringBuilder int int int top int int java.lang.String[]
StackMap stack:
12: aload 12
iload 10
aaload
astore 9
start local 9 13: iconst_0
istore 6
14: aload 9
ldc "*"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 15
aload 9
ldc "?"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 16
15: StackMap locals: org.flywaydb.core.api.Location java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder java.lang.StringBuilder int int int java.lang.String int int java.lang.String[]
StackMap stack:
iconst_1
istore 8
16: StackMap locals:
StackMap stack:
iload 8
ifeq 32
17: iload 7
ifeq 20
18: iconst_0
istore 7
19: goto 21
20: StackMap locals:
StackMap stack:
aload 5
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
ldc "**"
aload 9
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
22: ldc "([^/]+/)*?"
astore 13
start local 13 23: iconst_1
istore 7
24: goto 30
end local 13 25: StackMap locals:
StackMap stack:
aload 9
ldc "."
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
istore 6
26: aload 9
astore 13
start local 13 27: aload 13
ldc "."
ldc "\\."
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 13
28: aload 13
ldc "?"
ldc "[^/]"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 13
29: aload 13
ldc "*"
ldc "[^/]+?"
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 13
30: StackMap locals: java.lang.String
StackMap stack:
aload 5
aload 13
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 13 31: goto 33
32: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 9 33: StackMap locals: org.flywaydb.core.api.Location java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder java.lang.StringBuilder int int int top int int java.lang.String[]
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
34: iload 10
iload 11
if_icmplt 12
35: aload 0
aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 36
aload 4
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 37
StackMap locals: org.flywaydb.core.api.Location java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder java.lang.StringBuilder int int int
StackMap stack: org.flywaydb.core.api.Location
36: ldc ""
StackMap locals: org.flywaydb.core.api.Location java.lang.String java.lang.String java.lang.String[] java.lang.StringBuilder java.lang.StringBuilder int int int
StackMap stack: org.flywaydb.core.api.Location java.lang.String
37: putfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
38: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 9
start local 9 39: aload 9
ldc "/"
aload 2
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
astore 9
40: aload 4
invokevirtual java.lang.StringBuilder.length:()I
ifle 42
41: new java.lang.StringBuilder
dup
aload 0
getfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
aload 1
aload 2
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
42: StackMap locals: java.lang.String
StackMap stack:
iload 6
ifne 44
43: new java.lang.StringBuilder
dup
aload 9
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "(?<relpath>.*)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 9
44: StackMap locals:
StackMap stack:
aload 0
aload 9
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
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 45: goto 47
46: StackMap locals: org.flywaydb.core.api.Location
StackMap stack:
aload 0
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
putfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
47: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lorg/flywaydb/core/api/Location;
4 45 1 seperator Ljava/lang/String;
5 45 2 escapedSeperator Ljava/lang/String;
6 45 3 pathSplit [Ljava/lang/String;
7 45 4 rootPart Ljava/lang/StringBuilder;
8 45 5 patternPart Ljava/lang/StringBuilder;
9 45 6 endsInFile Z
10 45 7 skipSeperator Z
11 45 8 inPattern Z
13 33 9 pathPart Ljava/lang/String;
23 25 13 regex Ljava/lang/String;
27 31 13 regex Ljava/lang/String;
39 45 9 pattern Ljava/lang/String;
public boolean matchesPath(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/api/Location;
0 3 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path
public java.lang.String getPathRelativeToThis(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
ifnull 6
aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
invokevirtual java.util.regex.Pattern.pattern:()Ljava/lang/String;
ldc "?<relpath>"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 6
1: aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 2
start local 2 2: aload 2
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 6
3: aload 2
ldc "relpath"
invokevirtual java.util.regex.Matcher.group:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: aload 3
ifnull 6
aload 3
invokevirtual java.lang.String.length:()I
ifle 6
5: aload 3
areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
ifle 7
aload 1
aload 0
getfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 8
StackMap locals:
StackMap stack:
7: aload 1
StackMap locals:
StackMap stack: java.lang.String
8: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/flywaydb/core/api/Location;
0 9 1 path Ljava/lang/String;
2 6 2 matcher Ljava/util/regex/Matcher;
4 6 3 relPath Ljava/lang/String;
MethodParameters:
Name Flags
path
public boolean isClassPath();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "classpath:"
aload 0
getfield org.flywaydb.core.api.Location.prefix:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public boolean isFileSystem();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "filesystem:"
aload 0
getfield org.flywaydb.core.api.Location.prefix:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public boolean isParentOf(org.flywaydb.core.api.Location);
descriptor: (Lorg/flywaydb/core/api/Location;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
ifnonnull 1
aload 1
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
ifnull 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.flywaydb.core.api.Location.isClassPath:()Z
ifeq 4
aload 1
invokevirtual org.flywaydb.core.api.Location.isClassPath:()Z
ifeq 4
3: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
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
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.flywaydb.core.api.Location.isFileSystem:()Z
ifeq 6
aload 1
invokevirtual org.flywaydb.core.api.Location.isFileSystem:()Z
ifeq 6
5: new java.lang.StringBuilder
dup
aload 1
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
getstatic java.io.File.separator:Ljava/lang/String;
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
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/flywaydb/core/api/Location;
0 7 1 other Lorg/flywaydb/core/api/Location;
MethodParameters:
Name Flags
other
public java.lang.String getPrefix();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.Location.prefix:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public java.lang.String getRootPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.Location.rootPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public java.util.regex.Pattern getPathRegex();
descriptor: ()Ljava/util/regex/Pattern;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.Location.pathRegex:Ljava/util/regex/Pattern;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public java.lang.String getDescriptor();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.flywaydb.core.api.Location.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.flywaydb.core.api.Location.rawPath:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public int compareTo(org.flywaydb.core.api.Location);
descriptor: (Lorg/flywaydb/core/api/Location;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
aload 1
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
0 1 1 o Lorg/flywaydb/core/api/Location;
MethodParameters:
Name Flags
o
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 1
iconst_1
ireturn
1: StackMap locals:
StackMap stack:
aload 1
ifnull 2
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 3
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
checkcast org.flywaydb.core.api.Location
astore 2
start local 2 4: aload 0
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
aload 2
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/flywaydb/core/api/Location;
0 5 1 o Ljava/lang/Object;
4 5 2 location Lorg/flywaydb/core/api/Location;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.flywaydb.core.api.Location.getDescriptor:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/Location;
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.flywaydb.core.api.Location
invokevirtual org.flywaydb.core.api.Location.compareTo:(Lorg/flywaydb/core/api/Location;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/flywaydb/core/api/Location;>;
SourceFile: "Location.java"