public class org.bson.codecs.FloatCodec implements org.bson.codecs.Codec<java.lang.Float>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.FloatCodec
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 Lorg/bson/codecs/FloatCodec;
public void encode(org.bson.BsonWriter, java.lang.Float, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Float;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual java.lang.Float.floatValue:()F
f2d
invokeinterface org.bson.BsonWriter.writeDouble:(D)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/FloatCodec;
0 2 1 writer Lorg/bson/BsonWriter;
0 2 2 value Ljava/lang/Float;
0 2 3 encoderContext Lorg/bson/codecs/EncoderContext;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Float decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Float;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.bson.codecs.NumberCodecHelper.decodeDouble:(Lorg/bson/BsonReader;)D
dstore 3
start local 3 1: dload 3
ldc -3.4028234663852886E38
dcmpg
iflt 2
dload 3
ldc 3.4028234663852886E38
dcmpl
ifle 3
2: StackMap locals: double
StackMap stack:
new org.bson.BsonInvalidOperationException
dup
ldc "%s can not be converted into a Float."
iconst_1
anewarray java.lang.Object
dup
iconst_0
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.BsonInvalidOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
dload 3
d2f
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/codecs/FloatCodec;
0 4 1 reader Lorg/bson/BsonReader;
0 4 2 decoderContext Lorg/bson/codecs/DecoderContext;
1 4 3 value D
MethodParameters:
Name Flags
reader final
decoderContext final
public java.lang.Class<java.lang.Float> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/Float;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/FloatCodec;
Signature: ()Ljava/lang/Class<Ljava/lang/Float;>;
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.FloatCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Float;
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.lang.Float
aload 3
invokevirtual org.bson.codecs.FloatCodec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Float;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/bson/codecs/Codec<Ljava/lang/Float;>;
SourceFile: "FloatCodec.java"