public class extends com.datastax.oss.driver.api.core.type.codec.MappingCodec<java.time.Instant, java.time.ZonedDateTime>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.datastax.oss.driver.internal.core.type.codec.extras.time.ZonedTimestampCodec
super_class: com.datastax.oss.driver.api.core.type.codec.MappingCodec
{
private final java.time.ZoneId ;
descriptor: Ljava/time/ZoneId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void ();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.time.ZoneId.systemDefault:()Ljava/time/ZoneId;
invokespecial com.datastax.oss.driver.internal.core.type.codec.extras.time.ZonedTimestampCodec.<init>:(Ljava/time/ZoneId;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/datastax/oss/driver/internal/core/type/codec/extras/time/ZonedTimestampCodec;
public void (java.time.ZoneId);
descriptor: (Ljava/time/ZoneId;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
1: new com.datastax.oss.driver.internal.core.type.codec.TimestampCodec
dup
aload 1
ldc "timeZone cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.time.ZoneId
invokespecial com.datastax.oss.driver.internal.core.type.codec.TimestampCodec.<init>:(Ljava/time/ZoneId;)V
2: getstatic com.datastax.oss.driver.api.core.type.reflect.GenericType.ZONED_DATE_TIME:Lcom/datastax/oss/driver/api/core/type/reflect/GenericType;
invokespecial com.datastax.oss.driver.api.core.type.codec.MappingCodec.<init>:(Lcom/datastax/oss/driver/api/core/type/codec/TypeCodec;Lcom/datastax/oss/driver/api/core/type/reflect/GenericType;)V
3: aload 0
aload 1
putfield com.datastax.oss.driver.internal.core.type.codec.extras.time.ZonedTimestampCodec.timeZone:Ljava/time/ZoneId;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/datastax/oss/driver/internal/core/type/codec/extras/time/ZonedTimestampCodec;
0 5 1 timeZone Ljava/time/ZoneId;
MethodParameters:
Name Flags
timeZone
public boolean (java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
instanceof java.time.ZonedDateTime
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/datastax/oss/driver/internal/core/type/codec/extras/time/ZonedTimestampCodec;
0 2 1 value Ljava/lang/Object;
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.NonNull()
MethodParameters:
Name Flags
value
protected java.time.ZonedDateTime (java.time.Instant);
descriptor: (Ljava/time/Instant;)Ljava/time/ZonedDateTime;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
aload 0
getfield com.datastax.oss.driver.internal.core.type.codec.extras.time.ZonedTimestampCodec.timeZone:Ljava/time/ZoneId;
invokevirtual java.time.Instant.atZone:(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;
StackMap locals:
StackMap stack: java.time.ZonedDateTime
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/datastax/oss/driver/internal/core/type/codec/extras/time/ZonedTimestampCodec;
0 3 1 value Ljava/time/Instant;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.Nullable()
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
value
protected java.time.Instant (java.time.ZonedDateTime);
descriptor: (Ljava/time/ZonedDateTime;)Ljava/time/Instant;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.time.ZonedDateTime.toInstant:()Ljava/time/Instant;
StackMap locals:
StackMap stack: java.time.Instant
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/datastax/oss/driver/internal/core/type/codec/extras/time/ZonedTimestampCodec;
0 3 1 value Ljava/time/ZonedDateTime;
RuntimeInvisibleAnnotations:
edu.umd.cs.findbugs.annotations.Nullable()
RuntimeInvisibleParameterAnnotations:
0:
edu.umd.cs.findbugs.annotations.Nullable()
MethodParameters:
Name Flags
value
protected java.lang.Object (java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.time.ZonedDateTime
invokevirtual com.datastax.oss.driver.internal.core.type.codec.extras.time.ZonedTimestampCodec.outerToInner:(Ljava/time/ZonedDateTime;)Ljava/time/Instant;
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object (java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.time.Instant
invokevirtual com.datastax.oss.driver.internal.core.type.codec.extras.time.ZonedTimestampCodec.innerToOuter:(Ljava/time/Instant;)Ljava/time/ZonedDateTime;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/datastax/oss/driver/api/core/type/codec/MappingCodec<Ljava/time/Instant;Ljava/time/ZonedDateTime;>;
SourceFile: "ZonedTimestampCodec.java"
RuntimeVisibleAnnotations:
net.jcip.annotations.ThreadSafe()