public final class org.apache.lucene.util.Version
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.Version
super_class: java.lang.Object
{
public static final org.apache.lucene.util.Version LUCENE_7_0_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_0_1;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_1_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_2_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_2_1;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_3_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_3_1;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_4_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_5_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_6_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_7_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_7_1;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_7_2;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_7_8_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_8_0_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_8_1_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_8_1_1;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public static final org.apache.lucene.util.Version LUCENE_8_2_0;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.lucene.util.Version LATEST;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final org.apache.lucene.util.Version LUCENE_CURRENT;
descriptor: Lorg/apache/lucene/util/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
RuntimeVisibleAnnotations:
java.lang.Deprecated()
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 bugfix;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final int prerelease;
descriptor: I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
private final int encodedValue;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/Version;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.Version.$assertionsDisabled:Z
3: new org.apache.lucene.util.Version
dup
bipush 7
iconst_0
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_0_0:Lorg/apache/lucene/util/Version;
4: new org.apache.lucene.util.Version
dup
bipush 7
iconst_0
iconst_1
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_0_1:Lorg/apache/lucene/util/Version;
5: new org.apache.lucene.util.Version
dup
bipush 7
iconst_1
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_1_0:Lorg/apache/lucene/util/Version;
6: new org.apache.lucene.util.Version
dup
bipush 7
iconst_2
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_2_0:Lorg/apache/lucene/util/Version;
7: new org.apache.lucene.util.Version
dup
bipush 7
iconst_2
iconst_1
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_2_1:Lorg/apache/lucene/util/Version;
8: new org.apache.lucene.util.Version
dup
bipush 7
iconst_3
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_3_0:Lorg/apache/lucene/util/Version;
9: new org.apache.lucene.util.Version
dup
bipush 7
iconst_3
iconst_1
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_3_1:Lorg/apache/lucene/util/Version;
10: new org.apache.lucene.util.Version
dup
bipush 7
iconst_4
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_4_0:Lorg/apache/lucene/util/Version;
11: new org.apache.lucene.util.Version
dup
bipush 7
iconst_5
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_5_0:Lorg/apache/lucene/util/Version;
12: new org.apache.lucene.util.Version
dup
bipush 7
bipush 6
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_6_0:Lorg/apache/lucene/util/Version;
13: new org.apache.lucene.util.Version
dup
bipush 7
bipush 7
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_7_0:Lorg/apache/lucene/util/Version;
14: new org.apache.lucene.util.Version
dup
bipush 7
bipush 7
iconst_1
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_7_1:Lorg/apache/lucene/util/Version;
15: new org.apache.lucene.util.Version
dup
bipush 7
bipush 7
iconst_2
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_7_2:Lorg/apache/lucene/util/Version;
16: new org.apache.lucene.util.Version
dup
bipush 7
bipush 8
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_7_8_0:Lorg/apache/lucene/util/Version;
17: new org.apache.lucene.util.Version
dup
bipush 8
iconst_0
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_8_0_0:Lorg/apache/lucene/util/Version;
18: new org.apache.lucene.util.Version
dup
bipush 8
iconst_1
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_8_1_0:Lorg/apache/lucene/util/Version;
19: new org.apache.lucene.util.Version
dup
bipush 8
iconst_1
iconst_1
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_8_1_1:Lorg/apache/lucene/util/Version;
20: new org.apache.lucene.util.Version
dup
bipush 8
iconst_2
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(III)V
putstatic org.apache.lucene.util.Version.LUCENE_8_2_0:Lorg/apache/lucene/util/Version;
21: getstatic org.apache.lucene.util.Version.LUCENE_8_2_0:Lorg/apache/lucene/util/Version;
putstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
22: getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
putstatic org.apache.lucene.util.Version.LUCENE_CURRENT:Lorg/apache/lucene/util/Version;
return
LocalVariableTable:
Start End Slot Name Signature
public static org.apache.lucene.util.Version parse(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/util/Version;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=9, args_size=1
start local 0 0: new org.apache.lucene.util.StrictStringTokenizer
dup
aload 0
bipush 46
invokespecial org.apache.lucene.util.StrictStringTokenizer.<init>:(Ljava/lang/String;C)V
astore 1
start local 1 1: aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.hasMoreTokens:()Z
ifne 3
2: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Version is not in form major.minor.bugfix(.prerelease) (got: "
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
3: StackMap locals: org.apache.lucene.util.StrictStringTokenizer
StackMap stack:
aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.nextToken:()Ljava/lang/String;
astore 3
start local 3 4: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 2
start local 2 5: goto 10
end local 2 StackMap locals: java.lang.String org.apache.lucene.util.StrictStringTokenizer top java.lang.String
StackMap stack: java.lang.NumberFormatException
6: astore 4
start local 4 7: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Failed to parse major version from \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" (got: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
astore 5
start local 5 8: aload 5
aload 4
invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
9: aload 5
athrow
end local 5 end local 4 start local 2 10: StackMap locals: java.lang.String org.apache.lucene.util.StrictStringTokenizer int java.lang.String
StackMap stack:
aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.hasMoreTokens:()Z
ifne 12
11: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Version is not in form major.minor.bugfix(.prerelease) (got: "
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
12: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.nextToken:()Ljava/lang/String;
astore 3
13: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 4
start local 4 14: goto 19
end local 4 StackMap locals:
StackMap stack: java.lang.NumberFormatException
15: astore 5
start local 5 16: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Failed to parse minor version from \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" (got: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
astore 6
start local 6 17: aload 6
aload 5
invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
18: aload 6
athrow
end local 6 end local 5 start local 4 19: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 20: iconst_0
istore 6
start local 6 21: aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.hasMoreTokens:()Z
ifeq 41
22: aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.nextToken:()Ljava/lang/String;
astore 3
23: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 5
24: goto 29
StackMap locals: java.lang.String org.apache.lucene.util.StrictStringTokenizer int java.lang.String int int int
StackMap stack: java.lang.NumberFormatException
25: astore 7
start local 7 26: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Failed to parse bugfix version from \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" (got: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
astore 8
start local 8 27: aload 8
aload 7
invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
28: aload 8
athrow
end local 8 end local 7 29: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.hasMoreTokens:()Z
ifeq 41
30: aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.nextToken:()Ljava/lang/String;
astore 3
31: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 6
32: goto 37
StackMap locals:
StackMap stack: java.lang.NumberFormatException
33: astore 7
start local 7 34: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Failed to parse prerelease version from \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" (got: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
astore 8
start local 8 35: aload 8
aload 7
invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
36: aload 8
athrow
end local 8 end local 7 37: StackMap locals:
StackMap stack:
iload 6
ifne 39
38: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Invalid value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " for prerelease; should be 1 or 2 (got: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
39: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.util.StrictStringTokenizer.hasMoreTokens:()Z
ifeq 41
40: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Version is not in form major.minor.bugfix(.prerelease) (got: "
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;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
41: StackMap locals:
StackMap stack:
new org.apache.lucene.util.Version
dup
iload 2
iload 4
iload 5
iload 6
invokespecial org.apache.lucene.util.Version.<init>:(IIII)V
42: areturn
43: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 7
start local 7 44: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "failed to parse version string \""
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;
aload 7
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
astore 8
start local 8 45: aload 8
aload 7
invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
46: aload 8
athrow
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 version Ljava/lang/String;
1 47 1 tokens Lorg/apache/lucene/util/StrictStringTokenizer;
5 6 2 major I
10 47 2 major I
4 47 3 token Ljava/lang/String;
7 10 4 nfe Ljava/lang/NumberFormatException;
8 10 5 p Ljava/text/ParseException;
14 15 4 minor I
19 47 4 minor I
16 19 5 nfe Ljava/lang/NumberFormatException;
17 19 6 p Ljava/text/ParseException;
20 47 5 bugfix I
21 47 6 prerelease I
26 29 7 nfe Ljava/lang/NumberFormatException;
27 29 8 p Ljava/text/ParseException;
34 37 7 nfe Ljava/lang/NumberFormatException;
35 37 8 p Ljava/text/ParseException;
44 47 7 iae Ljava/lang/IllegalArgumentException;
45 47 8 pe Ljava/text/ParseException;
Exception table:
from to target type
4 5 6 Class java.lang.NumberFormatException
13 14 15 Class java.lang.NumberFormatException
23 24 25 Class java.lang.NumberFormatException
31 32 33 Class java.lang.NumberFormatException
41 42 43 Class java.lang.IllegalArgumentException
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
version
public static org.apache.lucene.util.Version parseLeniently(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/util/Version;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
astore 1
start local 1 1: aload 0
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toUpperCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 0
2: aload 0
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-2056551545: 3
-1009464132: 4
default: 6
}
StackMap locals: java.lang.String java.lang.String
StackMap stack:
3: aload 2
ldc "LATEST"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 6
StackMap locals:
StackMap stack:
4: aload 2
ldc "LUCENE_CURRENT"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 6
5: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.Version.LATEST:Lorg/apache/lucene/util/Version;
areturn
6: StackMap locals:
StackMap stack:
aload 0
7: ldc "^LUCENE_(\\d+)_(\\d+)_(\\d+)$"
ldc "$1.$2.$3"
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
8: ldc "^LUCENE_(\\d+)_(\\d+)$"
ldc "$1.$2.0"
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
9: ldc "^LUCENE_(\\d)(\\d)$"
ldc "$1.$2.0"
invokevirtual java.lang.String.replaceFirst:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
10: astore 0
11: aload 0
invokestatic org.apache.lucene.util.Version.parse:(Ljava/lang/String;)Lorg/apache/lucene/util/Version;
12: areturn
13: StackMap locals:
StackMap stack: java.text.ParseException
astore 3
start local 3 14: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "failed to parse lenient version string \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.text.ParseException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
astore 4
start local 4 15: aload 4
aload 3
invokevirtual java.text.ParseException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
16: aload 4
athrow
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 version Ljava/lang/String;
1 17 1 versionOrig Ljava/lang/String;
14 17 3 pe Ljava/text/ParseException;
15 17 4 pe2 Ljava/text/ParseException;
Exception table:
from to target type
11 12 13 Class java.text.ParseException
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
version
public static org.apache.lucene.util.Version fromBits(int, int, int);
descriptor: (III)Lorg/apache/lucene/util/Version;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.util.Version
dup
iload 0
iload 1
iload 2
invokespecial org.apache.lucene.util.Version.<init>:(III)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 major I
0 1 1 minor I
0 1 2 bugfix I
MethodParameters:
Name Flags
major
minor
bugfix
private void <init>(int, int, int);
descriptor: (III)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
iconst_0
invokespecial org.apache.lucene.util.Version.<init>:(IIII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/Version;
0 2 1 major I
0 2 2 minor I
0 2 3 bugfix I
MethodParameters:
Name Flags
major
minor
bugfix
private void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.lucene.util.Version.major:I
2: aload 0
iload 2
putfield org.apache.lucene.util.Version.minor:I
3: aload 0
iload 3
putfield org.apache.lucene.util.Version.bugfix:I
4: aload 0
iload 4
putfield org.apache.lucene.util.Version.prerelease:I
5: iload 1
sipush 255
if_icmpgt 6
iload 1
ifge 7
6: StackMap locals: org.apache.lucene.util.Version int int int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal major version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 2
sipush 255
if_icmpgt 8
iload 2
ifge 9
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal minor version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iload 3
sipush 255
if_icmpgt 10
iload 3
ifge 11
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal bugfix version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
iload 4
iconst_2
if_icmpgt 12
iload 4
ifge 13
12: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal prerelease version: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iload 4
ifeq 15
iload 2
ifne 14
iload 3
ifeq 15
14: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Prerelease version only supported with major release (got prerelease: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", minor: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", bugfix: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
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
15: StackMap locals:
StackMap stack:
aload 0
iload 1
bipush 18
ishl
iload 2
bipush 10
ishl
ior
iload 3
iconst_2
ishl
ior
iload 4
ior
putfield org.apache.lucene.util.Version.encodedValue:I
16: getstatic org.apache.lucene.util.Version.$assertionsDisabled:Z
ifne 17
aload 0
invokevirtual org.apache.lucene.util.Version.encodedIsValid:()Z
ifne 17
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
17: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/lucene/util/Version;
0 18 1 major I
0 18 2 minor I
0 18 3 bugfix I
0 18 4 prerelease I
MethodParameters:
Name Flags
major
minor
bugfix
prerelease
public boolean onOrAfter(org.apache.lucene.util.Version);
descriptor: (Lorg/apache/lucene/util/Version;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.Version.encodedValue:I
aload 1
getfield org.apache.lucene.util.Version.encodedValue:I
if_icmplt 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/lucene/util/Version;
0 2 1 other Lorg/apache/lucene/util/Version;
MethodParameters:
Name Flags
other
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.Version.prerelease:I
ifne 2
1: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.apache.lucene.util.Version.major:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.util.Version.minor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.util.Version.bugfix:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield org.apache.lucene.util.Version.major:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.util.Version.minor:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.util.Version.bugfix:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield org.apache.lucene.util.Version.prerelease:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/Version;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)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 1
instanceof org.apache.lucene.util.Version
ifeq 1
aload 1
checkcast org.apache.lucene.util.Version
getfield org.apache.lucene.util.Version.encodedValue:I
aload 0
getfield org.apache.lucene.util.Version.encodedValue:I
if_icmpne 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/lucene/util/Version;
0 2 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
private boolean encodedIsValid();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.util.Version.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.util.Version.major:I
aload 0
getfield org.apache.lucene.util.Version.encodedValue:I
bipush 18
iushr
sipush 255
iand
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.Version.$assertionsDisabled:Z
ifne 2
aload 0
getfield org.apache.lucene.util.Version.minor:I
aload 0
getfield org.apache.lucene.util.Version.encodedValue:I
bipush 10
iushr
sipush 255
iand
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.Version.$assertionsDisabled:Z
ifne 3
aload 0
getfield org.apache.lucene.util.Version.bugfix:I
aload 0
getfield org.apache.lucene.util.Version.encodedValue:I
iconst_2
iushr
sipush 255
iand
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.Version.$assertionsDisabled:Z
ifne 4
aload 0
getfield org.apache.lucene.util.Version.prerelease:I
aload 0
getfield org.apache.lucene.util.Version.encodedValue:I
iconst_3
iand
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/lucene/util/Version;
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.apache.lucene.util.Version.encodedValue:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/Version;
}
SourceFile: "Version.java"