public class org.apache.cassandra.utils.CassandraVersion implements java.lang.Comparable<org.apache.cassandra.utils.CassandraVersion>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.utils.CassandraVersion
super_class: java.lang.Object
{
private static final java.lang.String VERSION_REGEXP;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "(\\d+)\\.(\\d+)(?:\\.(\\w+))?(\\-[.\\w]+)?([.+][.\\w]+)?"
private static final java.util.regex.Pattern PATTERN_WHITESPACE;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern pattern;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern SNAPSHOT;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public final int major;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int minor;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int patch;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final java.lang.String[] preRelease;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String[] build;
descriptor: [Ljava/lang/String;
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 "\\w+"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.utils.CassandraVersion.PATTERN_WHITESPACE:Ljava/util/regex/Pattern;
1: ldc "(\\d+)\\.(\\d+)(?:\\.(\\w+))?(\\-[.\\w]+)?([.+][.\\w]+)?"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.utils.CassandraVersion.pattern:Ljava/util/regex/Pattern;
2: ldc "-SNAPSHOT"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic org.apache.cassandra.utils.CassandraVersion.SNAPSHOT:Ljava/util/regex/Pattern;
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=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.apache.cassandra.utils.CassandraVersion.SNAPSHOT:Ljava/util/regex/Pattern;
aload 1
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
ldc ""
invokevirtual java.util.regex.Matcher.replaceFirst:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 2: getstatic org.apache.cassandra.utils.CassandraVersion.pattern:Ljava/util/regex/Pattern;
aload 2
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
astore 3
start local 3 3: aload 3
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid version value: "
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 java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.apache.cassandra.utils.CassandraVersion java.lang.String java.lang.String java.util.regex.Matcher
StackMap stack:
aload 0
aload 3
iconst_1
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield org.apache.cassandra.utils.CassandraVersion.major:I
6: aload 0
aload 3
iconst_2
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield org.apache.cassandra.utils.CassandraVersion.minor:I
7: aload 0
aload 3
iconst_3
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
ifnull 8
aload 3
iconst_3
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
goto 9
StackMap locals:
StackMap stack: org.apache.cassandra.utils.CassandraVersion
8: iconst_0
StackMap locals: org.apache.cassandra.utils.CassandraVersion java.lang.String java.lang.String java.util.regex.Matcher
StackMap stack: org.apache.cassandra.utils.CassandraVersion int
9: putfield org.apache.cassandra.utils.CassandraVersion.patch:I
10: aload 3
iconst_4
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 4
start local 4 11: aload 3
iconst_5
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 5
start local 5 12: aload 0
aload 4
ifnull 13
aload 4
invokevirtual java.lang.String.isEmpty:()Z
ifeq 14
StackMap locals: org.apache.cassandra.utils.CassandraVersion java.lang.String java.lang.String java.util.regex.Matcher java.lang.String java.lang.String
StackMap stack: org.apache.cassandra.utils.CassandraVersion
13: aconst_null
goto 15
StackMap locals:
StackMap stack: org.apache.cassandra.utils.CassandraVersion
14: aload 2
aload 4
invokestatic org.apache.cassandra.utils.CassandraVersion.parseIdentifiers:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
StackMap locals: org.apache.cassandra.utils.CassandraVersion java.lang.String java.lang.String java.util.regex.Matcher java.lang.String java.lang.String
StackMap stack: org.apache.cassandra.utils.CassandraVersion java.lang.String[]
15: putfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
16: aload 0
aload 5
ifnull 17
aload 5
invokevirtual java.lang.String.isEmpty:()Z
ifeq 18
StackMap locals:
StackMap stack: org.apache.cassandra.utils.CassandraVersion
17: aconst_null
goto 19
StackMap locals:
StackMap stack: org.apache.cassandra.utils.CassandraVersion
18: aload 2
aload 5
invokestatic org.apache.cassandra.utils.CassandraVersion.parseIdentifiers:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
StackMap locals: org.apache.cassandra.utils.CassandraVersion java.lang.String java.lang.String java.util.regex.Matcher java.lang.String java.lang.String
StackMap stack: org.apache.cassandra.utils.CassandraVersion java.lang.String[]
19: putfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
end local 5 end local 4 20: goto 23
21: StackMap locals: org.apache.cassandra.utils.CassandraVersion java.lang.String java.lang.String java.util.regex.Matcher
StackMap stack: java.lang.NumberFormatException
astore 4
start local 4 22: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid version value: "
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;
aload 4
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 23: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/cassandra/utils/CassandraVersion;
0 24 1 version Ljava/lang/String;
2 24 2 stripped Ljava/lang/String;
3 24 3 matcher Ljava/util/regex/Matcher;
11 20 4 pr Ljava/lang/String;
12 20 5 bld Ljava/lang/String;
22 23 4 e Ljava/lang/NumberFormatException;
Exception table:
from to target type
5 20 21 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
version
private static java.lang.String[] parseIdentifiers(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
1: aload 1
bipush 46
invokestatic org.apache.commons.lang3.StringUtils.split:(Ljava/lang/String;C)[Ljava/lang/String;
astore 2
start local 2 2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: java.lang.String 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: getstatic org.apache.cassandra.utils.CassandraVersion.PATTERN_WHITESPACE:Ljava/util/regex/Pattern;
aload 3
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifne 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid version value: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 version Ljava/lang/String;
0 9 1 str Ljava/lang/String;
2 9 2 parts [Ljava/lang/String;
4 6 3 part Ljava/lang/String;
MethodParameters:
Name Flags
version
str
public int compareTo(org.apache.cassandra.utils.CassandraVersion);
descriptor: (Lorg/apache/cassandra/utils/CassandraVersion;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.major:I
if_icmpge 2
1: iconst_m1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.major:I
if_icmple 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
if_icmpge 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
if_icmple 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
if_icmpge 10
9: iconst_m1
ireturn
10: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
if_icmple 12
11: iconst_1
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
iconst_1
invokestatic org.apache.cassandra.utils.CassandraVersion.compareIdentifiers:([Ljava/lang/String;[Ljava/lang/String;I)I
istore 2
start local 2 13: iload 2
ifeq 15
14: iload 2
ireturn
15: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
iconst_m1
invokestatic org.apache.cassandra.utils.CassandraVersion.compareIdentifiers:([Ljava/lang/String;[Ljava/lang/String;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/cassandra/utils/CassandraVersion;
0 16 1 other Lorg/apache/cassandra/utils/CassandraVersion;
13 16 2 c I
MethodParameters:
Name Flags
other
public boolean is30();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
iconst_3
if_icmpne 1
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/cassandra/utils/CassandraVersion;
public org.apache.cassandra.utils.CassandraVersion findSupportingVersion(org.apache.cassandra.utils.CassandraVersion[]);
descriptor: ([Lorg/apache/cassandra/utils/CassandraVersion;)Lorg/apache/cassandra/utils/CassandraVersion;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.apache.cassandra.utils.CassandraVersion org.apache.cassandra.utils.CassandraVersion[] top int int org.apache.cassandra.utils.CassandraVersion[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 0
aload 2
invokevirtual org.apache.cassandra.utils.CassandraVersion.isSupportedBy:(Lorg/apache/cassandra/utils/CassandraVersion;)Z
ifeq 4
3: aload 2
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: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/CassandraVersion;
0 7 1 versions [Lorg/apache/cassandra/utils/CassandraVersion;
2 4 2 version Lorg/apache/cassandra/utils/CassandraVersion;
MethodParameters:
Name Flags
versions
public boolean isSupportedBy(org.apache.cassandra.utils.CassandraVersion);
descriptor: (Lorg/apache/cassandra/utils/CassandraVersion;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
aload 1
getfield org.apache.cassandra.utils.CassandraVersion.major:I
if_icmpne 1
aload 0
aload 1
invokevirtual org.apache.cassandra.utils.CassandraVersion.compareTo:(Lorg/apache/cassandra/utils/CassandraVersion;)I
ifgt 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/apache/cassandra/utils/CassandraVersion;
0 2 1 version Lorg/apache/cassandra/utils/CassandraVersion;
MethodParameters:
Name Flags
version
private static int compareIdentifiers(java.lang.String[], java.lang.String[], int);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ifnonnull 4
1: aload 1
ifnonnull 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 6
5: iload 2
ineg
ireturn
6: StackMap locals:
StackMap stack:
aload 0
arraylength
aload 1
arraylength
invokestatic java.lang.Math.min:(II)I
istore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 22
9: StackMap locals: int int
StackMap stack:
aload 0
iload 4
aaload
invokestatic org.apache.cassandra.utils.CassandraVersion.tryParseInt:(Ljava/lang/String;)Ljava/lang/Integer;
astore 5
start local 5 10: aload 1
iload 4
aaload
invokestatic org.apache.cassandra.utils.CassandraVersion.tryParseInt:(Ljava/lang/String;)Ljava/lang/Integer;
astore 6
start local 6 11: aload 5
ifnull 16
12: aload 6
ifnull 13
aload 5
invokevirtual java.lang.Integer.intValue:()I
aload 6
invokevirtual java.lang.Integer.intValue:()I
if_icmpge 14
13: StackMap locals: java.lang.Integer java.lang.Integer
StackMap stack:
iconst_m1
ireturn
14: StackMap locals:
StackMap stack:
aload 5
invokevirtual java.lang.Integer.intValue:()I
aload 6
invokevirtual java.lang.Integer.intValue:()I
if_icmple 21
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 6
ifnull 18
17: iconst_1
ireturn
18: StackMap locals:
StackMap stack:
aload 0
iload 4
aaload
aload 1
iload 4
aaload
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
istore 7
start local 7 19: iload 7
ifeq 21
20: iload 7
ireturn
end local 7 end local 6 end local 5 21: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
iload 3
if_icmplt 9
end local 4 23: aload 0
arraylength
aload 1
arraylength
if_icmpge 25
24: iconst_m1
ireturn
25: StackMap locals:
StackMap stack:
aload 0
arraylength
aload 1
arraylength
if_icmple 27
26: iconst_1
ireturn
27: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 ids1 [Ljava/lang/String;
0 28 1 ids2 [Ljava/lang/String;
0 28 2 defaultPred I
7 28 3 min I
8 23 4 i I
10 21 5 i1 Ljava/lang/Integer;
11 21 6 i2 Ljava/lang/Integer;
19 21 7 c I
MethodParameters:
Name Flags
ids1
ids2
defaultPred
private static java.lang.Integer tryParseInt(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Integer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;)Ljava/lang/Integer;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 str Ljava/lang/String;
Exception table:
from to target type
0 1 2 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
str
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 1
instanceof org.apache.cassandra.utils.CassandraVersion
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.cassandra.utils.CassandraVersion
astore 2
start local 2 3: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
aload 2
getfield org.apache.cassandra.utils.CassandraVersion.major:I
if_icmpne 9
4: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
aload 2
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
if_icmpne 9
5: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
aload 2
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
if_icmpne 9
6: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
aload 2
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
aload 2
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals: org.apache.cassandra.utils.CassandraVersion
StackMap stack:
9: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/cassandra/utils/CassandraVersion;
0 10 1 o Ljava/lang/Object;
3 10 2 that Lorg/apache/cassandra/utils/CassandraVersion;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
aastore
dup
iconst_4
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/utils/CassandraVersion;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.major:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.minor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.patch:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
2: aload 0
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
ifnull 4
3: aload 1
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.preRelease:[Ljava/lang/String;
ldc "."
invokestatic org.apache.commons.lang3.StringUtils.join:([Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
ifnull 6
5: aload 1
bipush 43
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.cassandra.utils.CassandraVersion.build:[Ljava/lang/String;
ldc "."
invokestatic org.apache.commons.lang3.StringUtils.join:([Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/cassandra/utils/CassandraVersion;
1 7 1 sb Ljava/lang/StringBuilder;
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.apache.cassandra.utils.CassandraVersion
invokevirtual org.apache.cassandra.utils.CassandraVersion.compareTo:(Lorg/apache/cassandra/utils/CassandraVersion;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/apache/cassandra/utils/CassandraVersion;>;
SourceFile: "CassandraVersion.java"