public class org.bson.codecs.jsr310.LocalTimeCodec extends org.bson.codecs.jsr310.DateTimeBasedCodec<java.time.LocalTime>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.jsr310.LocalTimeCodec
super_class: org.bson.codecs.jsr310.DateTimeBasedCodec
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.bson.codecs.jsr310.DateTimeBasedCodec.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/jsr310/LocalTimeCodec;
public java.time.LocalTime decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/time/LocalTime;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokevirtual org.bson.codecs.jsr310.LocalTimeCodec.validateAndReadDateTime:(Lorg/bson/BsonReader;)J
invokestatic java.time.Instant.ofEpochMilli:(J)Ljava/time/Instant;
getstatic java.time.ZoneOffset.UTC:Ljava/time/ZoneOffset;
invokevirtual java.time.Instant.atOffset:(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;
invokevirtual java.time.OffsetDateTime.toLocalTime:()Ljava/time/LocalTime;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/jsr310/LocalTimeCodec;
0 1 1 reader Lorg/bson/BsonReader;
0 1 2 decoderContext Lorg/bson/codecs/DecoderContext;
MethodParameters:
Name Flags
reader final
decoderContext final
public void encode(org.bson.BsonWriter, java.time.LocalTime, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/time/LocalTime;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
lconst_0
invokestatic java.time.LocalDate.ofEpochDay:(J)Ljava/time/LocalDate;
invokevirtual java.time.LocalTime.atDate:(Ljava/time/LocalDate;)Ljava/time/LocalDateTime;
getstatic java.time.ZoneOffset.UTC:Ljava/time/ZoneOffset;
invokevirtual java.time.LocalDateTime.toInstant:(Ljava/time/ZoneOffset;)Ljava/time/Instant;
invokevirtual java.time.Instant.toEpochMilli:()J
invokeinterface org.bson.BsonWriter.writeDateTime:(J)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/jsr310/LocalTimeCodec;
0 2 1 writer Lorg/bson/BsonWriter;
0 2 2 value Ljava/time/LocalTime;
0 2 3 encoderContext Lorg/bson/codecs/EncoderContext;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Class<java.time.LocalTime> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/time/LocalTime;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/jsr310/LocalTimeCodec;
Signature: ()Ljava/lang/Class<Ljava/time/LocalTime;>;
public java.lang.Object decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.bson.codecs.jsr310.LocalTimeCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/time/LocalTime;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void encode(org.bson.BsonWriter, java.lang.Object, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast java.time.LocalTime
aload 3
invokevirtual org.bson.codecs.jsr310.LocalTimeCodec.encode:(Lorg/bson/BsonWriter;Ljava/time/LocalTime;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lorg/bson/codecs/jsr310/DateTimeBasedCodec<Ljava/time/LocalTime;>;
SourceFile: "LocalTimeCodec.java"