public class org.apache.cassandra.serializers.UUIDSerializer implements org.apache.cassandra.serializers.TypeSerializer<java.util.UUID>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.cassandra.serializers.UUIDSerializer
super_class: java.lang.Object
{
public static final org.apache.cassandra.serializers.UUIDSerializer instance;
descriptor: Lorg/apache/cassandra/serializers/UUIDSerializer;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.cassandra.serializers.UUIDSerializer
dup
invokespecial org.apache.cassandra.serializers.UUIDSerializer.<init>:()V
putstatic org.apache.cassandra.serializers.UUIDSerializer.instance:Lorg/apache/cassandra/serializers/UUIDSerializer;
return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/apache/cassandra/serializers/UUIDSerializer;
public java.util.UUID deserialize(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/util/UUID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifne 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokestatic org.apache.cassandra.utils.UUIDGen.getUUID:(Ljava/nio/ByteBuffer;)Ljava/util/UUID;
StackMap locals:
StackMap stack: java.util.UUID
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/serializers/UUIDSerializer;
0 3 1 bytes Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
bytes
public java.nio.ByteBuffer serialize(java.util.UUID);
descriptor: (Ljava/util/UUID;)Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
getstatic org.apache.cassandra.utils.ByteBufferUtil.EMPTY_BYTE_BUFFER:Ljava/nio/ByteBuffer;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokestatic org.apache.cassandra.utils.UUIDGen.toByteBuffer:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
StackMap locals:
StackMap stack: java.nio.ByteBuffer
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/serializers/UUIDSerializer;
0 3 1 value Ljava/util/UUID;
MethodParameters:
Name Flags
value
public void validate(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
bipush 16
if_icmpeq 2
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
ifeq 2
1: new org.apache.cassandra.serializers.MarshalException
dup
ldc "UUID should be 16 or 0 bytes (%d)"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.serializers.MarshalException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/serializers/UUIDSerializer;
0 3 1 bytes Ljava/nio/ByteBuffer;
Exceptions:
throws org.apache.cassandra.serializers.MarshalException
MethodParameters:
Name Flags
bytes
public java.lang.String toString(java.util.UUID);
descriptor: (Ljava/util/UUID;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
ldc ""
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.util.UUID.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/cassandra/serializers/UUIDSerializer;
0 3 1 value Ljava/util/UUID;
MethodParameters:
Name Flags
value
public java.lang.Class<java.util.UUID> getType();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/util/UUID;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/serializers/UUIDSerializer;
Signature: ()Ljava/lang/Class<Ljava/util/UUID;>;
public java.lang.String toString(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.UUID
invokevirtual org.apache.cassandra.serializers.UUIDSerializer.toString:(Ljava/util/UUID;)Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.nio.ByteBuffer serialize(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/nio/ByteBuffer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.UUID
invokevirtual org.apache.cassandra.serializers.UUIDSerializer.serialize:(Ljava/util/UUID;)Ljava/nio/ByteBuffer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object deserialize(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual org.apache.cassandra.serializers.UUIDSerializer.deserialize:(Ljava/nio/ByteBuffer;)Ljava/util/UUID;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/cassandra/serializers/TypeSerializer<Ljava/util/UUID;>;
SourceFile: "UUIDSerializer.java"