public final class org.flywaydb.core.api.MigrationVersion implements java.lang.Comparable<org.flywaydb.core.api.MigrationVersion>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.flywaydb.core.api.MigrationVersion
super_class: java.lang.Object
{
public static final org.flywaydb.core.api.MigrationVersion EMPTY;
descriptor: Lorg/flywaydb/core/api/MigrationVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.flywaydb.core.api.MigrationVersion LATEST;
descriptor: Lorg/flywaydb/core/api/MigrationVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.flywaydb.core.api.MigrationVersion CURRENT;
descriptor: Lorg/flywaydb/core/api/MigrationVersion;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern SPLIT_REGEX;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.util.List<java.math.BigInteger> versionParts;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/math/BigInteger;>;
private final java.lang.String displayText;
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: new org.flywaydb.core.api.MigrationVersion
dup
aconst_null
ldc "<< Empty Schema >>"
invokespecial org.flywaydb.core.api.MigrationVersion.<init>:(Ljava/math/BigInteger;Ljava/lang/String;)V
putstatic org.flywaydb.core.api.MigrationVersion.EMPTY:Lorg/flywaydb/core/api/MigrationVersion;
1: new org.flywaydb.core.api.MigrationVersion
dup
ldc -1
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
ldc "<< Latest Version >>"
invokespecial org.flywaydb.core.api.MigrationVersion.<init>:(Ljava/math/BigInteger;Ljava/lang/String;)V
putstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
2: new org.flywaydb.core.api.MigrationVersion
dup
ldc -2
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
ldc "<< Current Version >>"
invokespecial org.flywaydb.core.api.MigrationVersion.<init>:(Ljava/math/BigInteger;Ljava/lang/String;)V
putstatic org.flywaydb.core.api.MigrationVersion.CURRENT:Lorg/flywaydb/core/api/MigrationVersion;
3: ldc "\\.(?=\\d)"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.flywaydb.core.api.MigrationVersion.SPLIT_REGEX:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.flywaydb.core.api.MigrationVersion fromVersion(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/flywaydb/core/api/MigrationVersion;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: ldc "current"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 1
getstatic org.flywaydb.core.api.MigrationVersion.CURRENT:Lorg/flywaydb/core/api/MigrationVersion;
areturn
1: StackMap locals:
StackMap stack:
ldc "latest"
aload 0
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 2
getstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
invokevirtual org.flywaydb.core.api.MigrationVersion.getVersion:()Ljava/lang/String;
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
StackMap locals:
StackMap stack:
2: getstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
areturn
3: StackMap locals:
StackMap stack:
aload 0
ifnonnull 4
getstatic org.flywaydb.core.api.MigrationVersion.EMPTY:Lorg/flywaydb/core/api/MigrationVersion;
areturn
4: StackMap locals:
StackMap stack:
new org.flywaydb.core.api.MigrationVersion
dup
aload 0
invokespecial org.flywaydb.core.api.MigrationVersion.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 version Ljava/lang/String;
MethodParameters:
Name Flags
version
private void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
bipush 95
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
start local 2 2: aload 0
aload 0
aload 2
invokevirtual org.flywaydb.core.api.MigrationVersion.tokenize:(Ljava/lang/String;)Ljava/util/List;
putfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
3: aload 0
aload 2
putfield org.flywaydb.core.api.MigrationVersion.displayText:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 5 1 version Ljava/lang/String;
2 5 2 normalizedVersion Ljava/lang/String;
MethodParameters:
Name Flags
version
private void <init>(java.math.BigInteger, java.lang.String);
descriptor: (Ljava/math/BigInteger;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
2: aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
aload 2
putfield org.flywaydb.core.api.MigrationVersion.displayText:Ljava/lang/String;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 5 1 version Ljava/math/BigInteger;
0 5 2 displayText Ljava/lang/String;
MethodParameters:
Name Flags
version
displayText
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
getfield org.flywaydb.core.api.MigrationVersion.displayText:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/MigrationVersion;
public java.lang.String getVersion();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.flywaydb.core.api.MigrationVersion.EMPTY:Lorg/flywaydb/core/api/MigrationVersion;
invokevirtual org.flywaydb.core.api.MigrationVersion.equals:(Ljava/lang/Object;)Z
ifeq 1
aconst_null
areturn
1: StackMap locals:
StackMap stack:
aload 0
getstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
invokevirtual org.flywaydb.core.api.MigrationVersion.equals:(Ljava/lang/Object;)Z
ifeq 2
ldc 9223372036854775807
invokestatic java.lang.Long.toString:(J)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.MigrationVersion.displayText:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/api/MigrationVersion;
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.MigrationVersion
astore 2
start local 2 4: aload 0
aload 2
invokevirtual org.flywaydb.core.api.MigrationVersion.compareTo:(Lorg/flywaydb/core/api/MigrationVersion;)I
ifne 5
iconst_1
ireturn
StackMap locals: org.flywaydb.core.api.MigrationVersion
StackMap stack:
5: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 6 1 o Ljava/lang/Object;
4 6 2 version1 Lorg/flywaydb/core/api/MigrationVersion;
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
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/api/MigrationVersion;
public boolean isAtLeast(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
aload 1
invokestatic org.flywaydb.core.api.MigrationVersion.fromVersion:(Ljava/lang/String;)Lorg/flywaydb/core/api/MigrationVersion;
invokevirtual org.flywaydb.core.api.MigrationVersion.compareTo:(Lorg/flywaydb/core/api/MigrationVersion;)I
iflt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 2 1 otherVersion Ljava/lang/String;
MethodParameters:
Name Flags
otherVersion
public boolean isNewerThan(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
aload 1
invokestatic org.flywaydb.core.api.MigrationVersion.fromVersion:(Ljava/lang/String;)Lorg/flywaydb/core/api/MigrationVersion;
invokevirtual org.flywaydb.core.api.MigrationVersion.compareTo:(Lorg/flywaydb/core/api/MigrationVersion;)I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 2 1 otherVersion Ljava/lang/String;
MethodParameters:
Name Flags
otherVersion
public boolean isMajorNewerThan(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
invokevirtual org.flywaydb.core.api.MigrationVersion.getMajor:()Ljava/math/BigInteger;
aload 1
invokestatic org.flywaydb.core.api.MigrationVersion.fromVersion:(Ljava/lang/String;)Lorg/flywaydb/core/api/MigrationVersion;
invokevirtual org.flywaydb.core.api.MigrationVersion.getMajor:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 2 1 otherVersion Ljava/lang/String;
MethodParameters:
Name Flags
otherVersion
public java.math.BigInteger getMajor();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.math.BigInteger
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/MigrationVersion;
public java.lang.String getMajorAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.math.BigInteger
invokevirtual java.math.BigInteger.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/flywaydb/core/api/MigrationVersion;
public java.lang.String getMinorAsString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 2
1: ldc "0"
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.math.BigInteger
invokevirtual java.math.BigInteger.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/api/MigrationVersion;
public int compareTo(org.flywaydb.core.api.MigrationVersion);
descriptor: (Lorg/flywaydb/core/api/MigrationVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getstatic org.flywaydb.core.api.MigrationVersion.EMPTY:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 5
3: aload 1
getstatic org.flywaydb.core.api.MigrationVersion.EMPTY:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 4
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getstatic org.flywaydb.core.api.MigrationVersion.CURRENT:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 9
6: aload 1
getstatic org.flywaydb.core.api.MigrationVersion.CURRENT:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 7
iconst_0
goto 8
StackMap locals:
StackMap stack:
7: iconst_m1
StackMap locals:
StackMap stack: int
8: ireturn
9: StackMap locals:
StackMap stack:
aload 0
getstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 12
10: aload 1
getstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 11
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
iconst_1
ireturn
12: StackMap locals:
StackMap stack:
aload 1
getstatic org.flywaydb.core.api.MigrationVersion.EMPTY:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 14
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
aload 1
getstatic org.flywaydb.core.api.MigrationVersion.CURRENT:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 1
getstatic org.flywaydb.core.api.MigrationVersion.LATEST:Lorg/flywaydb/core/api/MigrationVersion;
if_acmpne 18
17: iconst_m1
ireturn
18: StackMap locals:
StackMap stack:
aload 0
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
astore 2
start local 2 19: aload 1
getfield org.flywaydb.core.api.MigrationVersion.versionParts:Ljava/util/List;
astore 3
start local 3 20: aload 2
invokeinterface java.util.List.size:()I
aload 3
invokeinterface java.util.List.size:()I
invokestatic java.lang.Math.max:(II)I
istore 4
start local 4 21: iconst_0
istore 5
start local 5 22: goto 27
23: StackMap locals: org.flywaydb.core.api.MigrationVersion org.flywaydb.core.api.MigrationVersion java.util.List java.util.List int int
StackMap stack:
aload 0
aload 2
iload 5
invokevirtual org.flywaydb.core.api.MigrationVersion.getOrZero:(Ljava/util/List;I)Ljava/math/BigInteger;
aload 0
aload 3
iload 5
invokevirtual org.flywaydb.core.api.MigrationVersion.getOrZero:(Ljava/util/List;I)Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.compareTo:(Ljava/math/BigInteger;)I
istore 6
start local 6 24: iload 6
ifeq 26
25: iload 6
ireturn
end local 6 26: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
27: iload 5
iload 4
if_icmplt 23
end local 5 28: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 29 1 o Lorg/flywaydb/core/api/MigrationVersion;
19 29 2 parts1 Ljava/util/List<Ljava/math/BigInteger;>;
20 29 3 parts2 Ljava/util/List<Ljava/math/BigInteger;>;
21 29 4 largestNumberOfParts I
22 28 5 i I
24 26 6 compared I
MethodParameters:
Name Flags
o
private java.math.BigInteger getOrZero(java.util.List<java.math.BigInteger>, int);
descriptor: (Ljava/util/List;I)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 1
invokeinterface java.util.List.size:()I
if_icmpge 1
aload 1
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.math.BigInteger
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
StackMap locals:
StackMap stack: java.math.BigInteger
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 3 1 elements Ljava/util/List<Ljava/math/BigInteger;>;
0 3 2 i I
Signature: (Ljava/util/List<Ljava/math/BigInteger;>;I)Ljava/math/BigInteger;
MethodParameters:
Name Flags
elements
i
private java.util.List<java.math.BigInteger> tokenize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: getstatic org.flywaydb.core.api.MigrationVersion.SPLIT_REGEX:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.split:(Ljava/lang/CharSequence;)[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 5
StackMap locals: org.flywaydb.core.api.MigrationVersion java.lang.String java.util.List top int int java.lang.String[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 2
aload 0
aload 1
aload 3
invokevirtual org.flywaydb.core.api.MigrationVersion.toBigInteger:(Ljava/lang/String;Ljava/lang/String;)Ljava/math/BigInteger;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 4: iinc 4 1
StackMap locals:
StackMap stack:
5: iload 4
iload 5
if_icmplt 2
6: aload 2
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 3
start local 3 7: goto 12
8: StackMap locals: org.flywaydb.core.api.MigrationVersion java.lang.String java.util.List int
StackMap stack:
aload 2
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.math.BigInteger
getstatic java.math.BigInteger.ZERO:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifne 10
9: goto 13
10: StackMap locals:
StackMap stack:
aload 2
iload 3
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
11: iinc 3 -1
StackMap locals:
StackMap stack:
12: iload 3
ifgt 8
end local 3 13: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 14 1 versionStr Ljava/lang/String;
1 14 2 parts Ljava/util/List<Ljava/math/BigInteger;>;
3 4 3 part Ljava/lang/String;
7 13 3 i I
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/math/BigInteger;>;
MethodParameters:
Name Flags
versionStr
private java.math.BigInteger toBigInteger(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/math/BigInteger;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.math.BigInteger
dup
aload 2
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
3: new org.flywaydb.core.api.FlywayException
dup
new java.lang.StringBuilder
dup
ldc "Version may only contain 0..9 and . (dot). Invalid version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/flywaydb/core/api/MigrationVersion;
0 4 1 versionStr Ljava/lang/String;
0 4 2 part Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
versionStr
part
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.MigrationVersion
invokevirtual org.flywaydb.core.api.MigrationVersion.compareTo:(Lorg/flywaydb/core/api/MigrationVersion;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/flywaydb/core/api/MigrationVersion;>;
SourceFile: "MigrationVersion.java"