final class com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper
super_class: java.lang.Object
{
static <T extends com.mongodb.client.model.geojson.Geometry> T decodeGeometry(org.bson.BsonReader, java.lang.Class<T>);
descriptor: (Lorg/bson/BsonReader;Ljava/lang/Class;)Lcom/mongodb/client/model/geojson/Geometry;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/mongodb/client/model/geojson/Point;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePoint:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Point;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/MultiPoint;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiPoint:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiPoint;
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/Polygon;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePolygon:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Polygon;
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/MultiPolygon;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiPolygon:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiPolygon;
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/LineString;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
9: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeLineString:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/LineString;
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/MultiLineString;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
11: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiLineString:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiLineString;
areturn
12: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/GeometryCollection;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 14
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeGeometryCollection:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/GeometryCollection;
areturn
14: StackMap locals:
StackMap stack:
aload 1
ldc Lcom/mongodb/client/model/geojson/Geometry;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 16
15: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeGeometry:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Geometry;
areturn
16: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unsupported Geometry: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 reader Lorg/bson/BsonReader;
0 17 1 clazz Ljava/lang/Class<TT;>;
Signature: <T:Lcom/mongodb/client/model/geojson/Geometry;>(Lorg/bson/BsonReader;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
reader final
clazz final
private static com.mongodb.client.model.geojson.Point decodePoint(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Point;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String com.mongodb.client.model.geojson.Position com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "coordinates"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePosition:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Position;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON point"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Point, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "Point"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Point, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Point, missing position coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.Point
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.Point.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Lcom/mongodb/client/model/geojson/Position;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.Point
dup
aload 2
invokespecial com.mongodb.client.model.geojson.Point.<init>:(Lcom/mongodb/client/model/geojson/Position;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.Point
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 position Lcom/mongodb/client/model/geojson/Position;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.MultiPoint decodeMultiPoint(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiPoint;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String java.util.List com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "coordinates"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinates:(Lorg/bson/BsonReader;)Ljava/util/List;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON point"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPoint, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "MultiPoint"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPoint, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPoint, missing position coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.MultiPoint
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.MultiPoint.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Ljava/util/List;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.MultiPoint
dup
aload 2
invokespecial com.mongodb.client.model.geojson.MultiPoint.<init>:(Ljava/util/List;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.MultiPoint
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 coordinates Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.Polygon decodePolygon(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Polygon;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String com.mongodb.client.model.geojson.PolygonCoordinates com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "coordinates"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePolygonCoordinates:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/PolygonCoordinates;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON Polygon"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Polygon, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "Polygon"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Polygon, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Polygon, missing coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.Polygon
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.Polygon.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.Polygon
dup
aload 2
invokespecial com.mongodb.client.model.geojson.Polygon.<init>:(Lcom/mongodb/client/model/geojson/PolygonCoordinates;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.Polygon
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 coordinates Lcom/mongodb/client/model/geojson/PolygonCoordinates;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.MultiPolygon decodeMultiPolygon(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiPolygon;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String java.util.List com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "coordinates"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiPolygonCoordinates:(Lorg/bson/BsonReader;)Ljava/util/List;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON Polygon"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPolygon, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "MultiPolygon"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPolygon, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPolygon, missing coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.MultiPolygon
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.MultiPolygon.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Ljava/util/List;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.MultiPolygon
dup
aload 2
invokespecial com.mongodb.client.model.geojson.MultiPolygon.<init>:(Ljava/util/List;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.MultiPolygon
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 coordinates Ljava/util/List<Lcom/mongodb/client/model/geojson/PolygonCoordinates;>;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.LineString decodeLineString(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/LineString;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String java.util.List com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "coordinates"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinates:(Lorg/bson/BsonReader;)Ljava/util/List;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON Polygon"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid LineString, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "LineString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid LineString, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid LineString, missing coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.LineString
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.LineString.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Ljava/util/List;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.LineString
dup
aload 2
invokespecial com.mongodb.client.model.geojson.LineString.<init>:(Ljava/util/List;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.LineString
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 coordinates Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.MultiLineString decodeMultiLineString(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiLineString;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String java.util.List com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "coordinates"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiCoordinates:(Lorg/bson/BsonReader;)Ljava/util/List;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON Polygon"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiLineString, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "MultiLineString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiLineString, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiLineString, missing coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.MultiLineString
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.MultiLineString.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Ljava/util/List;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.MultiLineString
dup
aload 2
invokespecial com.mongodb.client.model.geojson.MultiLineString.<init>:(Ljava/util/List;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.MultiLineString
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 coordinates Ljava/util/List<Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;>;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.GeometryCollection decodeGeometryCollection(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/GeometryCollection;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aconst_null
astore 3
start local 3 3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 16
5: StackMap locals: java.lang.String java.util.List com.mongodb.client.model.geojson.CoordinateReferenceSystem
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 4
start local 4 6: aload 4
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 16
StackMap locals: java.lang.String
StackMap stack:
9: aload 4
ldc "geometries"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeGeometries:(Lorg/bson/BsonReader;)Ljava/util/List;
astore 2
11: goto 16
StackMap locals:
StackMap stack:
12: aload 4
ldc "crs"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystem:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
astore 3
14: goto 16
15: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unexpected key '%s' found when decoding a GeoJSON Polygon"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
17: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
18: aload 1
ifnonnull 20
19: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid GeometryCollection, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals:
StackMap stack:
aload 1
ldc "GeometryCollection"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 22
21: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid GeometryCollection, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
22: StackMap locals:
StackMap stack:
aload 2
ifnonnull 24
23: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid GeometryCollection, missing geometries."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
24: StackMap locals:
StackMap stack:
aload 3
ifnull 25
new com.mongodb.client.model.geojson.GeometryCollection
dup
aload 3
aload 2
invokespecial com.mongodb.client.model.geojson.GeometryCollection.<init>:(Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;Ljava/util/List;)V
goto 26
StackMap locals:
StackMap stack:
25: new com.mongodb.client.model.geojson.GeometryCollection
dup
aload 2
invokespecial com.mongodb.client.model.geojson.GeometryCollection.<init>:(Ljava/util/List;)V
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.GeometryCollection
26: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 reader Lorg/bson/BsonReader;
1 27 1 type Ljava/lang/String;
2 27 2 geometries Ljava/util/List<+Lcom/mongodb/client/model/geojson/Geometry;>;
3 27 3 crs Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
6 16 4 key Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static java.util.List<? extends com.mongodb.client.model.geojson.Geometry> decodeGeometries(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsArray:(Lorg/bson/BsonReader;)V
1: aload 0
invokeinterface org.bson.BsonReader.readStartArray:()V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: goto 6
4: StackMap locals: java.util.List
StackMap stack:
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeGeometry:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Geometry;
astore 2
start local 2 5: aload 1
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 6: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
7: aload 0
invokeinterface org.bson.BsonReader.readEndArray:()V
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 reader Lorg/bson/BsonReader;
3 9 1 values Ljava/util/List<Lcom/mongodb/client/model/geojson/Geometry;>;
5 6 2 geometry Lcom/mongodb/client/model/geojson/Geometry;
Signature: (Lorg/bson/BsonReader;)Ljava/util/List<+Lcom/mongodb/client/model/geojson/Geometry;>;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.Geometry decodeGeometry(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Geometry;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface org.bson.BsonReader.getMark:()Lorg/bson/BsonReaderMark;
astore 2
start local 2 2: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsDocument:(Lorg/bson/BsonReader;)V
3: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
4: goto 10
5: StackMap locals: java.lang.String org.bson.BsonReaderMark
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 3
start local 3 6: aload 3
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
8: goto 11
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.skipValue:()V
end local 3 10: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 5
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.bson.BsonReaderMark.reset:()V
12: aload 1
ifnonnull 14
13: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Geometry item, document contained no type information."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 15: aload 1
ldc "Point"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
16: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePoint:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Point;
astore 3
17: goto 37
StackMap locals: com.mongodb.client.model.geojson.Geometry
StackMap stack:
18: aload 1
ldc "MultiPoint"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 21
19: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiPoint:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiPoint;
astore 3
20: goto 37
StackMap locals:
StackMap stack:
21: aload 1
ldc "Polygon"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 24
22: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePolygon:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Polygon;
astore 3
23: goto 37
StackMap locals:
StackMap stack:
24: aload 1
ldc "MultiPolygon"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
25: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiPolygon:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiPolygon;
astore 3
26: goto 37
StackMap locals:
StackMap stack:
27: aload 1
ldc "LineString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
28: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeLineString:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/LineString;
astore 3
29: goto 37
StackMap locals:
StackMap stack:
30: aload 1
ldc "MultiLineString"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
31: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeMultiLineString:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/MultiLineString;
astore 3
32: goto 37
StackMap locals:
StackMap stack:
33: aload 1
ldc "GeometryCollection"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 36
34: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeGeometryCollection:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/GeometryCollection;
astore 3
35: goto 37
36: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Geometry item, found type '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals:
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 reader Lorg/bson/BsonReader;
1 38 1 type Ljava/lang/String;
2 38 2 mark Lorg/bson/BsonReaderMark;
6 10 3 key Ljava/lang/String;
15 38 3 geometry Lcom/mongodb/client/model/geojson/Geometry;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.PolygonCoordinates decodePolygonCoordinates(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/PolygonCoordinates;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=5, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsArray:(Lorg/bson/BsonReader;)V
1: aload 0
invokeinterface org.bson.BsonReader.readStartArray:()V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinates:(Lorg/bson/BsonReader;)Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
6: aload 0
invokeinterface org.bson.BsonReader.readEndArray:()V
7: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 9
8: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Polygon no coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 10: aload 1
aload 1
invokeinterface java.util.List.size:()I
anewarray java.util.ArrayList
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.util.ArrayList[]
astore 3
start local 3 11: new com.mongodb.client.model.geojson.PolygonCoordinates
dup
aload 2
aload 3
invokespecial com.mongodb.client.model.geojson.PolygonCoordinates.<init>:(Ljava/util/List;[Ljava/util/List;)V
12: areturn
13: StackMap locals: org.bson.BsonReader java.util.List java.util.List java.util.ArrayList[]
StackMap stack: java.lang.IllegalArgumentException
astore 4
start local 4 14: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Polygon: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 reader Lorg/bson/BsonReader;
3 15 1 values Ljava/util/List<Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;>;
10 15 2 exterior Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
11 15 3 holes [Ljava/util/ArrayList;
14 15 4 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
11 12 13 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
reader final
private static java.util.List<com.mongodb.client.model.geojson.PolygonCoordinates> decodeMultiPolygonCoordinates(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsArray:(Lorg/bson/BsonReader;)V
1: aload 0
invokeinterface org.bson.BsonReader.readStartArray:()V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePolygonCoordinates:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/PolygonCoordinates;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
6: aload 0
invokeinterface org.bson.BsonReader.readEndArray:()V
7: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifeq 9
8: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid MultiPolygon no coordinates."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 reader Lorg/bson/BsonReader;
3 10 1 values Ljava/util/List<Lcom/mongodb/client/model/geojson/PolygonCoordinates;>;
Signature: (Lorg/bson/BsonReader;)Ljava/util/List<Lcom/mongodb/client/model/geojson/PolygonCoordinates;>;
MethodParameters:
Name Flags
reader final
private static java.util.List<com.mongodb.client.model.geojson.Position> decodeCoordinates(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsArray:(Lorg/bson/BsonReader;)V
1: aload 0
invokeinterface org.bson.BsonReader.readStartArray:()V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodePosition:(Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Position;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
6: aload 0
invokeinterface org.bson.BsonReader.readEndArray:()V
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 reader Lorg/bson/BsonReader;
3 8 1 values Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
Signature: (Lorg/bson/BsonReader;)Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;
MethodParameters:
Name Flags
reader final
private static java.util.List<java.util.List<com.mongodb.client.model.geojson.Position>> decodeMultiCoordinates(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsArray:(Lorg/bson/BsonReader;)V
1: aload 0
invokeinterface org.bson.BsonReader.readStartArray:()V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinates:(Lorg/bson/BsonReader;)Ljava/util/List;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
6: aload 0
invokeinterface org.bson.BsonReader.readEndArray:()V
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 reader Lorg/bson/BsonReader;
3 8 1 values Ljava/util/List<Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;>;
Signature: (Lorg/bson/BsonReader;)Ljava/util/List<Ljava/util/List<Lcom/mongodb/client/model/geojson/Position;>;>;
MethodParameters:
Name Flags
reader final
private static com.mongodb.client.model.geojson.Position decodePosition(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/Position;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsArray:(Lorg/bson/BsonReader;)V
1: aload 0
invokeinterface org.bson.BsonReader.readStartArray:()V
2: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 3: goto 5
4: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.readAsDouble:(Lorg/bson/BsonReader;)D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
6: aload 0
invokeinterface org.bson.BsonReader.readEndArray:()V
7: new com.mongodb.client.model.geojson.Position
dup
aload 1
invokespecial com.mongodb.client.model.geojson.Position.<init>:(Ljava/util/List;)V
8: areturn
9: StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
astore 2
start local 2 10: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid Position: %s"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
invokevirtual java.lang.IllegalArgumentException.getMessage:()Ljava/lang/String;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 reader Lorg/bson/BsonReader;
3 11 1 values Ljava/util/List<Ljava/lang/Double;>;
10 11 2 e Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
7 8 9 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
reader final
private static double readAsDouble(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.DOUBLE:Lorg/bson/BsonType;
if_acmpne 2
1: aload 0
invokeinterface org.bson.BsonReader.readDouble:()D
dreturn
2: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.INT32:Lorg/bson/BsonType;
if_acmpne 4
3: aload 0
invokeinterface org.bson.BsonReader.readInt32:()I
i2d
dreturn
4: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.INT64:Lorg/bson/BsonType;
if_acmpne 6
5: aload 0
invokeinterface org.bson.BsonReader.readInt64:()J
l2d
dreturn
6: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
new java.lang.StringBuilder
dup
ldc "A GeoJSON position value must be a numerical type, but the value is of type "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 0
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 reader Lorg/bson/BsonReader;
MethodParameters:
Name Flags
reader final
static com.mongodb.client.model.geojson.CoordinateReferenceSystem decodeCoordinateReferenceSystem(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Lcom/mongodb/client/model/geojson/CoordinateReferenceSystem;
flags: (0x0008) ACC_STATIC
Code:
stack=7, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsDocument:(Lorg/bson/BsonReader;)V
2: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
3: goto 13
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "type"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 3
start local 3 7: aload 3
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
8: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Unsupported CoordinateReferenceSystem '%s'."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 3 9: StackMap locals: java.lang.String
StackMap stack:
aload 2
ldc "properties"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.decodeCoordinateReferenceSystemProperties:(Lorg/bson/BsonReader;)Ljava/lang/String;
astore 1
11: goto 13
12: StackMap locals:
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Found invalid key '%s' in the CoordinateReferenceSystem."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 13: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
14: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
15: aload 1
ifnull 16
new com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
dup
aload 1
invokespecial com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem.<init>:(Ljava/lang/String;)V
goto 17
StackMap locals:
StackMap stack:
16: aconst_null
StackMap locals:
StackMap stack: com.mongodb.client.model.geojson.NamedCoordinateReferenceSystem
17: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 reader Lorg/bson/BsonReader;
1 18 1 crsName Ljava/lang/String;
5 13 2 name Ljava/lang/String;
7 9 3 type Ljava/lang/String;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
reader final
private static java.lang.String decodeCoordinateReferenceSystemProperties(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokestatic com.mongodb.client.model.geojson.codecs.GeometryDecoderHelper.validateIsDocument:(Lorg/bson/BsonReader;)V
2: aload 0
invokeinterface org.bson.BsonReader.readStartDocument:()V
3: goto 9
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readName:()Ljava/lang/String;
astore 2
start local 2 5: aload 2
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
6: aload 0
invokeinterface org.bson.BsonReader.readString:()Ljava/lang/String;
astore 1
7: goto 9
8: StackMap locals: java.lang.String
StackMap stack:
new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Found invalid key '%s' in the CoordinateReferenceSystem."
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.END_OF_DOCUMENT:Lorg/bson/BsonType;
if_acmpne 4
10: aload 0
invokeinterface org.bson.BsonReader.readEndDocument:()V
11: aload 1
ifnonnull 13
12: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Found invalid properties in the CoordinateReferenceSystem."
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 reader Lorg/bson/BsonReader;
1 14 1 crsName Ljava/lang/String;
5 9 2 name Ljava/lang/String;
MethodParameters:
Name Flags
reader final
private static void validateIsDocument(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokeinterface org.bson.BsonReader.readBsonType:()Lorg/bson/BsonType;
astore 1
3: StackMap locals: org.bson.BsonType
StackMap stack:
aload 1
getstatic org.bson.BsonType.DOCUMENT:Lorg/bson/BsonType;
invokevirtual org.bson.BsonType.equals:(Ljava/lang/Object;)Z
ifne 5
4: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid BsonType expecting a Document"
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 reader Lorg/bson/BsonReader;
1 6 1 currentType Lorg/bson/BsonType;
MethodParameters:
Name Flags
reader final
private static void validateIsArray(org.bson.BsonReader);
descriptor: (Lorg/bson/BsonReader;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface org.bson.BsonReader.getCurrentBsonType:()Lorg/bson/BsonType;
getstatic org.bson.BsonType.ARRAY:Lorg/bson/BsonType;
if_acmpeq 2
1: new org.bson.codecs.configuration.CodecConfigurationException
dup
ldc "Invalid BsonType expecting an Array"
invokespecial org.bson.codecs.configuration.CodecConfigurationException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 reader Lorg/bson/BsonReader;
MethodParameters:
Name Flags
reader final
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/client/model/geojson/codecs/GeometryDecoderHelper;
}
SourceFile: "GeometryDecoderHelper.java"