abstract class com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec<T extends com.mongodb.client.model.geojson.Geometry> implements org.bson.codecs.Codec<T>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec
super_class: java.lang.Object
{
private final org.bson.codecs.configuration.CodecRegistry registry;
descriptor: Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<T> encoderClass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<TT;>;
void <init>(org.bson.codecs.configuration.CodecRegistry, java.lang.Class<T>);
descriptor: (Lorg/bson/codecs/configuration/CodecRegistry;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.registry:Lorg/bson/codecs/configuration/CodecRegistry;
2: aload 0
aload 2
putfield com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.encoderClass:Ljava/lang/Class;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/client/model/geojson/codecs/AbstractGeometryCodec<TT;>;
0 4 1 registry Lorg/bson/codecs/configuration/CodecRegistry;
0 4 2 encoderClass Ljava/lang/Class<TT;>;
Signature: (Lorg/bson/codecs/configuration/CodecRegistry;Ljava/lang/Class<TT;>;)V
MethodParameters:
Name Flags
registry final
encoderClass final
public void encode(org.bson.BsonWriter, T, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;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
aload 3
aload 0
getfield com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.registry:Lorg/bson/codecs/configuration/CodecRegistry;
invokestatic com.mongodb.client.model.geojson.codecs.GeometryEncoderHelper.encodeGeometry:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;Lorg/bson/codecs/EncoderContext;Lorg/bson/codecs/configuration/CodecRegistry;)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 Lcom/mongodb/client/model/geojson/codecs/AbstractGeometryCodec<TT;>;
0 2 1 writer Lorg/bson/BsonWriter;
0 2 2 value TT;
0 2 3 encoderContext Lorg/bson/codecs/EncoderContext;
Signature: (Lorg/bson/BsonWriter;TT;Lorg/bson/codecs/EncoderContext;)V
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public T decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lcom/mongodb/client/model/geojson/Geometry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.getEncoderClass:()Ljava/lang/Class;
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeGeometry:(Lorg/bson/BsonReader;Ljava/lang/Class;)Lcom/mongodb/client/model/geojson/Geometry;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/codecs/AbstractGeometryCodec<TT;>;
0 1 1 reader Lorg/bson/BsonReader;
0 1 2 decoderContext Lorg/bson/codecs/DecoderContext;
Signature: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)TT;
MethodParameters:
Name Flags
reader final
decoderContext final
public java.lang.Class<T> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.encoderClass:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/codecs/AbstractGeometryCodec<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
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 com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Lcom/mongodb/client/model/geojson/Geometry;
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 com.mongodb.client.model.geojson.Geometry
aload 3
invokevirtual com.mongodb.client.model.geojson.codecs.AbstractGeometryCodec.encode:(Lorg/bson/BsonWriter;Lcom/mongodb/client/model/geojson/Geometry;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Lcom/mongodb/client/model/geojson/Geometry;>Ljava/lang/Object;Lorg/bson/codecs/Codec<TT;>;
SourceFile: "AbstractGeometryCodec.java"