public abstract class org.apache.lucene.util.StringHelper
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.util.StringHelper
super_class: java.lang.Object
{
public static final int GOOD_FAST_HASH_SEED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static java.math.BigInteger nextId;
descriptor: Ljava/math/BigInteger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final java.math.BigInteger mask128;
descriptor: Ljava/math/BigInteger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object idLock;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final int ID_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
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=11, args_size=0
0: ldc Lorg/apache/lucene/util/StringHelper;
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.StringHelper.$assertionsDisabled:Z
3: ldc "tests.seed"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 0
start local 0 4: aload 0
ifnull 7
5: aload 0
invokevirtual java.lang.String.hashCode:()I
putstatic org.apache.lucene.util.StringHelper.GOOD_FAST_HASH_SEED:I
6: goto 8
7: StackMap locals: java.lang.String
StackMap stack:
invokestatic java.lang.System.currentTimeMillis:()J
l2i
putstatic org.apache.lucene.util.StringHelper.GOOD_FAST_HASH_SEED:I
end local 0 8: StackMap locals:
StackMap stack:
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic org.apache.lucene.util.StringHelper.idLock:Ljava/lang/Object;
9: bipush 16
newarray 8
astore 0
start local 0 10: aload 0
iconst_m1
invokestatic java.util.Arrays.fill:([BB)V
11: new java.math.BigInteger
dup
iconst_1
aload 0
invokespecial java.math.BigInteger.<init>:(I[B)V
putstatic org.apache.lucene.util.StringHelper.mask128:Ljava/math/BigInteger;
12: ldc "tests.seed"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 13: aload 1
ifnull 19
14: aload 1
invokevirtual java.lang.String.length:()I
bipush 8
if_icmple 16
15: aload 1
aload 1
invokevirtual java.lang.String.length:()I
bipush 8
isub
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
16: StackMap locals: byte[] java.lang.String
StackMap stack:
aload 1
bipush 16
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;I)J
lstore 2
start local 2 17: lload 2
lstore 4
start local 4 18: goto 43
end local 4 end local 2 19: StackMap locals:
StackMap stack:
aconst_null
astore 6
aconst_null
astore 7
20: new java.io.DataInputStream
dup
ldc "/dev/urandom"
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
iconst_0
anewarray java.nio.file.OpenOption
invokestatic java.nio.file.Files.newInputStream:(Ljava/nio/file/Path;[Ljava/nio/file/OpenOption;)Ljava/io/InputStream;
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
astore 8
start local 8 21: aload 8
invokevirtual java.io.DataInputStream.readLong:()J
lstore 2
start local 2 22: aload 8
invokevirtual java.io.DataInputStream.readLong:()J
lstore 4
start local 4 23: aload 8
ifnull 43
aload 8
invokevirtual java.io.DataInputStream.close:()V
goto 43
end local 4 end local 2 StackMap locals: byte[] java.lang.String top top top top java.lang.Throwable java.lang.Throwable java.io.DataInputStream
StackMap stack: java.lang.Throwable
24: astore 6
aload 8
ifnull 25
aload 8
invokevirtual java.io.DataInputStream.close:()V
end local 8 StackMap locals:
StackMap stack:
25: aload 6
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
26: astore 7
aload 6
ifnonnull 27
aload 7
astore 6
goto 28
StackMap locals:
StackMap stack:
27: aload 6
aload 7
if_acmpeq 28
aload 6
aload 7
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
28: aload 6
athrow
StackMap locals: byte[] java.lang.String
StackMap stack: java.lang.Exception
29: pop
30: invokestatic java.lang.System.nanoTime:()J
lstore 2
start local 2 31: ldc Lorg/apache/lucene/util/StringHelper;
invokevirtual java.lang.Object.hashCode:()I
bipush 32
ishl
i2l
lstore 4
start local 4 32: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 6
start local 6 33: invokestatic java.lang.System.getProperties:()Ljava/util/Properties;
astore 7
start local 7 34: aload 7
invokevirtual java.util.Properties.stringPropertyNames:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 38
StackMap locals: byte[] java.lang.String long long java.lang.StringBuilder java.util.Properties top java.util.Iterator
StackMap stack:
35: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 36: aload 6
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
37: aload 6
aload 7
aload 8
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 8 38: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 35
39: lload 4
aload 6
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
i2l
lor
lstore 4
end local 7 40: goto 43
StackMap locals: byte[] java.lang.String long long java.lang.StringBuilder
StackMap stack: java.lang.SecurityException
41: pop
42: lload 4
ldc Ljava/lang/StringBuffer;
invokevirtual java.lang.Object.hashCode:()I
i2l
lor
lstore 4
end local 6 43: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 44: goto 51
45: StackMap locals: int
StackMap stack:
lload 2
lstore 7
start local 7 46: lload 4
lstore 9
start local 9 47: lload 9
lstore 2
48: lload 7
lload 7
bipush 23
lshl
lxor
lstore 7
49: lload 7
lload 9
lxor
lload 7
bipush 17
lushr
lxor
lload 9
bipush 26
lushr
lxor
lstore 4
end local 9 end local 7 50: iinc 6 1
StackMap locals:
StackMap stack:
51: iload 6
bipush 10
if_icmplt 45
end local 6 52: bipush 8
newarray 8
astore 6
start local 6 53: aload 6
iconst_m1
invokestatic java.util.Arrays.fill:([BB)V
54: new java.math.BigInteger
dup
iconst_1
aload 6
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 7
start local 7 55: lload 2
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
aload 7
invokevirtual java.math.BigInteger.and:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 8
start local 8 56: lload 4
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
aload 7
invokevirtual java.math.BigInteger.and:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 9
start local 9 57: aload 8
bipush 64
invokevirtual java.math.BigInteger.shiftLeft:(I)Ljava/math/BigInteger;
aload 9
invokevirtual java.math.BigInteger.or:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
putstatic org.apache.lucene.util.StringHelper.nextId:Ljava/math/BigInteger;
end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 58: return
LocalVariableTable:
Start End Slot Name Signature
4 8 0 prop Ljava/lang/String;
10 58 0 maskBytes128 [B
13 58 1 prop Ljava/lang/String;
17 19 2 x0 J
22 24 2 x0 J
31 58 2 x0 J
18 19 4 x1 J
23 24 4 x1 J
32 58 4 x1 J
21 25 8 is Ljava/io/DataInputStream;
33 43 6 sb Ljava/lang/StringBuilder;
34 40 7 p Ljava/util/Properties;
36 38 8 s Ljava/lang/String;
44 52 6 i I
46 50 7 s1 J
47 50 9 s0 J
53 58 6 maskBytes64 [B
55 58 7 mask64 Ljava/math/BigInteger;
56 58 8 unsignedX0 Ljava/math/BigInteger;
57 58 9 unsignedX1 Ljava/math/BigInteger;
Exception table:
from to target type
21 23 24 any
20 26 26 any
19 29 29 Class java.lang.Exception
33 40 41 Class java.lang.SecurityException
public static int bytesDifference(org.apache.lucene.util.BytesRef, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/BytesRef;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
aload 0
getfield org.apache.lucene.util.BytesRef.length:I
iadd
1: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
2: invokestatic org.apache.lucene.util.FutureArrays.mismatch:([BII[BII)I
istore 2
start local 2 3: iload 2
ifge 5
4: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "terms out of order: priorTerm="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ",currentTerm="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 priorTerm Lorg/apache/lucene/util/BytesRef;
0 6 1 currentTerm Lorg/apache/lucene/util/BytesRef;
3 6 2 mismatch I
MethodParameters:
Name Flags
priorTerm
currentTerm
public static int sortKeyLength(org.apache.lucene.util.BytesRef, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/BytesRef;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.lucene.util.StringHelper.bytesDifference:(Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/BytesRef;)I
iconst_1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 priorTerm Lorg/apache/lucene/util/BytesRef;
0 1 1 currentTerm Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
priorTerm final
currentTerm final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/StringHelper;
public static boolean startsWith(byte[], org.apache.lucene.util.BytesRef);
descriptor: ([BLorg/apache/lucene/util/BytesRef;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
3: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
4: invokestatic org.apache.lucene.util.FutureArrays.equals:([BII[BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ref [B
0 5 1 prefix Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
ref
prefix
public static boolean startsWith(org.apache.lucene.util.BytesRef, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/BytesRef;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.BytesRef.length:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
if_icmpge 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
3: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
4: invokestatic org.apache.lucene.util.FutureArrays.equals:([BII[BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 ref Lorg/apache/lucene/util/BytesRef;
0 5 1 prefix Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
ref
prefix
public static boolean endsWith(org.apache.lucene.util.BytesRef, org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;Lorg/apache/lucene/util/BytesRef;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.BytesRef.length:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
isub
istore 2
start local 2 1: iload 2
ifge 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
iload 2
iadd
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
iload 2
iadd
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
4: aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
iadd
5: invokestatic org.apache.lucene.util.FutureArrays.equals:([BII[BII)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 ref Lorg/apache/lucene/util/BytesRef;
0 6 1 suffix Lorg/apache/lucene/util/BytesRef;
1 6 2 startAt I
MethodParameters:
Name Flags
ref
suffix
public static int murmurhash3_x86_32(byte[], int, int, int);
descriptor: ([BIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 3
istore 4
start local 4 1: iload 1
iload 2
bipush -4
iand
iadd
istore 5
start local 5 2: iload 1
istore 6
start local 6 3: goto 12
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 6
baload
sipush 255
iand
aload 0
iload 6
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ior
aload 0
iload 6
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
ior
aload 0
iload 6
iconst_3
iadd
baload
bipush 24
ishl
ior
istore 7
start local 7 5: iload 7
ldc -862048943
imul
istore 7
6: iload 7
bipush 15
invokestatic java.lang.Integer.rotateLeft:(II)I
istore 7
7: iload 7
ldc 461845907
imul
istore 7
8: iload 4
iload 7
ixor
istore 4
9: iload 4
bipush 13
invokestatic java.lang.Integer.rotateLeft:(II)I
istore 4
10: iload 4
iconst_5
imul
ldc -430675100
iadd
istore 4
end local 7 11: iinc 6 4
StackMap locals:
StackMap stack:
12: iload 6
iload 5
if_icmplt 4
end local 6 13: iconst_0
istore 6
start local 6 14: iload 2
iconst_3
iand
tableswitch { // 1 - 3
1: 17
2: 16
3: 15
default: 22
}
15: StackMap locals:
StackMap stack:
aload 0
iload 5
iconst_2
iadd
baload
sipush 255
iand
bipush 16
ishl
istore 6
16: StackMap locals:
StackMap stack:
iload 6
aload 0
iload 5
iconst_1
iadd
baload
sipush 255
iand
bipush 8
ishl
ior
istore 6
17: StackMap locals:
StackMap stack:
iload 6
aload 0
iload 5
baload
sipush 255
iand
ior
istore 6
18: iload 6
ldc -862048943
imul
istore 6
19: iload 6
bipush 15
invokestatic java.lang.Integer.rotateLeft:(II)I
istore 6
20: iload 6
ldc 461845907
imul
istore 6
21: iload 4
iload 6
ixor
istore 4
22: StackMap locals:
StackMap stack:
iload 4
23: iload 2
ixor
istore 4
24: iload 4
iload 4
bipush 16
iushr
ixor
istore 4
25: iload 4
ldc -2048144789
imul
istore 4
26: iload 4
iload 4
bipush 13
iushr
ixor
istore 4
27: iload 4
ldc -1028477387
imul
istore 4
28: iload 4
iload 4
bipush 16
iushr
ixor
istore 4
29: iload 4
ireturn
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 30 0 data [B
0 30 1 offset I
0 30 2 len I
0 30 3 seed I
1 30 4 h1 I
2 30 5 roundedEnd I
3 13 6 i I
5 11 7 k1 I
14 30 6 k1 I
MethodParameters:
Name Flags
data
offset
len
seed
public static int murmurhash3_x86_32(org.apache.lucene.util.BytesRef, int);
descriptor: (Lorg/apache/lucene/util/BytesRef;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRef.offset:I
aload 0
getfield org.apache.lucene.util.BytesRef.length:I
iload 1
invokestatic org.apache.lucene.util.StringHelper.murmurhash3_x86_32:([BIII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes Lorg/apache/lucene/util/BytesRef;
0 1 1 seed I
MethodParameters:
Name Flags
bytes
seed
public static byte[] randomId();
descriptor: ()[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=0
0: getstatic org.apache.lucene.util.StringHelper.idLock:Ljava/lang/Object;
dup
astore 1
monitorenter
1: getstatic org.apache.lucene.util.StringHelper.nextId:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 0
start local 0 2: getstatic org.apache.lucene.util.StringHelper.nextId:Ljava/math/BigInteger;
getstatic java.math.BigInteger.ONE:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.add:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
getstatic org.apache.lucene.util.StringHelper.mask128:Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.and:(Ljava/math/BigInteger;)Ljava/math/BigInteger;
putstatic org.apache.lucene.util.StringHelper.nextId:Ljava/math/BigInteger;
3: aload 1
monitorexit
4: goto 7
end local 0 StackMap locals: top java.lang.Object
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
start local 0 7: StackMap locals: byte[]
StackMap stack:
aload 0
arraylength
bipush 16
if_icmple 11
8: getstatic org.apache.lucene.util.StringHelper.$assertionsDisabled:Z
ifne 9
aload 0
arraylength
bipush 17
if_icmpeq 9
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
9: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.StringHelper.$assertionsDisabled:Z
ifne 10
aload 0
iconst_0
baload
ifeq 10
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
aload 0
arraylength
invokestatic org.apache.lucene.util.ArrayUtil.copyOfSubArray:([BII)[B
areturn
11: StackMap locals:
StackMap stack:
bipush 16
newarray 8
astore 1
start local 1 12: aload 0
iconst_0
aload 1
aload 1
arraylength
aload 0
arraylength
isub
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
13: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
2 5 0 bits [B
7 14 0 bits [B
12 14 1 result [B
Exception table:
from to target type
1 4 5 any
5 6 5 any
public static java.lang.String idToString(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: ldc "(null)"
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 1
new java.math.BigInteger
dup
iconst_1
aload 0
invokespecial java.math.BigInteger.<init>:(I[B)V
bipush 36
invokevirtual java.math.BigInteger.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
arraylength
bipush 16
if_icmpeq 6
5: aload 1
ldc " (INVALID FORMAT)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals: java.lang.StringBuilder
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 id [B
3 7 1 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
id
public static org.apache.lucene.util.BytesRef intsRefToBytesRef(org.apache.lucene.util.IntsRef);
descriptor: (Lorg/apache/lucene/util/IntsRef;)Lorg/apache/lucene/util/BytesRef;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.IntsRef.length:I
newarray 8
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 8
3: StackMap locals: byte[] int
StackMap stack:
aload 0
getfield org.apache.lucene.util.IntsRef.ints:[I
aload 0
getfield org.apache.lucene.util.IntsRef.offset:I
iload 2
iadd
iaload
istore 3
start local 3 4: iload 3
iflt 5
iload 3
sipush 255
if_icmple 6
5: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "int at pos="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " with value="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " is out-of-bounds for byte"
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
6: StackMap locals:
StackMap stack:
aload 1
iload 2
iload 3
i2b
bastore
end local 3 7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield org.apache.lucene.util.IntsRef.length:I
if_icmplt 3
end local 2 9: new org.apache.lucene.util.BytesRef
dup
aload 1
invokespecial org.apache.lucene.util.BytesRef.<init>:([B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 ints Lorg/apache/lucene/util/IntsRef;
1 10 1 bytes [B
2 9 2 i I
4 7 3 x I
MethodParameters:
Name Flags
ints
}
SourceFile: "StringHelper.java"