public abstract class com.mongodb.client.model.geojson.Geometry
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.mongodb.client.model.geojson.Geometry
super_class: java.lang.Object
{
private static final org.bson.codecs.configuration.CodecRegistry REGISTRY;
descriptor: Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.mongodb.client.model.geojson.CoordinateReferenceSystem coordinateReferenceSystem;
descriptor: Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: iconst_1
anewarray org.bson.codecs.configuration.CodecProvider
dup
iconst_0
new com.mongodb.client.model.geojson.codecs.GeoJsonCodecProvider
dup
invokespecial com.mongodb.client.model.geojson.codecs.GeoJsonCodecProvider.<init>:()V
aastore
invokestatic org.bson.codecs.configuration.CodecRegistries.fromProviders:([Lorg/bson/codecs/configuration/CodecProvider;)Lorg/bson/codecs/configuration/CodecRegistry;
putstatic com.mongodb.client.model.geojson.Geometry.REGISTRY:Lorg/bson/codecs/configuration/CodecRegistry;
return
LocalVariableTable:
Start End Slot Name Signature
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial com.mongodb.client.model.geojson.Geometry.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/Geometry;
protected void <init>(com.mongodb.client.model.geojson.CoordinateReferenceSystem);
descriptor: (Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/geojson/Geometry;
0 3 1 coordinateReferenceSystem Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
RuntimeVisibleParameterAnnotations:
0:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
coordinateReferenceSystem final
public abstract com.mongodb.client.model.geojson.GeoJsonObjectType getType();
descriptor: ()Lcom/mongodb/client/model/geojson/GeoJsonObjectType;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public java.lang.String toJson();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: new org.bson.json.JsonWriter
dup
aload 1
new org.bson.json.JsonWriterSettings
dup
invokespecial org.bson.json.JsonWriterSettings.<init>:()V
invokespecial org.bson.json.JsonWriter.<init>:(Ljava/io/Writer;Lorg/bson/json/JsonWriterSettings;)V
astore 2
start local 2 2: invokestatic com.mongodb.client.model.geojson.Geometry.getRegistry:()Lorg/bson/codecs/configuration/CodecRegistry;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface org.bson.codecs.configuration.CodecRegistry.get:(Ljava/lang/Class;)Lorg/bson/codecs/Codec;
astore 3
start local 3 3: aload 3
aload 2
aload 0
invokestatic org.bson.codecs.EncoderContext.builder:()Lorg/bson/codecs/EncoderContext$Builder;
invokevirtual org.bson.codecs.EncoderContext$Builder.build:()Lorg/bson/codecs/EncoderContext;
invokeinterface org.bson.codecs.Codec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
4: aload 1
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/model/geojson/Geometry;
1 5 1 stringWriter Ljava/io/StringWriter;
2 5 2 writer Lorg/bson/json/JsonWriter;
3 5 3 codec Lorg/bson/codecs/Codec;
static org.bson.codecs.configuration.CodecRegistry getRegistry();
descriptor: ()Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.mongodb.client.model.geojson.Geometry.REGISTRY:Lorg/bson/codecs/configuration/CodecRegistry;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.mongodb.client.model.geojson.CoordinateReferenceSystem getCoordinateReferenceSystem();
descriptor: ()Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/model/geojson/Geometry;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.client.model.geojson.Geometry
astore 2
start local 2 5: aload 0
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
ifnull 6
aload 0
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
aload 2
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 8
goto 7
6: StackMap locals: com.mongodb.client.model.geojson.Geometry
StackMap stack:
aload 2
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
ifnull 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/client/model/geojson/Geometry;
0 9 1 o Ljava/lang/Object;
5 9 2 geometry Lcom/mongodb/client/model/geojson/Geometry;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
ifnull 1
aload 0
getfield com.mongodb.client.model.geojson.Geometry.coordinateReferenceSystem:Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
invokevirtual java.lang.Object.hashCode:()I
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/model/geojson/Geometry;
}
SourceFile: "Geometry.java"
InnerClasses:
public final Builder = org.bson.codecs.EncoderContext$Builder of org.bson.codecs.EncoderContext