public class com.datastax.oss.protocol.internal.PrimitiveSizes
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.datastax.oss.protocol.internal.PrimitiveSizes
super_class: java.lang.Object
{
public static final int BYTE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int SHORT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int INT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int LONG;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int UUID;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/datastax/oss/protocol/internal/PrimitiveSizes;
public static int sizeOfString(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_2
aload 0
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.encodedUTF8Length:(Ljava/lang/String;)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 str Ljava/lang/String;
MethodParameters:
Name Flags
str
public static int sizeOfLongString(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_4
aload 0
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.encodedUTF8Length:(Ljava/lang/String;)I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
MethodParameters:
Name Flags
s
public static int sizeOfStringList(java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_2
istore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: java.util.List int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 3: iload 1
aload 2
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfString:(Ljava/lang/String;)I
iadd
istore 1
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 l Ljava/util/List<Ljava/lang/String;>;
1 6 1 size I
3 4 2 str Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;)I
MethodParameters:
Name Flags
l
public static int sizeOfBytes(byte[]);
descriptor: ([B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_4
aload 0
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack: int
1: aload 0
arraylength
StackMap locals: byte[]
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes [B
MethodParameters:
Name Flags
bytes
public static int sizeOfBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_4
aload 0
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack: int
1: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
StackMap locals: java.nio.ByteBuffer
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static int sizeOfShortBytes(byte[]);
descriptor: ([B)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_2
aload 0
arraylength
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bytes [B
MethodParameters:
Name Flags
bytes
public static int sizeOfShortBytes(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_2
aload 0
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack: int
1: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
StackMap locals: java.nio.ByteBuffer
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public static int sizeOfStringMap(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_2
istore 1
start local 1 1: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: java.util.Map int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: iload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfString:(Ljava/lang/String;)I
iadd
istore 1
4: iload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfString:(Ljava/lang/String;)I
iadd
istore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 m Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
1 7 1 size I
3 5 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)I
MethodParameters:
Name Flags
m
public static int sizeOfStringMultimap(java.util.Map<java.lang.String, java.util.List<java.lang.String>>);
descriptor: (Ljava/util/Map;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_2
istore 1
start local 1 1: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: java.util.Map int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: iload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfString:(Ljava/lang/String;)I
iadd
istore 1
4: iload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.List
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfStringList:(Ljava/util/List;)I
iadd
istore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 m Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
1 7 1 size I
3 5 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;>;)I
MethodParameters:
Name Flags
m
public static int sizeOfBytesMap(java.util.Map<java.lang.String, java.nio.ByteBuffer>);
descriptor: (Ljava/util/Map;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_2
istore 1
start local 1 1: aload 0
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: java.util.Map int top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 3: iload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfString:(Ljava/lang/String;)I
iadd
istore 1
4: iload 1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.nio.ByteBuffer
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfBytes:(Ljava/nio/ByteBuffer;)I
iadd
istore 1
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 m Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
1 7 1 size I
3 5 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/nio/ByteBuffer;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/nio/ByteBuffer;>;)I
MethodParameters:
Name Flags
m
static int encodedUTF8Length(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 24
3: StackMap locals: int int
StackMap stack:
aload 0
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 3
start local 3 4: iload 3
invokestatic java.lang.Character.isHighSurrogate:(C)Z
ifeq 13
5: iload 2
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpge 11
6: aload 0
iload 2
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 4
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 11
8: iinc 1 4
9: iinc 2 1
10: goto 23
end local 4 11: StackMap locals: int
StackMap stack:
iinc 1 1
12: goto 23
StackMap locals:
StackMap stack:
13: iload 3
invokestatic java.lang.Character.isLowSurrogate:(C)Z
ifeq 16
14: iinc 1 1
15: goto 23
16: StackMap locals:
StackMap stack:
iload 3
bipush 127
if_icmpgt 19
17: iinc 1 1
18: goto 23
StackMap locals:
StackMap stack:
19: iload 3
sipush 2047
if_icmpgt 22
20: iinc 1 2
21: goto 23
22: StackMap locals:
StackMap stack:
iinc 1 3
end local 3 23: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
24: iload 2
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 3
end local 2 25: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 st Ljava/lang/String;
1 26 1 length I
2 25 2 i I
4 23 3 c C
7 11 4 c1 C
MethodParameters:
Name Flags
st
public static int sizeOfInet(java.net.InetSocketAddress);
descriptor: (Ljava/net/InetSocketAddress;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokestatic com.datastax.oss.protocol.internal.PrimitiveSizes.sizeOfInetAddr:(Ljava/net/InetAddress;)I
iconst_4
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 address Ljava/net/InetSocketAddress;
MethodParameters:
Name Flags
address
public static int sizeOfInetAddr(java.net.InetAddress);
descriptor: (Ljava/net/InetAddress;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.net.InetAddress.getAddress:()[B
astore 1
start local 1 1: iconst_1
2: aload 1
arraylength
3: iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 address Ljava/net/InetAddress;
1 4 1 raw [B
MethodParameters:
Name Flags
address
}
SourceFile: "PrimitiveSizes.java"
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map