public class com.datastax.oss.driver.internal.core.util.RoutingKey
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.datastax.oss.driver.internal.core.util.RoutingKey
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/datastax/oss/driver/internal/core/util/RoutingKey;
public static java.nio.ByteBuffer compose(java.nio.ByteBuffer[]);
descriptor: ([Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=8, args_size=1
start local 0 0: aload 0
arraylength
iconst_1
if_icmpne 1
aload 0
iconst_0
aaload
areturn
1: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 2: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: java.nio.ByteBuffer[] int top int int java.nio.ByteBuffer[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: iload 1
iconst_2
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iadd
iconst_1
iadd
iadd
istore 1
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 3
7: iload 1
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 2
start local 2 8: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 15
StackMap locals: java.nio.ByteBuffer[] int java.nio.ByteBuffer top int int java.nio.ByteBuffer[]
StackMap stack:
9: aload 6
iload 4
aaload
astore 3
start local 3 10: aload 3
invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
astore 7
start local 7 11: aload 2
aload 7
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic com.datastax.oss.driver.internal.core.util.RoutingKey.putShortLength:(Ljava/nio/ByteBuffer;I)V
12: aload 2
aload 7
invokevirtual java.nio.ByteBuffer.put:(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
pop
13: aload 2
iconst_0
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
end local 7 end local 3 14: iinc 4 1
StackMap locals:
StackMap stack:
15: iload 4
iload 5
if_icmplt 9
16: aload 2
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
17: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 components [Ljava/nio/ByteBuffer;
2 18 1 totalLength I
4 5 2 bb Ljava/nio/ByteBuffer;
8 18 2 out Ljava/nio/ByteBuffer;
10 14 3 buffer Ljava/nio/ByteBuffer;
11 14 7 bb Ljava/nio/ByteBuffer;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.NonNull()
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.NonNull()
MethodParameters:
Name Flags
components
private static void putShortLength(java.nio.ByteBuffer, int);
descriptor: (Ljava/nio/ByteBuffer;I)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
bipush 8
ishr
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
1: aload 0
iload 1
sipush 255
iand
i2b
invokevirtual java.nio.ByteBuffer.put:(B)Ljava/nio/ByteBuffer;
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bb Ljava/nio/ByteBuffer;
0 3 1 length I
MethodParameters:
Name Flags
bb
length
}
SourceFile: "RoutingKey.java"